‘–dump’ list of packages
Ademar de Souza Reis Jr.
ademar at mandriva.com
Mon Dec 11 06:40:10 PST 2006
Hi there.
What about merging --dump with --urls?
It appears as something very similar to me. For example,
--dump could be implemented as --urls | sed 's at .*/@@', and
--urls could be something like "--dump -o dump-urls=True".
Or am I missing something?
Best regards,
- Ademar
Mauricio Teixeira (netmask) wrote:
> 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
>
--
Ademar de Souza Reis Jr.
Mandriva Conectiva - http://www.mandriva.com.br
^[:wq!
More information about the Smart
mailing list