Open natiki opened 4 years ago
What is the delimited repository
repo1.repo2
in the example command line intended to denote? Doesn't the manifest file specify a flat list of repos (even if the destination locations happen to be nested)? Is the "." just supposed to be an OS-neutral path separator or are you indeed trying to capture some form of nesting?
Hi Matt,
tsrc sync repo1[.repo2, repo3]
was a typo and was mean to be tsrc sync repo1[**,**repo2, repo3]
which was meant to represent that you could sync one or more repos ie. [] optional part to command line. Apologies for the confusion.
Apologies for such an abominable specification request. Let me do it properly (hopefully):
So what I was aiming for is that the manifest definition could get a logical name added to repos so that we end up with something like:
repos:
- url: git@gitlab.local:proj1/foo
dest: foo
branch: next
name: dono-foo
repos:
- url: git@gitlab.local:proj1/bar
dest: bar
branch: next
name: dono-bar
so that from the command line I can do:
tsrc sync -names dono-foo
tsrc sync -names dono-foo, dono-bar
Now I realise I could do it this with the following hacks:
Both are clunky.
Basically the ability to sync one or more repos from the command line