Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32817 - Would like a new option -prompt, works like pretend, but installs after prompting
Summary: Would like a new option -prompt, works like pretend, but installs after promp...
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-05 12:20 UTC by jon
Modified: 2021-07-22 04:03 UTC (History)
1 user (show)

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 jon 2003-11-05 12:20:59 UTC
I find my self doing the following steps whenever i emerge a package:

$ emerge -p <packagename>
<dependencies>
$ sudo emerge <packagename>

I would love to see an option to prompt to continue, after pretend, so that the
following results:

$ sudo emerge --prompt <package>
<dependencies>
Do you want to install the packages? (y/n)

<installing>
Done.

This is more of a chain together 'pretend' and install than totally new development.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-11-15 17:30:25 UTC
emerge-prompt () {
        emerge -p $*
        read -p "continue (y/n) ? " DO_EMERGE
        [ "$DO_EMERGE" == "y" ] && emerge $*
}

should do the same, this the type of option I personally don't want to support
as they are easy to do with some minimal bash scripting, but when included in 
emerge they need docs, will be affected by API changes (there re currently happening a lot of these) and so on, creating bugs later on, therefore I'm closing this as WONTFIX.
Comment 2 betsydbatz 2021-07-21 05:08:52 UTC Comment hidden (spam)
Comment 3 betsydbatz 2021-07-22 04:03:33 UTC Comment hidden (spam)