Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341249

Summary: Implement a console extension similar to apt
Product: z_Archived Reporter: Holger Staudacher <holger.staudacher>
Component: RTPAssignee: Project Inbox <rtp.all-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: beyhan.veliev, hmalphettes
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Holger Staudacher CLA 2011-03-29 11:34:47 EDT
We should extend the Equinox console to enable new users to install new stuff quickly e.g. with "install rap".

The interface should be similar as the Linux tool "apt".
http://en.wikipedia.org/wiki/Advanced_Packaging_Tool
Comment 1 Hugues Malphettes CLA 2011-03-29 19:14:00 EDT
+1 matching the apt-get like set of commands as much as possible would be really nice.
Comment 2 Beyhan Veliev CLA 2011-04-12 15:27:51 EDT
Thank you Holger for this contribution. I have some comments on the provided Commands. My intention is to keep them very simple and easy to remember:

* "remove()": I like "uninstall" better than "remove" because it is clear that uninstall is the opposite of "install". By "remove" I'm note sure and I have to read the help.

* "list()": I think we could avoid this API. This can be an option of "search( List<String> anyListOf )" If I don't enter a search text then all available IUs are listed.

* "updateWorld()": I think this could be an option of "update( List<String> anyListOf )". If I don't enter an IU to update then the whole system is updated. 

* "refresh()": I'm not 100% happy with this name because I associate it with the OSGi-Console command "refresh". I don't have any better ideas at the moment. What I have in mind is "updateRepositories" but it is too long. Another alternative could be "updateRepos" but abbreviations are also not so cool.
Comment 3 Beyhan Veliev CLA 2011-10-30 07:21:19 EDT
Finally we can close this bug :). The Configurator OSGi console extension supports the commands mentioned above.