summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Fix config._lazy_vars._accept_license() to exclude irrelevant licenses.Zac Medico2009-06-221-1/+1
| | | | svn path=/main/trunk/; revision=13671
* Change ACCEPT_LICENSE evaluation so that things like ACCEPT_LICENSE="* -@EULA"Zac Medico2009-06-222-38/+53
| | | | | | | | | | | | will work as expected. The ACCEPT_LICENSE variable is now treated as a lazily evaluated incremental, so that * can be used to match all licenses without every having to explicitly expand it to all licenses. It should now behave as approved by the council in response to the "RFC: ACCEPT_LICENSE default value (GLEP 23)" discussion: http://archives.gentoo.org/gentoo-dev/msg_d5c1e7285399ebc27a74bdd02cb4d037.xml svn path=/main/trunk/; revision=13670
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 4).Zac Medico2009-06-2217-1958/+2134
| | | | | | 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-225-341/+351
| | | | | | 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-225-361/+393
| | | | | | 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
* Fix imports broken by splitting of _emerge/__init__.py.Zac Medico2009-06-221-1/+3
| | | | svn path=/main/trunk/; revision=13664
* Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks toZac Medico2009-06-2248-3140/+3430
| | | | | | Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663
* Use portage.util.apply_permissions() inside _ensure_access().Zac Medico2009-06-221-6/+10
| | | | svn path=/main/trunk/; revision=13662
* Reorganize $KV logic in doebuild_environment.Zac Medico2009-06-221-3/+5
| | | | svn path=/main/trunk/; revision=13661
* Tweak depcache permission handling so egencache can be run by a user who'sZac Medico2009-06-213-10/+30
| | | | | | not in the portage group, allowing for better privilege isolation. svn path=/main/trunk/; revision=13660
* Bug #274742 - Exempt $dir from quoting checks since it's a likely candidateZac Medico2009-06-211-1/+1
| | | | | | for false positives. svn path=/main/trunk/; revision=13659
* In doebuild_environment, ensure that cached $KV from the backupenv does notZac Medico2009-06-201-0/+2
| | | | | | leak into the environment for EAPI >= 3. svn path=/main/trunk/; revision=13658
* Factor duplicate code out of depgraph._add_pkg and _pop_disjunction.Zac Medico2009-06-201-80/+57
| | | | svn path=/main/trunk/; revision=13657
* Don't set KV for EAPI >=3.Arfrever Frehtes Taifersar Arahesis2009-06-201-1/+1
| | | | svn path=/main/trunk/; revision=13656
* 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-182-2/+19
| | | | | | | 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
* Add NOCOLOR to the environment whitelist. This fixes inappropriate colorsZac Medico2009-06-171-1/+1
| | | | | | | produced by elog functions. Thanks to Luis F. Araujo <araujo@gentoo.org> for reporting. svn path=/main/trunk/; revision=13649
* Rename color_codes back to codes.Zac Medico2009-06-171-70/+70
| | | | svn path=/main/trunk/; revision=13648
* Rename codes to _styles.Zac Medico2009-06-171-30/+30
| | | | svn path=/main/trunk/; revision=13647
* Rename map_code_to_color_code() to style_to_ansi_code().Zac Medico2009-06-172-6/+13
| | | | svn path=/main/trunk/; revision=13646
* Add epydoc docstrings fro codes and color_codes variables.Zac Medico2009-06-171-0/+3
| | | | svn path=/main/trunk/; revision=13645
* Use map_code_to_color_code() where appropriate inside ConsoleStyleFile.write().Zac Medico2009-06-171-1/+1
| | | | svn path=/main/trunk/; revision=13644
* Bug #274279 - Add color.map support for mapping a color to a different colorZac Medico2009-06-162-149/+150
| | | | | | | (rather than just mapping a class/style to a different color). Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13643
* Prepare 117 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-06-146-202/+222
| | | | svn path=/main/trunk/; revision=13639
* Add some really big integers to the vercmp tests.Zac Medico2009-05-161-1/+3
| | | | svn path=/main/trunk/; revision=13623
* Fix digestcheck() to handle missing distfiles digests correctly. Thanks toZac Medico2009-05-061-1/+4
| | | | | | Petteri Räty <betelgeuse@g.o> for reporting. svn path=/main/trunk/; revision=13618
* Fix SrcUnpackPatches to ignore comment lines. Thanks to Christian RuppertZac Medico2009-05-061-0/+1
| | | | | | <idl0r@g.o> for reporting. svn path=/main/trunk/; revision=13617
* tweak output when diff access rights are neededMike Frysinger2009-05-061-3/+3
| | | | svn path=/main/trunk/; revision=13616
* When generating ACCEPT_LICENSE for the ebuild environment, do not expandZac Medico2009-05-051-2/+4
| | | | | | | | *, since that would make it appear to the check_license() function as if the user has accepted licenses which have not really been explicitly accepted. svn path=/main/trunk/; revision=13615
* Make portdbapi.getfetchlist() return an equal number of uris/file names soZac Medico2009-05-051-4/+9
| | | | | | that no information is lost. svn path=/main/trunk/; revision=13613
* Simplify DepPriority.__int__() and make it consistent with __str__().Zac Medico2009-05-031-25/+13
| | | | svn path=/main/trunk/; revision=13599
* Fix inverted logic in superuser logic for bug #267104.Zac Medico2009-05-021-2/+2
| | | | svn path=/main/trunk/; revision=13596
* 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
* Only generate KV when setting up the environment for a real ebuild phase. ThisZac Medico2009-05-011-1/+4
| | | | | | | should preven "Permission Denied: /usr/src/linux/.config" errors reported by repoman users (repoman may trigger the error when it calls the fetch phase). svn path=/main/trunk/; revision=13580
* Fix logic error which prevents repos.conf [DEFAULT] section from applyingZac Medico2009-05-011-1/+1
| | | | | | | to repos that don't have their own section. Thanks to Markos Chandras <hwoarang@g.o> for reporting. svn path=/main/trunk/; revision=13578
* 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
* In config.setcpv() reuse split USE from built packages instead of splittingZac Medico2009-04-301-3/+2
| | | | | | them again. svn path=/main/trunk/; revision=13573
* Move PORTAGE_RESTRICT calculation to config.setcpv() (lazy evaluation) andZac Medico2009-04-301-19/+38
| | | | | | fix it to work correctly for pre-built packages. svn path=/main/trunk/; revision=13569
* Bug #267104 - When appropriate, advise the user that they may set FEATURES=Zac Medico2009-04-301-4/+17
| | | | | | -userfetch in order to use remaining space. svn path=/main/trunk/; revision=13567
* Fix _lazy_accept_license to discard || from the set of licenses.Zac Medico2009-04-301-0/+1
| | | | svn path=/main/trunk/; revision=13565
* Fix ACCEPT_LICENSE handling for binary packages, so that the build-time USEZac Medico2009-04-301-5/+12
| | | | | | settings are used calculate an appropriate ACCEPT_LICENSE value. svn path=/main/trunk/; revision=13560
* Fix error in calculations from bug #267104.Zac Medico2009-04-301-2/+2
| | | | svn path=/main/trunk/; revision=13419
* In config.setcpv(), move the code that makes sure "pkg" values override "env"Zac Medico2009-04-301-4/+8
| | | | | | values _after_ the reset() call. svn path=/main/trunk/; revision=13418
* Generate a pruned version of ACCEPT_LICENSE, by intersection withZac Medico2009-04-301-0/+28
| | | | | | | | LICENSE. This is required since otherwise ACCEPT_LICENSE might be too big (bigger than ARG_MAX), causing execve() calls to fail with E2BIG errors as in bug #262647. svn path=/main/trunk/; revision=13417
* In config.regenerate(), explicitly include self.backupenv when processingZac Medico2009-04-301-0/+1
| | | | | | incrementals, since it's no longer included in self.configlist. svn path=/main/trunk/; revision=13416
* Exclude 'backupenv' from config.configlist and lookuplist since it doesn'tZac Medico2009-04-301-13/+12
| | | | | | | | | make size to have it in there when configdict['env'] already serves that purpose. This allows values to be temporarily removed from configdict['env'] and have them not appear in the environment until reset() is called to restore those values from the backupenv. svn path=/main/trunk/; revision=13415
* Warn about sed and epatch calls which should be moved from src_unpack toZac Medico2009-04-291-1/+33
| | | | | | src_prepare. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13413