Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41926 - emerge --pretend --fetchonly output redirection
Summary: emerge --pretend --fetchonly output redirection
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 09:55 UTC by Jan Kundrát (RETIRED)
Modified: 2005-05-15 08:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát (RETIRED) gentoo-dev 2004-02-17 09:55:36 UTC
well, I have only slow connection at home and want to create a file list of outdated packages, but output of emerge -pf _something_ (--pretend and --fetchonly) cannot be redirected to a file with standard shell method - emerge -fp blabla > ./filelist
I hate copy&paste from xterm, and it is more than annoying to copy & paste output with > 1000 lines ;-)
Moreover, it should be great to add option like --onemirror to see only one possible location for a package for automated download. I'm using portage/2.0.49-r4 from GRP installation 20030911.

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2004-02-20 12:11:22 UTC
`emerge world -pf >& list`

although it would be nice if it printed to stdout instead of stderr
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2004-02-21 08:26:34 UTC
thanks, I didn't realized it.

screen & output logging is also good, but stdout is stdout ;-)
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2004-03-02 06:15:16 UTC
even better, adding option like --new-files or something similar
should be good for determining files to be downloaded - I mean something like:
# emerge -pf --new-files kde > filelist
and it will print only files which are needed, but doesn't  exist in /usr/portage/distfiles
I now it could be done in many other ways, but I prefer simplicity ;-)
Comment 4 Jan Kundrát (RETIRED) gentoo-dev 2005-05-15 08:48:55 UTC
Closing the bug as it has been some time. Anyway, I don't think Portage should include option which will check if the file exists, some script would be better.