summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Eliminate a redundant os.path.join() call.Zac Medico2008-04-021-2/+1
| | | | svn path=/main/trunk/; revision=9678
* Handle a potential FileNotFound exception in new_protect_filename() whenZac Medico2008-04-021-3/+9
| | | | | | | the last ._cfg* file happens to be a broken symlink. Thanks to bonsaikitten for reporting. svn path=/main/trunk/; revision=9677
* Remove the digraph._parent_child_digraph since it's no longer needed. It'sZac Medico2008-04-011-10/+7
| | | | | | | main purpose was to track PDEPEND relationships but those are handled just like the other deps now. svn path=/main/trunk/; revision=9675
* Bug #215673 - Make ebuild.sh leave IUSE defaults intact instead of filteringZac Medico2008-04-011-14/+0
| | | | | | | them out. The built_with_use() function in eutils.eclass needs to be updated for compatibility. svn path=/main/trunk/; revision=9674
* Use pkgcmp() instead of == and best() for correctness in case of implicitZac Medico2008-04-011-2/+4
| | | | | | -r0. svn path=/main/trunk/; revision=9672
* Remove some boolean logic that is obsolete now that the "selective" parameterZac Medico2008-04-011-4/+1
| | | | | | is passed into dep_zapdeps(). svn path=/main/trunk/; revision=9669
* Exploid ascending order returned from dbapi.match() calls to avoid the needZac Medico2008-04-011-2/+4
| | | | | | to call best(). svn path=/main/trunk/; revision=9665
* Handle missing LICENSE in the Packages index since that's allowed forZac Medico2008-04-011-0/+1
| | | | | | virtual packages. svn path=/main/trunk/; revision=9662
* When identifying a sys-apps/portage node, compare category too (not justZac Medico2008-04-011-2/+1
| | | | | | "portage". svn path=/main/trunk/; revision=9660
* Bug #215308 - Cache the paths of known bad manifests to ensure that theZac Medico2008-04-011-1/+8
| | | | | | same broken manifest is never checked twice. svn path=/main/trunk/; revision=9658
* When deps are forced to be satisfied by installed packages due to maskingZac Medico2008-03-311-3/+8
| | | | | | | | or unavailability, only tolerate it when the atom comes from either the system or world set since otherwise it's a good idea to bail so that the user can correct the problem. svn path=/main/trunk/; revision=9656
* In the package selection loop, move the installed package rejectionZac Medico2008-03-311-10/+6
| | | | | | code as early as possible. svn path=/main/trunk/; revision=9654
* Fix package selection logic to always properly reject the installed packageZac Medico2008-03-311-2/+4
| | | | | | when another is available and the user wants to reinstall. svn path=/main/trunk/; revision=9652
* Remove some redundant and obsolete code for warning about installedZac Medico2008-03-311-22/+2
| | | | | | packages pulled into the graph. svn path=/main/trunk/; revision=9650
* When selecting packages and there is a mixture of old-style and new-styleZac Medico2008-03-311-4/+17
| | | | | | virtual matches, filter out the old-style virtual matches. svn path=/main/trunk/; revision=9648
* Bug #197810 - Fix package selection logic so that it will always fall backZac Medico2008-03-311-8/+0
| | | | | | to an installed package when necessary. svn path=/main/trunk/; revision=9646
* Make depgraph creation more tolerant of missing or masked packages whenZac Medico2008-03-311-21/+24
| | | | | | | | | | | the relevant deps are satisfied by installed packages. This kind of friendliness is especially desired in cases such as --emptytree where it might not be possible to reinstall every single package. Also, it allows multislot atoms from the world file (that are necessary to prevent them from being removed by depclean) trigger warning messages while still allowing a --emptytree to proceed. svn path=/main/trunk/; revision=9645
* Replace an package tuple with a real Package instance.Zac Medico2008-03-311-2/+1
| | | | svn path=/main/trunk/; revision=9644
* Pass Package instances into visible() so that the package instance canZac Medico2008-03-311-27/+30
| | | | | | | be used to cache relevant visibility information such as whether or not the package is corrupt or otherwise invalid. svn path=/main/trunk/; revision=9643
* When dblink.treewalk() queries for other packages in the same slot, filterZac Medico2008-03-301-3/+6
| | | | | | out old-style virtual matches since they are not desired. svn path=/main/trunk/; revision=9637
* Make sure the all resume lists are deleted when a stale one is encountered.Zac Medico2008-03-301-1/+5
| | | | svn path=/main/trunk/; revision=9636
* * Fix broken return value for doins.Zac Medico2008-03-302-5/+15
| | | | | | * Make newins cleanup temp files after itself. svn path=/main/trunk/; revision=9634
* Fix typos. Thanks to Arfrever Frehtes Taifersar ArahesisZac Medico2008-03-304-6/+6
| | | | | | <Arfrever.FTA@GMail.Com>. svn path=/main/trunk/; revision=9632
* Fix display code that can triger a 'Invalid category' exception when itZac Medico2008-03-301-17/+17
| | | | | | is given a blocker. It's only supposed to execute for normal packages. svn path=/main/trunk/; revision=9630
* Make doins clean up it's own temp files. This solves an odd issue inZac Medico2008-03-301-1/+3
| | | | | | | | dyn_package() when portage 2.1.x is installing portage-2.2 and temp python module files from doins are imported instead of the expected ones. svn path=/main/trunk/; revision=9628
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-4/+5
| | | | svn path=/main/trunk/; revision=9625
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-1/+2
| | | | svn path=/main/trunk/; revision=9623
* Move the AUTOCLEAN code into dblink.treewalk since it's already partiallyZac Medico2008-03-302-18/+8
| | | | | | | | supported there anyway (for replacement of identical cpv). This has the benefit of guaranteeing that the order of installation and removal phases is always the same. svn path=/main/trunk/; revision=9621
* Do not allow commit mode together with the --without-mask options.Zac Medico2008-03-302-4/+7
| | | | svn path=/main/trunk/; revision=9619
* Make code a bit less prone to potentially hidden TypeError like bugs.Zac Medico2008-03-301-9/+10
| | | | svn path=/main/trunk/; revision=9616
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-1/+2
| | | | svn path=/main/trunk/; revision=9615
* Use enumerate() it iterate over an array.Zac Medico2008-03-301-2/+1
| | | | svn path=/main/trunk/; revision=9613
* For bugs #197810 and #215308, pass the depgraph's "selective" parameterZac Medico2008-03-302-1/+4
| | | | | | | down into dep_check() for better atom preference selection when handling virtuals and other disjunctive || dependencies. (branches/2.1.2 r9610) svn path=/main/trunk/; revision=9611
* Bug #215308 - Simplify the greedy atoms logic so that it behaves moreZac Medico2008-03-301-22/+5
| | | | | | like StaticFileSet and won't pull in lower slots. svn path=/main/trunk/; revision=9607
* When dyn_unpack() automatically cleans ${WORKDIR}, also remove thingsZac Medico2008-03-291-0/+1
| | | | | | like .unpacked and .compiled so that the state is consistent. svn path=/main/trunk/; revision=9606
* Bug #214619 - Run dyn_package() and preinst_mask() from ${T} instead ofZac Medico2008-03-292-6/+15
| | | | | | | | | ${D} in order to avoid leaving gmon.out files in ${D} in case any tools were built with -pf in CFLAGS. Also, call preinst_mask() after all other functions so that INSTALL_MASK can be used to wipe out any gmon.out files created during previous functions. svn path=/main/trunk/; revision=9592
* Add a note about PKG_INSTALL_MASK.Zac Medico2008-03-291-1/+4
| | | | svn path=/main/trunk/; revision=9591
* Fix quoting for ${root} in install_mask().Zac Medico2008-03-291-1/+1
| | | | svn path=/main/trunk/; revision=9590
* When a resume list contains packages that are no longer available,Zac Medico2008-03-291-0/+2
| | | | | | automatically delete it. svn path=/main/trunk/; revision=9589
* Bug #215240 - Use an alarm signal to implement a 60 second timeout inZac Medico2008-03-291-1/+12
| | | | | | finalize() in case send_mail() blocks indefinitely. svn path=/main/trunk/; revision=9588
* Add a new "ebuild.patches" check for the PATCHES variable that's used byZac Medico2008-03-294-3/+15
| | | | | | | | base_src_unpack() from base.eclass. This generates a warning if the variable is not defined as an array, since this is required for white space safety. Thanks to Betelgeuse for the initial patch. svn path=/main/trunk/; revision=9587
* Don't trigger the 'java.eclassesnotused' on blocker atoms.Zac Medico2008-03-291-1/+5
| | | | svn path=/main/trunk/; revision=9586
* Add a new "java.eclassesnotused" check for cases where DEPEND containsZac Medico2008-03-282-0/+13
| | | | | | | | virtual/jdk and and the appropriate java eclass has not been inherited (a violation of the java team's policy). Thanks to Betelgeuse for the initial patch. svn path=/main/trunk/; revision=9585
* Bug #214691 - Move the "slot collision" display so that it is shown afterZac Medico2008-03-281-6/+37
| | | | | | | the merge list where it is most likely to be seen (along with other depgraph problems). svn path=/main/trunk/; revision=9584
* * Skip the recusive chown call if it fails on the top level directory sinceZac Medico2008-03-281-3/+3
| | | | | | | | it's possible that emerge-webrsync is not run by root. * Just chown to portage:portage instead of using PORTAGE_INST_{UID,GID}. svn path=/main/trunk/; revision=9538
* Disable tarsync when using lzma compression since it doesn't seem to beZac Medico2008-03-281-1/+2
| | | | | | | supported. svn path=/main/trunk/; revision=9537
* Bug #214619 - Add support for a PORTAGE_BINPKG_TAR_OPTS variable thatZac Medico2008-03-284-3/+9
| | | | | | | allows the user to specify tar command options for binary package creation. svn path=/main/trunk/; revision=9528
* Make dyn_clean() consistent wrt removal of ${PORTAGE_BUILDDIR}/image andZac Medico2008-03-281-1/+1
| | | | | | | | | ${PORTAGE_BUILDDIR}/.installed since otherwise with FEATURES=keepwork dyn_install() will not call src_install() as necessary to repopulate ${PORTAGE_BUILDDIR}/image (resulting in install_qa_check failure due to absence of ${PORTAGE_BUILDDIR}/image). svn path=/main/trunk/; revision=9527
* Bug #213698 - Make FEAUTURES=keepwork and keeptemp preserve ${T}/environmentZac Medico2008-03-281-7/+3
| | | | | | since it may contain essential state. svn path=/main/trunk/; revision=9526
* Bug #213629 - Use EAPI.incompatible in cases where EAPI=0 and a defaultZac Medico2008-03-281-2/+9
| | | | | | IUSE is encountered. svn path=/main/trunk/; revision=9525