New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add group selection to built-in commands #487
Comments
Sorry, but I'm a bit confused about this use case. Those two commands would only produce the same result if all projects are inactive by default. Are you sure this is what you meant? |
@mbolivar-nordic I might be misunderstanding something as I only recently started looking into groups so Ill give you the concrete thing I was trying to do. In our codebase, we have a manifest repository containing our west.yml which includes a few internal repos as projects and a few external repos (including zephyr) as projects. Something like this:
Note, there are many more internal and external projects. While all are enabled, I want to do some action (like create a tag) on all of our internal projects repos. I thought adding them all to a group would let me do this using |
For example, to solve my current problem, I still used |
OK, so this isn't as much about the group-filter feature as doing some action on all projects with a particular group or groups. I would prefer to call that option So you could say Is that what you're asking for? |
Yes, thats exactly what Im looking for |
I don't understand what makes |
Because this is not affecting the group filter at all, it's doing something different. See my original comment in the thread |
Ah yes of course, I clearly didn't understand the command line So @mrrosen you're indeed asking for a new, different feature that does not exist yet. Please update the title of this issue. The next questions that come to mind are then: 1. should |
I guess I am since Im not 100% sure I understand the group-filter feature. Im not sure what a better title is as I still want a "group filter" even though it isnt directly using "group-filter" I guess its that |
Like everything in west,
Emphasis mine. The long story short: Hence @mbolivar-nordic suggesting a new option with a different name and me suggesting you rephrase the title of this issue. "Group selection"? Hope this helps. |
Currently, only
west update
supports the--group-filter
/--gf
command line argument, but it would be good if other commands such aswest forall
andwest status
also allowed users to run commands on a subset of projects using groups on the commandline without having to list out a bunch of projects in the command line (ie, rather thanwest status proj1 proj2 proj3 proj4
, be able towest status --gf=+mygroup
instead).The text was updated successfully, but these errors were encountered: