You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see I have an "org" group which works when I sync with tsrc --verbose sync --group org -r org. Now I just added the last repo and I want to sync everything in the file. I thought of adding as default all the repos, which works, but... as I am adding more and more repos to the manifest I tend to forget to add them to the default group, so they are not part of the sync process.
I tried to use a general regex match like tsrc --verbose sync --group default -r .* but that didn't work. The behavior is "Workspace is empty", which kind of makes sense and kind of doesn't also depending on the point of view.
Possible solutions:
tsrc --verbose sync --group default -r .*. Allowing the regular expression . or .*
tsrc --verbose sync --group all (being the all name group a reserved name)
tsrc --verbose sync --all (a new flag for such purposes)
I hope it makes sense.
The text was updated successfully, but these errors were encountered:
Sure, I can try to submit a PR probably next week.
I thing --group --all would be better since it is not ambiguous in a scenario of a hypothetical all group existing. Otherwise we would have kind of a recursive situation, which is what brought me here in the first place. Would you agree with --group --all@dmerejkowsky?
Hello,
I have the following manifest:
As you can see I have an "org" group which works when I sync with
tsrc --verbose sync --group org -r org
. Now I just added the last repo and I want to sync everything in the file. I thought of adding as default all the repos, which works, but... as I am adding more and more repos to the manifest I tend to forget to add them to the default group, so they are not part of the sync process.I tried to use a general regex match like
tsrc --verbose sync --group default -r .*
but that didn't work. The behavior is "Workspace is empty", which kind of makes sense and kind of doesn't also depending on the point of view.Possible solutions:
tsrc --verbose sync --group default -r .*
. Allowing the regular expression . or .*tsrc --verbose sync --group all
(being the all name group a reserved name)tsrc --verbose sync --all
(a new flag for such purposes)I hope it makes sense.
The text was updated successfully, but these errors were encountered: