summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* In dyn_clean, cd to $PORTAGE_BUILDDIR/.. before attempting to remove it sinceZac Medico2008-10-051-3/+4
| | | | | | | | some kernels, such as Solaris, return EINVAL when an attempt is made to remove the current working directory. Thanks to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=11630
* Bug #239529 - When doins is called on a symlink to a directory, preserve theZac Medico2008-10-051-5/+17
| | | | | | | name of the symlink for the installed directory. This involves temporarily renaming the directory and then renaming it back again. svn path=/main/trunk/; revision=11629
* * When ensuring sane $PWD in ebuild.sh, die if the `cd "$PORTAGE_BUILDDIR"`Zac Medico2008-10-052-3/+5
| | | | | | | | call fails. * Create $PORTAGE_BUILDDIR for the "fetch" phase too since it might be necessary to call pkg_nofetch. svn path=/main/trunk/; revision=11628
* Only update the confmem file when something has changed.Zac Medico2008-10-051-3/+5
| | | | svn path=/main/trunk/; revision=11627
* Fix PreservedLibsRegistry.store() so that it only rewrites the data file whenZac Medico2008-10-051-2/+3
| | | | | | something has changed. svn path=/main/trunk/; revision=11626
* Redirect pushd and popd output to /dev/null when appropriate.Zac Medico2008-10-051-3/+3
| | | | svn path=/main/trunk/; revision=11625
* Add missing quotes on pushd argument from previous commit.Zac Medico2008-10-051-1/+1
| | | | svn path=/main/trunk/; revision=11624
* Bug #239529 - Fix 'doins' to work with symlinks to directories, like it didZac Medico2008-10-051-3/+11
| | | | | | before the changes from bug #210575. svn path=/main/trunk/; revision=11623
* A cpv can be returned from dbapi.match() as an old-style virtual match evenZac Medico2008-10-051-6/+25
| | | | | | | | | | | in cases when the package does not actually PROVIDE the virtual. Filter out any such false matches inside depgraph._select_package() and _show_unsatisfied_dep(). Thanks to Ned Ludd <solar@g.o> for reporting this issue which was discovered when attempting to install virtual/libc on uclibc profile. Apparently the uclibc ebuilds need to be fixed to properly set PROVIDE when the metadata cache is generated. svn path=/main/trunk/; revision=11622
* Handle AttributeError in case os.getloadavg does not exist, like when pythonZac Medico2008-10-041-2/+2
| | | | | | is built agains uclibc. svn path=/main/trunk/; revision=11621
* Fix depgraph._add_pkg() to ensure that the existing package in the graphZac Medico2008-10-041-1/+10
| | | | | | | | | | matches the required atom in cases when a different package has been passed in. This solves a problem with silently unsatisfied USE deps that was reported by Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>. Now the unsatisfied dependency will result in a "slot conflict" rather than be silently ignored. svn path=/main/trunk/; revision=11618
* Make depgraph._add_pkg() take a Dependency instance. This provides access toZac Medico2008-10-041-14/+21
| | | | | | | | the atom which pulled in the package, which may be needed in order to verify that a different package that's been added to the graph is capable of satisfying the atom. svn path=/main/trunk/; revision=11617
* Fix `svn status` output parsing for compatibility with subversion-1.6. ThanksZac Medico2008-10-021-5/+5
| | | | | | to Arfrever for this patch. svn path=/main/trunk/; revision=11613
* Remove pointless copying of the owners dict inside display_preserved_libs().Zac Medico2008-10-021-3/+1
| | | | svn path=/main/trunk/; revision=11611
* Implement a new "changelog.ebuildadded" check which causes repoman to bailZac Medico2008-10-022-16/+44
| | | | | | | | out if an ebuild has been added and the ChangeLog has not been modified. This was requested by Robin H Johnson <robbat2@g.o> since it is a requirement for the packages.gentoo.org ChangeLog code. svn path=/main/trunk/; revision=11610
* In JobStatusDisplay._update(), set _displayed = True when ruturning early dueZac Medico2008-10-021-0/+1
| | | | | | | to stdout not being a tty. This fixes a problem excess output which was reported by Daniel Robbins. svn path=/main/trunk/; revision=11609
* Optimize display_preserved_libs() by using a single getFileOwnerMap() to lookZac Medico2008-10-021-3/+17
| | | | | | up all the files. svn path=/main/trunk/; revision=11608
* Fix broken logic in Scheduler._main_loop() which would allow the main loop toZac Medico2008-10-021-1/+1
| | | | | | | exit while one or more merges are still scheduled. Thanks to Patrick Lauer for reporting. svn path=/main/trunk/; revision=11607
* Call elog_process before calling the "clean" phase for --buildpkgonly mode.Zac Medico2008-10-021-0/+1
| | | | svn path=/main/trunk/; revision=11606
* When parsing PORTAGE_ELOG_SYSTEM, stack values in a dict so that things likeZac Medico2008-10-021-5/+15
| | | | | | | "echo:info echo:qa" stack like one might expect. Thanks to Betelgeuse for reporting. svn path=/main/trunk/; revision=11605
* Bug #239272 - Handle InvalidAtom exception insideZac Medico2008-10-011-4/+10
| | | | | | depgraph.validate_blockers(). svn path=/main/trunk/; revision=11604
* Generate an eqawarn message if econf is called from src_compile andZac Medico2008-10-011-0/+4
| | | | | | | | src_configure is also defined. Thanks to Betelgeuse for the patch which I've modified to be silent in EAPI 0 or 1 in case ebuilds want to define src_configure in those EAPIs and call it manually from src_compile. svn path=/main/trunk/; revision=11603
* Handle InvalidDependString from portdbapi.getFetchMap() insideZac Medico2008-09-301-5/+11
| | | | | | search.output(). Thanks to agaffney for reporting. svn path=/main/trunk/; revision=11602
* Now that elog_base() uses 'echo -e' to expand escape codes prior to usingZac Medico2008-09-302-6/+2
| | | | | | | | 'read' to split on newlines, it's safe to use newlines as delimiters in the log file since 'read' is guaranteed to split any newlines contained in the arguments. svn path=/main/trunk/; revision=11601
* Bug #239006 - In FakeVartree._aux_get_wrapper(), fall back to vdb metadataZac Medico2008-09-291-1/+3
| | | | | | if the live ebuild's EAPI is unsupported. svn path=/main/trunk/; revision=11600
* allow the portage.sets. prefix to be omitted in 'class' options of set ↵Marius Mauch2008-09-291-2/+5
| | | | | | definitions svn path=/main/trunk/; revision=11599
* Add a new DummyPackageSet handler to make set operators easier to useMarius Mauch2008-09-281-0/+13
| | | | svn path=/main/trunk/; revision=11598
* remove the 'repository' option from CategorySet in favor of the generic ↵Marius Mauch2008-09-282-19/+6
| | | | | | 'intersect' option svn path=/main/trunk/; revision=11597
* allow selection of metadata source for VariableSetMarius Mauch2008-09-281-6/+10
| | | | svn path=/main/trunk/; revision=11596
* make sure that cli-defined sets aren't added to @worldMarius Mauch2008-09-281-0/+1
| | | | svn path=/main/trunk/; revision=11595
* For compatibility with long-standing --columns behavior, do not displayZac Medico2008-09-281-0/+5
| | | | | | | "uninstall" or satsified "blocks" nodes in the merge list when --columns is enabled. Thanks to solar for the suggestion. svn path=/main/trunk/; revision=11594
* add support for slot dependencies (original patch by Robert Buchholz ↵Marius Mauch2008-09-281-3/+8
| | | | | | <rbu@gentoo.org>) svn path=/main/trunk/; revision=11593
* use summarylist for output of test mode when --verbose is given (patch by ↵Marius Mauch2008-09-281-5/+5
| | | | | | Robert Buchholz <rbu@gentoo.org>) svn path=/main/trunk/; revision=11592
* sort summarylist output (patch by Robert Buchholz <rbu@gentoo.org>)Marius Mauch2008-09-282-1/+2
| | | | svn path=/main/trunk/; revision=11591
* print dates in a consistent format (patch by Robert Buchholz <rbu@gentoo.org>)Marius Mauch2008-09-281-1/+29
| | | | svn path=/main/trunk/; revision=11590
* also accept glsa-2.dtd as valid for GLSAs (patch by Robert Buchholz ↵Marius Mauch2008-09-281-1/+5
| | | | | | <rbu@gentoo.org>) svn path=/main/trunk/; revision=11589
* account for DTD changes wrt 'revised' element (patch by Robert Buchholz ↵Marius Mauch2008-09-281-2/+18
| | | | | | <rbu@gentoo.org>) svn path=/main/trunk/; revision=11588
* document AgeSet handler classMarius Mauch2008-09-281-0/+26
| | | | svn path=/main/trunk/; revision=11587
* update set config documentation to include extend, remove and intersect optionsMarius Mauch2008-09-281-7/+18
| | | | svn path=/main/trunk/; revision=11586
* use ignorelist to avoid potential infite loopMarius Mauch2008-09-281-2/+2
| | | | svn path=/main/trunk/; revision=11585
* Add operator logic to sets.confMarius Mauch2008-09-281-4/+28
| | | | svn path=/main/trunk/; revision=11584
* Properly process set arguments inside set expressionsMarius Mauch2008-09-281-38/+48
| | | | svn path=/main/trunk/; revision=11583
* disable redefintion errors when updating the set definitionsMarius Mauch2008-09-281-6/+5
| | | | svn path=/main/trunk/; revision=11582
* implement set arguments to reconfigure and create package sets on the ↵Marius Mauch2008-09-282-1/+50
| | | | | | commandline svn path=/main/trunk/; revision=11581
* Another correctness fix in BlockerDB.findInstalledBlockers().Zac Medico2008-09-271-1/+1
| | | | svn path=/main/trunk/; revision=11576
* Fix code inside BlockerDB.findInstalledBlockers() to correctly strip multipleZac Medico2008-09-271-2/+2
| | | | | | | "!" characters when necessary. The code seemed to work fine anyway so this is more a correctness fix than a bug fix. svn path=/main/trunk/; revision=11575
* EAPI 2 is now supported.Zac Medico2008-09-271-5/+3
| | | | svn path=/main/trunk/; revision=11574
* Mask packages with deprecated EAPIs in order to prevent them from beingZac Medico2008-09-273-7/+21
| | | | | | | | installed. Such packages will still behave normally if they are already installed, but preventing new installation will remind people to update the EAPIs in their overlays if necessary. svn path=/main/trunk/; revision=11573
* In the --depclean docs, there's no need to advise the user to use --oneshotZac Medico2008-09-273-3/+3
| | | | | | | when updating @system @world since @system now has world-candidate set to False by default. svn path=/main/trunk/; revision=11564
* Make $PWD default to $PORTAGE_BUILDDIR since $WORKDIR is sometimes createdZac Medico2008-09-271-2/+2
| | | | | | later. svn path=/main/trunk/; revision=11563