Smart: ‘–dump’ list of packages

Later when issue99 was filled I coded a solution which wasn’t very nice and clear regarding coding style, so it got removed from the main sources before going into any released version.

Today, after some fixes and improvements, the ‘–dump’ option has been commited again into Smart’s SVN trunk (r839), with a little change from the original implementation: there is only a single option called ‘–dump’. If you wan to dump the package names without the versions, you would need ’smart -o dump-versions=False –dump’ (or make it permanent with ’smart config –set dump-versions=False’). Here is an example output:

# smart install eclipse --dump -o dump-versions=False
Loading cache...
Updating cache...          ######################################## [100%]

Computing transaction...
ant
eclipse
eclipse-gtk2
eclipse-platform
eclipse-scripts
jakarta-commons-logging
libswt3-gtk2
regexp
servletapi4
xerces-j2

0 comments ↓ | 338 views |

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Powered by WP Hashcash