| Summary: | [director] Add option to list group ius to DirectorApplication | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Alin Dreghiciu <adreghiciu> | ||||||||
| Component: | p2 | Assignee: | Pascal Rapicault <pascal> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | CC: | pascal | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 3.7 M6 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Alin Dreghiciu
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. |