summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove --nocolor since it's been replaced by --color=n and the support codeZac Medico2009-04-091-1/+1
| | | | | | no longer exists. svn path=/main/trunk/; revision=13308
* Bug #264435 - Handle EAGAIN errors when writing to stdout, due to poorlyZac Medico2009-04-091-2/+35
| | | | | | | | | behaved subprocesses that set O_NONBLOCK mode on inherited file descriptors. TODO: When possible, avoid having child processes inherit stdio file descriptors from portage (maybe it can't be avoided with PROPERTIES=interactive). svn path=/main/trunk/; revision=13306
* Don't try to execut the pkg_info phase if DEFINED_PHASES is available andZac Medico2009-04-081-0/+5
| | | | | | it shows that the phase is undefined. svn path=/main/trunk/; revision=13305
* Reorganize emerge --info <atom> display, and make sure that the "cpv wasZac Medico2009-04-081-10/+13
| | | | | | built with the following" line is shown for every package. svn path=/main/trunk/; revision=13304
* Add UseFlagDisplay.sort_combined and sort_separated attributes that can beZac Medico2009-04-081-6/+10
| | | | | | passed directly as key parameters to list.sort(). svn path=/main/trunk/; revision=13303
* Bug #265111 - Make current options override older options for --resume.Zac Medico2009-04-081-0/+4
| | | | svn path=/main/trunk/; revision=13302
* Make emerge --info <atom> display USE similarly to how they are displayedZac Medico2009-04-081-26/+111
| | | | | | in the merge list. svn path=/main/trunk/; revision=13297
* Add support to repoman for using layout.conf to control which repositoriesZac Medico2009-04-071-1/+4
| | | | | | | | | | are used to satisfy dependencies. Thanks to Alistair Bush <ali_bush@g.o> for the initial patch. See the "QA Overlay Layout support" thread on the gentoo-dev mailing list for more information: http://archives.gentoo.org/gentoo-dev/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml svn path=/main/trunk/; revision=13295
* Add portdbapi support for a metadata/layout.conf file whichZac Medico2009-04-061-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | specifies information about the repository layout. Currently, only a single "masters" attribute is supported, which is used to specify names of repositories which satisfy dependencies on eclasses and/or ebuilds. Each repository name should correspond the value of a repo_name entry from one of the repositories that is configured via the PORTDIR or PORTDIR_OVERLAY variables. Since layout.conf is now used to control eclass inheritance, it is now safer to use overlays which contain forked eclasses have names identical to those from the main tree. Such eclasses will only apply to their containing repository and any other repositories which reference their containing repository via layout.conf. This solves bug #124041 by containing eclass overrides so that they don't necessarily apply to all ebuilds. Thanks to Alistair Bush <ali_bush@g.o> for his initial patch for layout.conf support in repoman (will be merged later). See the "QA Overlay Layout support" thread on the gentoo-dev mailing list for more information: http://archives.gentoo.org/gentoo-dev/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml svn path=/main/trunk/; revision=13291
* Allow --root-deps for ROOT=/, so people can do weird things like use it withZac Medico2009-04-011-8/+6
| | | | | | | | | -e to remerge deep runtime deps without pulling in build-time deps. It's not something we really want to advertise, but it's good to leave the option open in case it happens to be useful. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=13271
* Combine the --rdeps-only and --root-deps options into a single --root-depsZac Medico2009-04-011-3/+24
| | | | | | option which takes an optional 'rdeps' argument. svn path=/main/trunk/; revision=13267
* When in --quiet mode, still show a message for failures inZac Medico2009-03-311-1/+1
| | | | | | MetadataRegen._metadata_exit(). svn path=/main/trunk/; revision=13259
* In MetadataRegen._metadata_exit(), notify the consumer of failures (in thisZac Medico2009-03-311-7/+10
| | | | | | case the metadata argument is None). svn path=/main/trunk/; revision=13258
* Add a "consumer" keyword parameter to the MetadataRegen constructor whichZac Medico2009-03-311-8/+26
| | | | | | | can be used to pass in a callback that is called for each ebuild that is processed (allowing access to the ebuild metadata). svn path=/main/trunk/; revision=13256
* Add support in MetadataRegen for cleansing stale cache when only a subsetZac Medico2009-03-301-10/+26
| | | | | | of packages are processed. svn path=/main/trunk/; revision=13255
* Add a cp_iter keyword argument to the MetadataRegen constructor, which can beZac Medico2009-03-301-15/+32
| | | | | | | used to do a regen for a subset of packages. TODO: Add support to cleanse cache for the specific cp values that are processed. svn path=/main/trunk/; revision=13254
* Fix --newuse code to compare installed package USE to the USE that a binaryZac Medico2009-03-301-1/+1
| | | | | | package was built with (instead of config["PORTAGE_USE"]). svn path=/main/trunk/; revision=13253
* Bug #264291 - Fix inappropriate build dir creation for emerge --fetchonly.Zac Medico2009-03-301-2/+0
| | | | svn path=/main/trunk/; revision=13252
* Fix bug in old-style virtuals code from previous commit.Zac Medico2009-03-291-1/+1
| | | | svn path=/main/trunk/; revision=13249
* Inside depgraph.validate_blockers(), prevent false positives in PROVIDEZac Medico2009-03-291-5/+14
| | | | | | | | virtual blocker matches that can occur for packages for packages that don't actual have the appropriate value in PROVIDE (triggered by profile 'virtuals' settings). Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=13248
* Add a --root option that sets $ROOT (complements the --config-root option).Zac Medico2009-03-291-1/+7
| | | | svn path=/main/trunk/; revision=13246
* Add support for --rdeps-only and --root-deps options which are useful inZac Medico2009-03-291-1/+10
| | | | | | | combination with $ROOT. Thanks to Ned Ludd <solar@g.o> for the initial patch. svn path=/main/trunk/; revision=13245
* Bug #243220 - Show messages in emerge.log when old versions are uninstalledZac Medico2009-03-281-1/+5
| | | | | | | | for AUTOCLEAN. This reverts behavior so that messages which used to be generated prior to portage-2.1.5.x (when AUTOCLEAN was moved from emerge to dblink.treewalk()) are generated once again. svn path=/main/trunk/; revision=13241
* Don't show the package counter for "Uninstalling" messages.Zac Medico2009-03-281-3/+6
| | | | svn path=/main/trunk/; revision=13240
* Add (x of y ) package counter in the "Installing" message, similar to theZac Medico2009-03-281-1/+5
| | | | | | | counter show in the "Emerging" message. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=13239
* Update code for removing noauto from FEATURES since config.features is aZac Medico2009-03-241-3/+2
| | | | | | set instead of a list now. svn path=/main/trunk/; revision=13178
* Add support for FEATURES=parse-eapi-glep-55. This feature is only intended forZac Medico2009-03-241-1/+8
| | | | | | experimental purposes and should not be enabled under normal circumstances. svn path=/main/trunk/; revision=13175
* If a package is masked by EAPI then don't show any other masking reasons.Zac Medico2009-03-231-3/+9
| | | | svn path=/main/trunk/; revision=13174
* Add support for FEATURES=parse-eapi-ebuild-head, which is similar to GLEP 55Zac Medico2009-03-231-0/+14
| | | | | | | | except that the EAPI is parsed from the head of the ebuild (first 30 lines). This feature is only intended for experimental purposes and should not be enabled under normal circumstances. svn path=/main/trunk/; revision=13173
* When calling doebuild() to spawn the 'depend' phase, just call config.setcpv()Zac Medico2009-03-231-1/+1
| | | | | | since that should be enough (no need for separate reset or reload calls). svn path=/main/trunk/; revision=13170
* Fix argument validation to allow file paths. Thanks to Arfrever for reporting.Zac Medico2009-03-221-0/+7
| | | | svn path=/main/trunk/; revision=13140
* Normalize try/except indentation for compatibility with 2to3.Zac Medico2009-03-201-2/+4
| | | | svn path=/main/trunk/; revision=13139
* Validate argument atoms earlier for build actions.v2.2_rc26Zac Medico2009-03-171-0/+12
| | | | svn path=/main/trunk/; revision=13126
* Bug #261670 - Automatically revert the CHOST metadata to the initial valuev2.2_rc25Zac Medico2009-03-121-0/+1
| | | | | | after src_install, in case the ebuild has changed it. svn path=/main/trunk/; revision=13088
* Update docstring for EbuildBuildDir.clean_log().Zac Medico2009-03-121-2/+1
| | | | svn path=/main/trunk/; revision=13072
* Bug #261992 - Replace the EbuildBuildDir.clean() method with a clean_log()Zac Medico2009-03-121-15/+9
| | | | | | | | method since log cleanup is all that's currently needed and shutil.rmtree() can fail with "OSError: [Errno 36] File name too long" due to strange file names, or on FreeBSD it can fail with EPERM due to file flags in $D. svn path=/main/trunk/; revision=13071
* Bug #261992 - Inside Binpkg._prefetch_exit(), avoid potention issues withZac Medico2009-03-121-6/+8
| | | | | | shutil.rmtree() by just doing a minimal cleanup. svn path=/main/trunk/; revision=13070
* Make dyn_clean ignore FEATURES=keepwork when [[ $EMERGE_FROM = binary ]]Zac Medico2009-03-121-7/+0
| | | | | | | and remove shutil.rmtree() call from Binpkg._clean_exit() since dyn_clean is guaranteed to do a full clean now. svn path=/main/trunk/; revision=13069
* Bug #262211 - Avoid triggering an InvalidAtom exception inside the PackageZac Medico2009-03-111-1/+6
| | | | | | constructor when SLOT is empty. svn path=/main/trunk/; revision=13061
* Bug #262012 - Only trigger the slot conflict message about --newuse whenZac Medico2009-03-111-1/+5
| | | | | | | the installed version is the same as the new one. If they are different versions then there's some other problem. svn path=/main/trunk/; revision=13059
* Use protocol=2 for pickle.dump() calls, so that pickles written by py3k willZac Medico2009-03-101-1/+1
| | | | | | be backward compatible. svn path=/main/trunk/; revision=12821
* Reorganize code for --digests and FEATURES=digest.Zac Medico2009-03-091-21/+49
| | | | svn path=/main/trunk/; revision=12801
* Bug #261675 - Generate manifests in advance when FEATURES=digest is enabled.Zac Medico2009-03-091-1/+8
| | | | svn path=/main/trunk/; revision=12799
* Make the --digest warning message show for FEATURES=digest.Zac Medico2009-03-091-2/+7
| | | | svn path=/main/trunk/; revision=12796
* Always use basestring instead of str with isinstance().Zac Medico2009-03-071-1/+1
| | | | svn path=/main/trunk/; revision=12775
* Make --searchdesc imply --search inside parse_opts().Zac Medico2009-03-051-8/+3
| | | | svn path=/main/trunk/; revision=12754
* Only generate PORTAGE_COUNTER_HASH for actions that can involve vdbZac Medico2009-03-051-1/+2
| | | | | | modification. svn path=/main/trunk/; revision=12753
* Make --version and action.Zac Medico2009-03-051-3/+3
| | | | svn path=/main/trunk/; revision=12752
* Set Unpickler.find_global = None when possible and handle AttributeErrorZac Medico2009-03-051-0/+5
| | | | | | for py3k. svn path=/main/trunk/; revision=12751
* Remove unnecessary creation of lists when iterating over digraphs forZac Medico2009-03-051-2/+2
| | | | | | --buildpkgonly hasallzeros check. svn path=/main/trunk/; revision=12750