modulesync icon indicating copy to clipboard operation
modulesync copied to clipboard

Using --offline --noop should support, non git module layout

Open choffee opened this issue 8 years ago • 1 comments

We keep our code in one big repo so would like to use modulesync within that repo.

I tried using msync update --noop --offline but it seems to want to do some git updates and fails with

/data/puppet/modules/mymodule/.git: path does not exist (ArgumentError)

/data/puppet being the root of our git repo and we have a bunch of modules in /data/puppet/modules that we want to keep in sync within that one repo.

It would be good if the combination if --noop --offline or a new option of --no-git could be added to support just skipping all the git stuff and letting us handle the commit.

choffee avatar Jan 04 '17 14:01 choffee

Turns out running it with just --offline and not --noop works as expected. Maybe those flags should clash?

choffee avatar Jan 04 '17 14:01 choffee