summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/main.py
Commit message (Collapse)AuthorAgeFilesLines
* Make emerge --noreplace identical to --selective.Zac Medico2011-07-191-2/+1
| | | | | | This removes a very subtle difference in --noreplace package selection logic which is not very useful and triggers strange package selection choices in some cases, as reported in bug #375571.
* Use portage.subprocess_getstatusoutput() more.Zac Medico2011-07-121-5/+3
|
* --ask: show group warning before pretend promptZac Medico2011-06-041-2/+2
|
* emergelog: only enable when called by emergeZac Medico2011-06-031-9/+7
| | | | | | We disable emergelog by default, since it's called from dblink.merge() and we don't want that to trigger log writes unless it's really called via emerge.
* --ask: prompt for --pretend mode when necessaryZac Medico2011-06-031-2/+6
|
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2011-05-151-1/+1
|
* Implement --autounmask-writeSebastian Luther2011-05-151-0/+10
| | | | | Enabling this option together with --autounmask writes proposed changes to config files, honoring CONFIG_PROTECT.
* Use vardbapi.lock() where applicable.Zac Medico2011-05-141-2/+3
|
* Remove redundant pruneNonExisting() call.Zac Medico2011-05-061-1/+0
| | | | | | Since commit f36b9fa38b5268c2a5579db62acec026625f84a9, the PreservedLibsRegistry automatically prunes itself each time that it is loaded.
* emerge: replace --rebuild with finer grained optsDavid James2011-05-041-7/+40
| | | | | | | | | | | | | | | | | | | | | | Replace --rebuild option with --rebuild-if-* options. --rebuild-if-new-rev [ y | n ] Rebuild packages when dependencies that are used at both build-time and run-time are built, if the dependency is not already installed with the same version and revision. --rebuild-if-new-ver [ y | n ] Rebuild packages when dependencies that are used at both build-time and run-time are built, if the dependency is not already installed with the same version. Revision numbers are ignored. --rebuild-if-unbuilt [ y | n ] Rebuild packages when dependencies that are used at both build-time and run-time are built. Change-Id: Ia50c1702bfe1b98a8d1891740e7bbb045921a905 Review URL: http://gerrit.chromium.org/gerrit/280
* Add --rebuild-ignore flag.David James2011-05-031-0/+14
| | | | | | | | | A space separated list of package names or slot atoms. Emerge will not rebuild packages that depend on matching packages due to \fB\-\-rebuild\fR. Change-Id: Ia58fe632ed06c97a22413da0341d7f8da2d65ba8 Review URL: http://gerrit.chromium.org/gerrit/209
* emerge: rename --no*-atoms to --*-excludeZac Medico2011-05-021-8/+8
|
* emerge: add --rebuild and --norebuild-atoms optsDavid James2011-05-011-1/+28
| | | | | | | | | | | | | | | | | | | | | | | Rebuild when build-time/run-time deps are upgraded. If pkgA has been updated, and pkgB depends on pkgA at both build-time and run-time, pkgB needs to be rebuilt. This feature ensures that all packages are consistent when dependencies that are used at both runtime and build time are changed. This feature only rebuilds packages one layer deep. That means that if you upgrade libcros, for example, packages that depend directly on libcros will be rebuilt and reinstalled, but indirect dependencies will not be rebuilt. BUG=chromium-os:14296 TEST=Test whether packages rebuilding a bunch of packages. Change-Id: Idbc0532b4b1de28fd9e5a0abe3b7dbe1a3abd2c8 Review URL: http://codereview.chromium.org/6905107
* display_preserved_libs: load plib_registryZac Medico2011-04-281-1/+3
| | | | | | | Since commit 7535cabdf2fab76fc55df83643157613dfd66be9, the plib_registry is modified in a subprocess, and the parent process' copy can become stale because of this. Therefore, explicitly load it.
* emerge: add --misspell-suggestions=n optionZac Medico2011-04-281-0/+6
| | | | This will fix bug #363137.
* emerge: add 3 new options similar to --excludeDavid James2011-04-271-20/+58
| | | | | | | | | | | | | | | | | | | | | | | Add --nousepkg-atoms, --useoldpkg-atoms, and --reinstall-atoms flag to Portage reinstall-atoms accepts a space separated list of package names or slot atoms. Emerge will treat matching packages as if they are not installed, and reinstall them if necessary. useoldpkg-atoms accepts a space separated list of package names or slot atoms. Emerge will prefer matching binary packages over newer unbuilt packages. This is useful in case you want to request that a particular package won't be rebuilt from source. nousepkg-atoms accepts a space separated list of package names or slot atoms. Emerge will ignore matching binary packages. Change-Id: I0d73039c6a4cd63695b28ffc80215628e0e05c95 BUG=chromium-os:12507 TEST=Try out the flag Review URL: http://codereview.chromium.org/6577024
* chk_updated_info_files: handle --quietZac Medico2011-03-301-3/+5
| | | | This will fix bug #361257.
* emerge: support [ y | n ] for --askZac Medico2011-03-241-2/+15
| | | | | | This allows --ask to be enabled via EMERGE_DEFAULT_OPTS, and then temporarily disabled via the command-line. This may be useful for programs that call emerge non-interactively, as in bug #360233.
* emerge_main: add "args" parameter (sys.argv[1:])Zac Medico2011-03-201-7/+12
| | | | | Also, fix local portage.debug import so that "global portage" is not necessary.
* emerge: support [ y | n ] for --quietv2.2.0_alpha27Zac Medico2011-03-141-3/+26
| | | | | | This allows --quiet and --quiet-build to be enabled via EMERGE_DEFAULT_OPTS, and then temporarily disabled via the command- line.
* show_depclean_suggestion: use ewarn, not einfoZac Medico2011-02-211-1/+1
|
* post_emerge: suggest depclean after world updateZac Medico2011-02-211-0/+13
| | | | This is part of bug #354787.
* post_emerge: pass in more infoZac Medico2011-02-211-6/+15
| | | | | This makes it possible to do things like give special suggestions after world updates.
* emerge: warn to stderr if post_* hooks failZac Medico2011-02-181-5/+6
|
* emerge: support post_emerge hook like post_syncGokdeniz Karadag2011-02-181-0/+8
| | | | This will fix bug #355447.
* When killed by signal, return 128 + signum.Zac Medico2011-01-151-2/+2
| | | | | This is the same convention that bash uses for returncodes of processes that are killed by signals.
* composite_db: use ebuild visibility for installedZac Medico2011-01-041-1/+2
| | | | This will fix bug #350488.
* emerge: accept 'y' for options that accept 'n'Zac Medico2010-11-231-57/+60
| | | | This will fix bug #346349 and bug #344799.
* Fix emerge --sync PORTDIR creation.Zac Medico2010-11-191-2/+1
|
* emerge --depclean: Add more --debug output.v2.2_rc97Zac Medico2010-10-151-0/+1
|
* Fix breakage in emerge -b option parsing.Zac Medico2010-10-111-0/+1
|
* Add support for emerge --buildpkg=n.Zac Medico2010-10-091-2/+15
|
* Fix spelling of 'wildcards' in --exclude error.Zac Medico2010-10-071-1/+1
|
* More repository handling cleanupSebastian Luther2010-09-301-1/+1
|
* reposyntax: Handle missing profiles/repo_name by setting repo_name to ↵Sebastian Luther2010-09-261-8/+8
| | | | x-$(basename $path)
* reposyntax: Add support all over the placeSebastian Luther2010-09-261-1/+1
|
* global updates: Honor -q and don't repeat the legendSebastian Luther2010-09-101-1/+1
|
* Use EROOT in chk_updated_cfg_files() calls.Zac Medico2010-09-091-1/+1
|
* Add another _ENABLE_DYN_LINK_MAP conditional in parse_opts().Zac Medico2010-09-071-2/+3
|
* Disable the --depclean-lib-check option when _ENABLE_DYN_LINK_MAPZac Medico2010-09-071-7/+11
| | | | is False.
* always apply EPREFIX prepending to GLOBAL_CONFIG_PATHFabian Groffen2010-09-051-1/+5
|
* Don't regenerate GNU Info if the dir contains a .keepinfodir file, bug 257260.Ulrich Mueller2010-09-051-5/+7
|
* use EROOT with VDB_PATHFabian Groffen2010-09-041-1/+1
|
* Make emerge display a warning message if FEATURES contains keepworkZac Medico2010-09-031-0/+15
| | | | | or keeptemp since these features may confuse users and lead them to report invalid bugs.
* Bug #248603 - Add a _ENABLE_REPO_NAME_WARN constant that's used toZac Medico2010-09-021-1/+4
| | | | | disable warnings about "missing repo_name entries" for the stable branch.
* Rename the portage.sets module to portage._sets since it will be usefulZac Medico2010-08-301-4/+4
| | | | | in the upcoming 2.1.9 branch which will not have sets support but will still have the code in private and disabled form.
* Always check if vardbapi._linkmap and vardbapi._plib_registry areZac Medico2010-08-291-0/+5
| | | | | | None before trying to use them. This will be useful in the upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Rename vardbapi.linkmap to vardbapi._linkmap since I'mZac Medico2010-08-291-1/+1
| | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Rename vardbapi.plib_registry to vardbapi._plib_registry since I'mZac Medico2010-08-291-3/+3
| | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Add EROOT support to setconfig_fallback().Zac Medico2010-08-251-1/+1
|