summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Add a new "portage.internal" warning for prepalldocs usage since the councilZac Medico2009-03-112-1/+11
| | | | | | | ruled that it shouldn't be used in ebuilds. Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. (trunk r12603) svn path=/main/branches/2.1.6/; revision=12884
* Inside portage.fetch(), check for the case where FETCOMMAND creates aZac Medico2009-03-111-0/+29
| | | | | | | | directory where a file is expected. This can happen if FETCHCOMMAND erroneously contains wget's -P option where it should instead have -O, as reported in bug #258433, comment #16. (trunk r12601) svn path=/main/branches/2.1.6/; revision=12882
* Bug #258433 - In portage.fetch(), check for missing ${FILE} parameter inZac Medico2009-03-111-17/+50
| | | | | | FETCHCOMMAND or RESUMECOMMAND and bail out early if necessary. (trunk r12600) svn path=/main/branches/2.1.6/; revision=12881
* Inside depgraph._select_atoms(), only trigger the circular dependencyZac Medico2009-03-111-2/+11
| | | | | | | | | | | avoidance code for buildtime dependencies. This solves a problem with virtual/mysql inappropriately pulling in mysql-community from PDEPEND when satisfying deps of plain mysql. Thanks to Krzysiek Pawlik <nelchael@g.o> for reporting this issue: http://archives.gentoo.org/gentoo-dev/msg_efce154d642fe6ede38d084a33c7f949.xml (trunk r12599) svn path=/main/branches/2.1.6/; revision=12880
* Add new EAPI 3_pre1 value, and disable unpack() support for *.xz for earlierZac Medico2009-03-111-0/+4
| | | | | | EAPI values. (trunk r12596) svn path=/main/branches/2.1.6/; revision=12877
* Keep 2_pre* EAPI values in the deprecated list so that uninstalls stillZac Medico2009-03-111-1/+1
| | | | | | work normally. (trunk r12595) svn path=/main/branches/2.1.6/; revision=12876
* Remove support for deprecated 2_pre* EAPI values. (trunk r12594)Zac Medico2009-03-112-7/+4
| | | | svn path=/main/branches/2.1.6/; revision=12875
* Fix digraph.clone() to properly clone priority lists. (trunk r12587)Zac Medico2009-03-111-2/+8
| | | | svn path=/main/branches/2.1.6/; revision=12868
* Make DepPriority.__str__() indicate optional deps. (trunk r12586)Zac Medico2009-03-111-0/+2
| | | | svn path=/main/branches/2.1.6/; revision=12867
* Inside depgraph._serialize_tasks(), simplify the logic which delays selectionZac Medico2009-03-111-51/+39
| | | | | | of root nodes. (trunk r12585) svn path=/main/branches/2.1.6/; revision=12866
* For python-3.0 compatibility, make dict-like classes modify their keys(),Zac Medico2009-03-115-0/+29
| | | | | | | items(), and values() methods appropriatly for the current python version. (trunk r12584) svn path=/main/branches/2.1.6/; revision=12865
* Warn about WANT_AUTO(CONF|MAKE)=latest settings since they are redundant.Zac Medico2009-03-111-1/+13
| | | | | | Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. (trunk r12583) svn path=/main/branches/2.1.6/; revision=12864
* Fix the priorities display in digraph.debug_print() so it shows the highestZac Medico2009-03-111-3/+2
| | | | | | priority (since multiple priorities are now supported). (trunk r12582) svn path=/main/branches/2.1.6/; revision=12863
* Fix Scheduler._find_system_deps() so that it only traverses runtime deps.Zac Medico2009-03-111-3/+10
| | | | | | (trunk r12581) svn path=/main/branches/2.1.6/; revision=12862
* Add support in digraph for multiple priorities per edge and support forZac Medico2009-03-111-34/+78
| | | | | | | callable ignore_priority arguments that can be used for finer grained filtering. (trunk r12580) svn path=/main/branches/2.1.6/; revision=12861
* Add UnmergeDepPriority.optional attribute, to avoid traceback. (trunk r12579)Zac Medico2009-03-111-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=12860
* Bug #256616 - Also consider deep runtime dependencies of system packages whenZac Medico2009-03-111-2/+43
| | | | | | adding packages to merge_wait_queue. (trunk r12578) svn path=/main/branches/2.1.6/; revision=12859
* For optional deps pulled in by --with-bdeps=y, set DepPriority.buildtime toZac Medico2009-03-111-1/+2
| | | | | | False. (trunk r12577) svn path=/main/branches/2.1.6/; revision=12858
* Add a DepPriority.optional attribute for optional build time deps that areZac Medico2009-03-111-10/+13
| | | | | | pulled in by --with-bdeps=y. (trunk r12576) svn path=/main/branches/2.1.6/; revision=12857
* Make emerge --regen return non-zero if that are any failures. Thanks to DanielZac Medico2009-03-111-1/+6
| | | | | | Robbins for reporting. (trunk r12575) svn path=/main/branches/2.1.6/; revision=12856
* Use portage.util.cmp_sort_key for python-3.0 compatibility. (trunk r12574)Zac Medico2009-03-111-6/+6
| | | | svn path=/main/branches/2.1.6/; revision=12855
* Use portage.util.cmp_sort_key for python-3.0 compatibility. (trunk r12572)Zac Medico2009-03-111-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=12853
* Add a cmp_sort_key class which makes it easier to port code for python-3.0Zac Medico2009-03-111-0/+36
| | | | | | | compatibility. It works by generating key objects which use the given cmp function to implement their __lt__ method. (trunk r12571) svn path=/main/branches/2.1.6/; revision=12852
* In depgraph._serialize_tasks(), when separating uninstall nodes from leafZac Medico2009-03-111-11/+16
| | | | | | nodes, do it earlier so that it covers more code paths. (trunk r12570) svn path=/main/branches/2.1.6/; revision=12851
* Bug #256616 - Since dependencies on system packages are frequently unspecified,Zac Medico2009-03-111-3/+35
| | | | | | | | | merge them only when no builds are executing. When a system package finishes building, it's added to a wait queue that is only processed when the number of running builds drops to zero. All pending merges are then processed before any new builds are allowed to start. (trunk r12569) svn path=/main/branches/2.1.6/; revision=12850
* Fix logic inside depgraph._serialize_tasks() to avoid the circular runtimeZac Medico2009-03-111-30/+30
| | | | | | | | | | | | deps path in some cases when it's not appropriate. This solves a case that was reported, in which the perl was merged before libperl due do perl and lots of it's deps being selected all at once. In this case, so many packages were selected at once that the cmp_circular_bias() sort did not order them very well (though it normally works fine with a smaller number of packages). Thanks to Daniel Robbins for reporting this issue and helping me reproduce it. (trunk r12568) svn path=/main/branches/2.1.6/; revision=12849
* Implement Manifest2Entry.__ne__() so that comparisons inside Manifest.write()Zac Medico2009-03-111-0/+11
| | | | | | | work properly (to avoid rewriting an identical manifest when possible). (trunk r12567) svn path=/main/branches/2.1.6/; revision=12848
* Always ignore hidden files when generating Manifests. Thanks to ChristianZac Medico2009-03-111-1/+3
| | | | | | Ruppert for reporting. (trunk r12566) svn path=/main/branches/2.1.6/; revision=12847
* Fix color in merge list [ebuild ] display, so it's the same regardless ofZac Medico2009-03-111-1/+1
| | | | | | $ROOT. (trunk r12560) svn path=/main/branches/2.1.6/; revision=12846
* In EbuildFetcher._start(), don't touch the build dir when in prefetch mode.Zac Medico2009-03-111-6/+14
| | | | | | | | | | In this case, logging goes to emerge-fetch.log and the builddir should not be touched since otherwise it could interfere with another instance of the same cpv concurrently being built for a different $ROOT (currently, builds only cooperate with prefetchers that are spawned for the same $ROOT). Thanks to Daniel Robbins for reporting this issue. (trunk r12558) svn path=/main/branches/2.1.6/; revision=12844
* When scheduling builds in parallel for --jobs, avoid potential build dirZac Medico2009-03-111-0/+21
| | | | | | | | collisions in cases when the same exact cpv needs to be merged to multiple $ROOTs (like when building stages). Thanks for Daniel Robbins for reporting this issue and troubleshooting it. (trunk r12557) svn path=/main/branches/2.1.6/; revision=12843
* Remove the emerge-fetch.log lock message code from fetch() since this isZac Medico2009-03-111-14/+0
| | | | | | | handled by the EbuildBuild class when it synchronizes with the prefetcher. (trunk r12554) svn path=/main/branches/2.1.6/; revision=12840
* Inside fetch(), only mention /var/log/emerge-fetch.log in locking messagesZac Medico2009-03-111-1/+2
| | | | | | when called by emerge. (trunk r12553) svn path=/main/branches/2.1.6/; revision=12839
* Inside depgraph._dep_expand(), filter use dbapi.cp_list() to filter outZac Medico2009-03-111-2/+9
| | | | | | | any results from dbapi.cp_all() that happen to not contain any ebuilds. Thanks to Jeremy Olexa <darkside@g.o> for reporting. (trunk r12552) svn path=/main/branches/2.1.6/; revision=12838
* Add an ignore_priority parameter to digraph.parent_nodes(). (trunk r12551)Zac Medico2009-03-111-3/+9
| | | | svn path=/main/branches/2.1.6/; revision=12837
* Fix typo in previous commit. (trunk r12550)Zac Medico2009-03-111-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=12836
* Inside depgraph._add_dep(), drop unnecessary build-time deps if there isZac Medico2009-03-111-0/+4
| | | | | | no package available to satisfy it. (trunk r12549) svn path=/main/branches/2.1.6/; revision=12835
* Inside depgraph.loadResumeCommand(), always enable deep traversal ofZac Medico2009-03-111-7/+14
| | | | | | | | dependencies. This is necessary for correct --keep-going or --resume operation in case a package from a group of circularly dependent packages fails. (trunk r12548) svn path=/main/branches/2.1.6/; revision=12834
* Inside depgraph.loadResumeCommand(), when appropriate, complete the graphZac Medico2009-03-111-1/+7
| | | | | | before analyzing any unsatisfied deps that may exist. (trunk r12547) svn path=/main/branches/2.1.6/; revision=12833
* Make depgraph._add_dep() ignore fewer dependencies when not in --deep mode, byZac Medico2009-03-111-0/+1
| | | | | | | making it so that it will always account for dependencies on packages that are already installed. (trunk r12546) svn path=/main/branches/2.1.6/; revision=12832
* Make listdir(ignorecvs=True) ignore .git directories. Thanks to ChristianZac Medico2009-03-111-2/+5
| | | | | | Ruppert for the suggestion. (trunk r12545) svn path=/main/branches/2.1.6/; revision=12831
* Fix interaction between ignorelist and ignorecvs parameters inside cacheddir().Zac Medico2009-03-111-4/+7
| | | | | | Thanks to Christian Ruppert for reporting. (trunk r12544) svn path=/main/branches/2.1.6/; revision=12830
* Bug #199408 - Always enable the skip_masked and skip_unsatisfied for theZac Medico2009-03-111-7/+5
| | | | | | | resume_depgraph() function. This will cause emerge --resume to automatically drop masked packages (without the need to specify --skipfirst). (trunk r12543) svn path=/main/branches/2.1.6/; revision=12829
* In depgraph.loadResumeCommand(), account for unsatisfied dependencies ofZac Medico2009-03-111-5/+29
| | | | | | | installed packages if they are in the subgraph of dependencies of a package which is scheduled to be installed. (trunk r12542) svn path=/main/branches/2.1.6/; revision=12828
* Inside depgraph.loadResumeCommand(), ignore unsatisified dependencies thatZac Medico2009-03-111-2/+8
| | | | | | | | | | are pulled in by installed packages. This is needed in order to avoid having --keep-going bail out needlessly when one of a group of circularly dependent packages fails to install after one or more of the group have already been installed. TODO: Add sanity checks to make sure that it's really safe to ignore all the deps that can be ignored by this code. (trunk r12541) svn path=/main/branches/2.1.6/; revision=12827
* When in --keep-going mode, don't suppress the list of failed packages displayZac Medico2009-03-111-1/+2
| | | | | | | | at the end when there is only one failure, since the failure may have occurred much earlier and the related output may not be visible any longer. (trunk r12540) svn path=/main/branches/2.1.6/; revision=12826
* Fix svn:keywords again.Zac Medico2009-02-201-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=12660
* Add back Rev to svn:keywords (accidentally removed when setting Id). ThanksZac Medico2009-02-191-1/+1
| | | | | | to ABCD for reporting. svn path=/main/branches/2.1.6/; revision=12657
* Set svn:keywords Id on all files.Zac Medico2009-02-1815-15/+15
| | | | svn path=/main/branches/2.1.6/; revision=12627
* Bug #255358 - Add new RDEPEND.implicit warning to detect the caes where DEPENDv2.1.6.7Zac Medico2009-01-181-1/+28
| | | | | | | is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment. (trunk r12529) svn path=/main/branches/2.1.6/; revision=12537