Community
Participate
Working Groups
Build Identifier: Add a new option like "-listGroups" that will list the group ius from specified metadata repositories. The list print information (as current -list) option in the format <iu id>/<iu version>. Reproducible: Always
Created attachment 179947 [details] Proposed patch
Thanks for the patch. A couple of comments: As discussed in bug 325371 we don't normally add public utility methods to internal classes. I have added a note to bug 325403 to add consider -listGroupIUs when we discuss this further. Running the director with just the command and no args throws an exception before it gets to the more useful exception in #printGroupIUs. (this is also the case with -list, but I just missed it before) We should look at maybe adding local boolean vars to indicate whether or not artifact/metadata repositories are required or optional and then go from there. Not sure right now how to do this without too much refactoring in the app itself.
Created attachment 179964 [details] patch Actually I guess it isn't that hard. Here is a new patch with the proposed changes.
(In reply to comment #3) You have a misspell: metadataReposMadatory (missing 'n')
Created attachment 179973 [details] patch
I have fixed this in HEAD. The -list option of the director app can now take p2ql queries as an argument and I have introduced the shortcut Q:group to list all the groups.