summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Move __init__.py to main.py.Zac Medico2009-06-261-0/+3
| | | | svn path=/main/trunk/; revision=13698
* Move __init__.py to main.py.Zac Medico2009-06-261-1282/+0
| | | | svn path=/main/trunk/; revision=13697
* Add/update copyright headers.Zac Medico2009-06-251-2/+1
| | | | svn path=/main/trunk/; revision=13690
* Make the global "actions" variable a local inside parse_opts() since theZac Medico2009-06-231-8/+8
| | | | | | | | | | | | | | | | | | | | | name collision with the _emerge.actions module triggers this traceback with epydoc-3.0.1: Traceback (most recent call last): File "/usr/bin/epydoc", line 13, in <module> cli() File "/usr/lib/python2.6/site-packages/epydoc/cli.py", line 965, in cli main(options, names) File "/usr/lib/python2.6/site-packages/epydoc/cli.py", line 757, in main exclude_parse=exclude_parse) File "/usr/lib/python2.6/site-packages/epydoc/docbuilder.py", line 235, in build_doc_index docindex = DocIndex(docs) File "/usr/lib/python2.6/site-packages/epydoc/apidoc.py", line 1715, in __init__ raise ValueError("All APIdocs passed to DocIndexer " ValueError: All APIdocs passed to DocIndexer must already have canonical names. svn path=/main/trunk/; revision=13674
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 6).Zac Medico2009-06-231-2704/+10
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13673
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 5).Zac Medico2009-06-231-6734/+20
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13672
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 4).Zac Medico2009-06-221-1958/+17
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13669
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 3).Zac Medico2009-06-221-340/+1
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13668
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 2).Zac Medico2009-06-221-361/+4
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13667
* Revert lazy imports from r13665 for now, since pyflakes doesn't understandZac Medico2009-06-221-34/+27
| | | | | | them, and pyflakes helps check stuff while we're splitting this file up. svn path=/main/trunk/; revision=13666
* Use lazy imports for submodules where possible.Zac Medico2009-06-221-27/+34
| | | | svn path=/main/trunk/; revision=13665
* Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks toZac Medico2009-06-221-3138/+31
| | | | | | Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663
* Factor duplicate code out of depgraph._add_pkg and _pop_disjunction.Zac Medico2009-06-201-80/+57
| | | | svn path=/main/trunk/; revision=13657
* Bug #264434 - Delay evaluation of all disjunctive (virtual and ||)Zac Medico2009-06-191-8/+142
| | | | | | | | | dependencies. Evaluting disjuctions as late as possible allows better decisions since the graph is more complete when the decisions are made. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch. svn path=/main/trunk/; revision=13655
* Add a EMERGE_LOG_DIR variable to control the location of emerge.log andZac Medico2009-06-181-2/+18
| | | | | | | emerge-fetch.log. This was requested by Eitan Mosenkis <eitan@mosenkis.net> for use in his 'online image builder' soc project. svn path=/main/trunk/; revision=13652
* When --pretend overrides --ask, don't show any output.Zac Medico2009-06-171-3/+2
| | | | svn path=/main/trunk/; revision=13650
* tweak output when diff access rights are neededMike Frysinger2009-05-061-3/+3
| | | | svn path=/main/trunk/; revision=13616
* Simplify DepPriority.__int__() and make it consistent with __str__().Zac Medico2009-05-031-25/+13
| | | | svn path=/main/trunk/; revision=13599
* Fix DepPriority.__int__() to return distinguishable values, for use whenZac Medico2009-05-021-0/+37
| | | | | | | | measuring hardness for the circular dependency display. This fixes a problem visible in bug #268038, comment #0, where buildtime dependencies are incorrectly displayed as runtime dependencies. svn path=/main/trunk/; revision=13589
* Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute()Zac Medico2009-04-301-3/+0
| | | | | | since PORTAGE_RESTRICT is calculated by config.setcpv() now. svn path=/main/trunk/; revision=13575
* Bug #267860 - Make JobStatusDisplay respect FEATURES=notitles.Zac Medico2009-04-291-3/+6
| | | | svn path=/main/trunk/; revision=13409
* Bug #267810 - Don't sort C/CXX/LDFLAGS in emerge --info output since theseZac Medico2009-04-291-23/+3
| | | | | | variables aren't really sortable in that way. svn path=/main/trunk/; revision=13407
* When in --nodeps mode, make depgraph._serialize_tasks() preserve the packageZac Medico2009-04-201-0/+7
| | | | | | | order given on the command line. Thanks to Markus Duft <mduft@g.o> for reporting. svn path=/main/trunk/; revision=13377
* Drop from --ask to --pretend for uninstall all actions.Zac Medico2009-04-191-1/+2
| | | | svn path=/main/trunk/; revision=13374
* Add missing del when cleansing cache in action_metadata().Zac Medico2009-04-191-1/+1
| | | | svn path=/main/trunk/; revision=13373
* Tweak _eclasses_ logic inside action_metadata().Zac Medico2009-04-191-5/+7
| | | | svn path=/main/trunk/; revision=13372
* In action_deselect(), use the installed packages to expand atoms into slotZac Medico2009-04-191-3/+14
| | | | | | atoms. svn path=/main/trunk/; revision=13366
* Add --ask support to action_deselect().Zac Medico2009-04-191-0/+7
| | | | svn path=/main/trunk/; revision=13365
* Fix bugs in action_deselect() and add --pretend support.Zac Medico2009-04-191-5/+8
| | | | svn path=/main/trunk/; revision=13364
* Add a new --deselect action which removes atoms from the world file. ThisZac Medico2009-04-191-9/+69
| | | | | | | | action is implied by uninstall actions, including --depclean, --prune and --unmerge. Use --deselect=n in order to prevent uninstall actions from removing atoms from the world file. This solves bug #259994 and bug #265206. svn path=/main/trunk/; revision=13363
* Add support to emerge --metadata for transfering cache from overlays thatZac Medico2009-04-181-56/+235
| | | | | | have a metadata/cache directory. svn path=/main/trunk/; revision=13356
* Bug #265909 - Make emerge display a warning message if any overlays areZac Medico2009-04-151-0/+32
| | | | | | | ignored due to duplicate profiles/repo_name entries. The warning can be disabled by setting PORTAGE_REPO_DUPLICATE_WARN=0 in /etc/make.conf. svn path=/main/trunk/; revision=13348
* Add support in action_uninstall() for file -> package lookup.Zac Medico2009-04-151-19/+67
| | | | svn path=/main/trunk/; revision=13345
* Split out an action_uninstall() function to handle argument validation forZac Medico2009-04-151-53/+61
| | | | | | clean, depclean, prune, and unmerge actions. svn path=/main/trunk/; revision=13344
* Filter virtuals when expanding atoms if it helps to avoid an ambiguity.Zac Medico2009-04-111-0/+9
| | | | svn path=/main/trunk/; revision=13314
* Fix broken logic from previous commit.Zac Medico2009-04-101-2/+4
| | | | svn path=/main/trunk/; revision=13313
* Bug #265034 - In depgraph.loadResumeCommand(), tolerate missing packagesZac Medico2009-04-101-2/+4
| | | | | | since it's possible that the resume list is still partially valid. svn path=/main/trunk/; revision=13312
* 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