‘–dump’ list of packages

Mauricio Teixeira (netmask) netmask at webset.net
Mon Dec 11 05:56:03 PST 2006


http://mteixeira.webset.net/blog/20061211/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

-- 
% Mauricio Teixeira (netmask) | Maceio/AL/BR         %
% mteixeira{a}webset{d}net    | http://smartpm.org   %
% http://mteixeira.webset.net | http://pmping.sf.net %




More information about the Smart mailing list