portage.git
19 years agoImplement QA check for install_names (libraries linked to, and their
Fabian Groffen [Sun, 2 Sep 2007 10:02:06 +0000 (10:02 -0000)]
Implement QA check for install_names (libraries linked to, and their
location) on Darwin, such that we can detect upfront if something is
going to error out during runtime.  Try to correct invalid install_names
if they are in the image, which can be a result of gen_usr_ldscript
library movements and breaks any tool shipped with that library itself,
e.g. libiconv's `iconv` utility.

svn path=/main/branches/prefix/; revision=7724

19 years ago<zmedico> grobian: in python, there are built-in constants True and False
Fabian Groffen [Sat, 1 Sep 2007 18:25:35 +0000 (18:25 -0000)]
<zmedico> grobian: in python, there are built-in constants True and False
(must be capitalized). you wanted to use True in r7721.

svn path=/main/branches/prefix/; revision=7723

19 years ago Merged from trunk 7719:7720
Fabian Groffen [Sat, 1 Sep 2007 14:55:12 +0000 (14:55 -0000)]
   Merged from trunk 7719:7720

   | 7720    | Reformat collision-protect output so that the list of file   |
   | zmedico | collisions is shown below the banner. This puts more         |
   |         | distance between the collision list and the list of files    |
   |         | that prepstrip often displays just above, hopefully          |
   |         | preventing user confusion about which files had collisions.  |

svn path=/main/branches/prefix/; revision=7722

19 years agoQuote, such that python doesn't bail out
Fabian Groffen [Sat, 1 Sep 2007 14:50:20 +0000 (14:50 -0000)]
Quote, such that python doesn't bail out

svn path=/main/branches/prefix/; revision=7721

19 years ago Merged from trunk 7717:7718
Fabian Groffen [Wed, 29 Aug 2007 16:59:46 +0000 (16:59 -0000)]
   Merged from trunk 7717:7718

   | 7718    | Move some of the less expensive QA checks before dep_check() |
   | zmedico | so that they're still done even in --force mode.             |

svn path=/main/branches/prefix/; revision=7719

19 years agoIt looks nicer if we just say
Fabian Groffen [Tue, 28 Aug 2007 08:35:56 +0000 (08:35 -0000)]
It looks nicer if we just say

>>> Emerging (1 of 1) sys-devel/autoconf-wrapper-4-r3 to /
>>> Extracting info
!!! Incompatible binary package: made for x86_64-pc-linux-gnu, you are
on i386-pc-solaris2.10

instead of some backtrace because formatter arguments do not match the
expected number.

svn path=/main/branches/prefix/; revision=7717

19 years ago Merged from trunk 7708:7714
Fabian Groffen [Tue, 28 Aug 2007 08:16:35 +0000 (08:16 -0000)]
   Merged from trunk 7708:7714

   | 7709    | Add a --force option that forces commit to proceed. This is  |
   | zmedico | useful for cases like bug #110443 where the commit normally  |
   |         | isn't allowed but there are exceptional circumstances where  |
   |         | it may be acceptable.                                        |

   | 7710    | Bug #110443 - Add a KEYWORDS.stable check for ebuilds that   |
   | zmedico | are added directly with stable KEYWORDS.                     |
   |         | Prefix: I don't know how to apply this to SVN.               |

   | 7711    | Fix RepoMan's grammar.                                       |
   | zmedico |                                                              |

   | 7712    | Make the commit message indicate when the --force option is  |
   | zmedico | used.                                                        |

   | 7713    | Skip the most expensive QA tests when --force in enabled     |
   | zmedico | since there's no point in wasting time on them when the user |
   |         | is intent on forcing the commit anyway.                      |

   | 7714    | Convert myoptions from a list to a dict.                     |
   | zmedico |                                                              |

svn path=/main/branches/prefix/; revision=7716

19 years agoApparently it was a bit too late yesterday. I meant to add EPREFIX, not
Fabian Groffen [Tue, 28 Aug 2007 08:08:00 +0000 (08:08 -0000)]
Apparently it was a bit too late yesterday.  I meant to add EPREFIX, not
EAPI.

svn path=/main/branches/prefix/; revision=7715

19 years agoAdd EPREFIX as env setting, such that we can retrieve it as file from
Fabian Groffen [Mon, 27 Aug 2007 20:44:19 +0000 (20:44 -0000)]
Add EPREFIX as env setting, such that we can retrieve it as file from
the binary package.  If it's absent, abort mission.  Drop EAPI check, as
that should be dealt with in other code already.  (But having an EPREFIX
file implicitly says we have EAPI=prefix anyway...)

svn path=/main/branches/prefix/; revision=7708

19 years ago Merged from trunk 7698:7705
Fabian Groffen [Mon, 27 Aug 2007 19:41:03 +0000 (19:41 -0000)]
   Merged from trunk 7698:7705

   | 7699     | remove $Id$ as it gives us nothing useful                   |
   | SpankMan |                                                             |

   | 7700     | Bug #190214 - Make the rpm phase use /usr/src/rpm instead   |
   | zmedico  | of /usr/src/redhat. Bug #190144 - Use the realpath of       |
   |          | DISTDIR so that things like subversion.eclass are           |
   |          | compatible with sandbox.                                    |

   | 7701     | Move blocker handling from depgraph.create() to             |
   | zmedico  | select_dep().                                               |

   | 7702     | change directory to / in case $PWD doesnt exist             |
   | SpankMan |                                                             |

   | 7705     | Bug #190406 - Filter the myheaders list so that it doesn't  |
   | zmedico  | include binary blobs added to cvs with the -kb option.      |

svn path=/main/branches/prefix/; revision=7707

19 years agoA first shot at binary packages support for prefix. In itself, binary
Fabian Groffen [Mon, 27 Aug 2007 19:21:53 +0000 (19:21 -0000)]
A first shot at binary packages support for prefix.  In itself, binary
packages work fine of course, but once you want to share the binary
package between users with different prefixes (like from a binhost),
then you need to cope with that.  After some testing chpathtool appears
to be able to successfully change paths encoded in binaries, in order to
adjust to the proper prefix.  For a binhost setting, binary packages
need to have an artificially long and annoying prefix to make it work
the most people.

svn path=/main/branches/prefix/; revision=7706

19 years agoDon't remove files which the ebuild lateron tries to install
Fabian Groffen [Sun, 26 Aug 2007 17:35:44 +0000 (17:35 -0000)]
Don't remove files which the ebuild lateron tries to install

svn path=/main/branches/prefix/; revision=7703

19 years ago Merged from trunk 7646:7695
Fabian Groffen [Sat, 25 Aug 2007 10:50:06 +0000 (10:50 -0000)]
   Merged from trunk 7646:7695

   | 7647      | Fix ACCEPT_KEYWORDS validation so that ** is valid.        |
   | zmedico   |                                                            |

   | 7651      | Just use os.listdir() since portage.listdir() is           |
   | zmedico   | unnecessary.                                               |

   | 7652      | Try harder to figure out what OS we are running            |
   | WarnerBro |                                                            |

   | 7653      | Bug #189743 - Add .jpeg to the list of extensions          |
   | zmedico   | supported by dohtml.                                       |

   | 7655      | Show cache miss/hit counts all on one line, using \r to    |
   | zmedico   | return to the beginning of he line and rewrite it each     |
   |           | time that a counter is updated. Thanks to Mike "Fuzzy"     |
   |           | Partin <fuzzy@smoke.dope.org> for this patch (submitted on |
   |           | the gentoo-portage-dev mailing list).                      |

   | 7656      | Send cache hit/miss status updates to stdout instead of    |
   | zmedico   | stderr and add some more flush() calls.                    |

   | 7659      | Make --info detect more /etc/*-release files as suggested  |
   | zmedico   | by grobian.                                                |

   | 7661      | Bug #188703 - Don't adjust permissions in ${T} unless      |
   | zmedico   | userpriv is enabled.                                       |

   | 7663      | Pass complete package metadata from depgraph.select_dep()  |
   | zmedico   | into create() in order to minimize aux_get calls.          |

   | 7664      | Make best() return early when it's only given one          |
   | zmedico   | packages.                                                  |

   | 7665      | Fix update_dbentry() to process version components         |
   | zmedico   | properly before passing them into ververify().             |

   | 7666      | Make depgraph.select_dep() reuse cached metadata from      |
   | zmedico   | nodes that have already been added to the graph.           |

   | 7671      | Skip --newuse checks for nodes that have already been      |
   | zmedico   | added to the graph as "merge" nodes.                       |

   | 7672      | Prevent output from being flushed to the console too       |
   | zmedico   | frequently in dir_get_metadata().                          |

   | 7674      | Use INFORM to colorize the package name.                   |
   | zmedico   |                                                            |

   | 7676      | Fix a typo from r7663.                                     |
   | zmedico   |                                                            |

   | 7678      | Bug #189791 - Send errors to /dev/null when debug-print()  |
   | zmedico   | fails to write to ${T}/eclass-debug.log.                   |

   | 7680      | Make depgraph.create() avoid metadata lookups for binary   |
   | zmedico   | packages and ebuilds in cases where an installed package   |
   |           | has already been added to the graph. This greatly improves |
   |           | performance when the graph contains a large number of      |
   |           | installed packages.                                        |

   | 7682      | In config.regenerate(), skip loading /etc/profile.env if   |
   | zmedico   | it's mtime hasn't changed.                                 |

   | 7684      | Bug #189791 - Define EBUILD_PHASE=unpack during the        |
   | zmedico   | nofetch phase since otherwise we get EBUILD_PHASE=merge    |
   |           | which isn't in our list of valid EBUILD_PHASES recognized  |
   |           | by elog.                                                   |

   | 7686      | Make depgraph.select_dep() node reuse work when in         |
   | zmedico   | --usepkgonly mode.                                         |

   | 7688      | Add * and ~* to the list of valid values for               |
   | zmedico   | ACCEPT_KEYWORDS.                                           |

   | 7690      | Fix a typo.                                                |
   | zmedico   |                                                            |

   | 7691      | Fix another typo.                                          |
   | zmedico   |                                                            |

   | 7692      | Use a config.reload() method to explicitly reload          |
   | zmedico   | /etc/profile.env when setting up the ebuild environment.   |

   | 7693      | Call config.regenerate() after config.reload() so that the |
   | zmedico   | incrementals are restacked.                                |

   | 7694      | Don't cache results from match_from_list() since           |
   | zmedico   | *dbapi.match() caches do the job.                          |

   | 7695      | Remove pointless information from --info output            |
   | genone    |                                                            |

svn path=/main/branches/prefix/; revision=7698

19 years agoFix up svnlogmsg.awk such that it generates only the log entries for the
Fabian Groffen [Sat, 25 Aug 2007 10:39:58 +0000 (10:39 -0000)]
Fix up svnlogmsg.awk such that it generates only the log entries for the
revisions that svn merge merged.  Bleh.

svn path=/main/branches/prefix/; revision=7697

19 years agoThanks to Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
Fabian Groffen [Sat, 25 Aug 2007 10:15:04 +0000 (10:15 -0000)]
Thanks to Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>

   | 7644     | remove "risky" message about -O2                            |
   | SpankMan |                                                             |

merged now.  Subversion isn't nice to me.

svn path=/main/branches/prefix/; revision=7696

19 years ago Merged from trunk 7644:7645
Fabian Groffen [Sun, 19 Aug 2007 09:56:50 +0000 (09:56 -0000)]
   Merged from trunk 7644:7645

   | 7644     | remove "risky" message about -O2                            |
   | SpankMan |                                                             |

   | 7645     | filter out kernel modules from ELF QA checks #184443        |
   | SpankMan |                                                             |

svn path=/main/branches/prefix/; revision=7646

19 years ago Merged from trunk 7621:7639
Fabian Groffen [Fri, 17 Aug 2007 21:13:03 +0000 (21:13 -0000)]
   Merged from trunk 7621:7639

   | 7622     | Add some floating point vercmp cases.                       |
   | zmedico  |                                                             |

   | 7625     | Always assign higher priority to dependencies on packages   |
   | zmedico  | that are being rebuilt (except when --emptytree is enabled  |
   |          | since all packages are merged in that case). This optimizes |
   |          | merge order so that dependencies are rebuilt/updated as     |
   |          | soon as possible.                                           |

   | 7627     | Combine 2 locations in depgraph.create() where nodes are    |
   | zmedico  | added to the digraph. This ensures that dependencies on     |
   |          | "rebuild" nodes always have their priority increased.       |

   | 7628     | Fix existing_node logic inside depgraph.create().           |
   | zmedico  |                                                             |

   | 7632     | make -f/-F distinction clearer                              |
   | SpankMan |                                                             |

   | 7636     | Make etc-update copy owner and group bits when it merges    |
   | zmedico  | config files.                                               |

   | 7639     | For bug #189219, use pkgcmp() to sort versions in           |
   | zmedico  | selected/protected/omitted unmerge display.                 |

svn path=/main/branches/prefix/; revision=7642

19 years ago Merged from trunk 7601:7609
Fabian Groffen [Wed, 15 Aug 2007 16:58:26 +0000 (16:58 -0000)]
   Merged from trunk 7601:7609

   | 7602    | Make sure to skip info dir files with the .old extension.    |
   | zmedico |                                                              |

   | 7604    | For bug #188782, dependencies on packages specified as       |
   | zmedico | arguments are given higher priority since the currently      |
   |         | installed version has been rendered useless by ABI breakage. |
   |         | It's okay to increase the priority here even if the caller   |
   |         | is not revdep-rebuild.                                       |

   | 7606    | For bug #188449, since python floats have limited range, we  |
   | zmedico | multiply both floating point representations by a constant   |
   |         | so that they are transformed into whole numbers. This allows |
   |         | the practically infinite range of a python int to be         |
   |         | exploited. The multiplication is done by padding both        |
   |         | literal strings with zeros as necessary to ensure equal      |
   |         | length.                                                      |

   | 7609    | For bug #188807, add nocreate and delaycompress options for  |
   | zmedico | logrotate.                                                   |

svn path=/main/branches/prefix/; revision=7611

19 years ago Merged from trunk 7598:7599
Fabian Groffen [Tue, 14 Aug 2007 19:04:00 +0000 (19:04 -0000)]
   Merged from trunk 7598:7599

   | 7599    | For bug #188782, keep "nomerge" nodes in the graph during    |
   | zmedico | the merge order calculation so that merge order is better in |
   |         | cases where installed packages have unsatisfied              |
   |         | dependencies.                                                |

svn path=/main/branches/prefix/; revision=7601

19 years ago Merged from trunk 7595:7597
Fabian Groffen [Mon, 13 Aug 2007 20:09:59 +0000 (20:09 -0000)]
   Merged from trunk 7595:7597

   | 7596  | 'decent' CFLAGS should not feature -O3. Bug 188619             |
   | solar |                                                                |

   | 7597  | - revert a few -O2 when they should of remained -O3 in         |
   | solar | comments                                                       |

svn path=/main/branches/prefix/; revision=7598

19 years ago Merged from trunk 7586:7593
Fabian Groffen [Sun, 12 Aug 2007 17:46:20 +0000 (17:46 -0000)]
   Merged from trunk 7586:7593

   | 7587    | Don't generate a QA Notice if the ${S} directory doesn't     |
   | zmedico | exist since it might be irrelevant for some ebuilds.         |

   | 7589    | Optimize config.setcpv() so that it doesn't call             |
   | zmedico | regenerate() unnecessarily when there are no USE wildcards   |
   |         | to expand.                                                   |

   | 7591    | For bug #188559, invalidate dblink._contents_inodes as       |
   | zmedico | necessary to prevent FEATURES=unmerge-orphans from unmerging |
   |         | anything that belongs to the package that has just been      |
   |         | merged.                                                      |

   | 7593    | For bug #33585, leave the old info dir file in place if      |
   | zmedico | there is nothing to generate.                                |

svn path=/main/branches/prefix/; revision=7595

19 years agoFix portage creating multiple levels of prefixes. PRIVATE_PATH etc are
Fabian Groffen [Fri, 10 Aug 2007 17:13:35 +0000 (17:13 -0000)]
Fix portage creating multiple levels of prefixes.  PRIVATE_PATH etc are
already prefixed, so don't prefix them again.

svn path=/main/branches/prefix/; revision=7586

19 years ago Merged from trunk 7571:7583
Fabian Groffen [Tue, 7 Aug 2007 08:37:13 +0000 (08:37 -0000)]
   Merged from trunk 7571:7583

   | 7572      | Make sure that portage always has all of it's RDEPENDs     |
   | zmedico   | installed first.                                           |

   | 7574      | Use == for comparison of portage_node since                |
   | zmedico   | digraph.clone() makes a deepcopy of the nodes.             |

   | 7576      | For bug #187806, use mkstemp to create                     |
   | zmedico   | tmpservertimestampfile (instead of using PORTAGE_TMPDIR).  |

   | 7578      | Fix from ferringb                                          |
   | WarnerBro |                                                            |

   | 7579      | Merge rewrite by Alon Bar-Lev from bug #130039: - Verify   |
   | zmedico   | gpg signature of snapshot if FEATURES="webrsync-gpg" is    |
   |           | enabled. - Add a --revert=yyyymmdd option that alows a     |
   |           | specific snapshot to be used.                              |

   | 7580      | For bug #187795, remove pointless digest.disjointed and    |
   | zmedico   | digest.notadded warnings since they are always added to    |
   |           | cvs automatically anyway.                                  |

   | 7582      | Document FEATURES=webrsync-gpg. Thanks to Arfrever Frehtes |
   | zmedico   | Taifersar Arahesis in bug #130039.                         |

   | 7583      | Update emerge --help and --info docs. Thanks to Arfrever   |
   | zmedico   | Frehtes Taifersar Arahesis in bug #137483.                 |

svn path=/main/branches/prefix/; revision=7585

19 years ago Merged from trunk 7569:7570
Fabian Groffen [Sat, 4 Aug 2007 21:38:32 +0000 (21:38 -0000)]
   Merged from trunk 7569:7570

   | 7570    | Move ecompressdir and ecompress --dequeue after prepall.     |
   | zmedico |                                                              |

svn path=/main/branches/prefix/; revision=7571

19 years ago Merged from trunk 7567:7568
Fabian Groffen [Sat, 4 Aug 2007 21:32:14 +0000 (21:32 -0000)]
   Merged from trunk 7567:7568

   | 7568    | Call ecompressdir and ecompress --dequeue outside of prepall |
   | zmedico | since ruby.eclass overrides prepall.                         |

svn path=/main/branches/prefix/; revision=7569

19 years ago Merged from trunk 7563:7564
Fabian Groffen [Sat, 4 Aug 2007 21:26:58 +0000 (21:26 -0000)]
   Merged from trunk 7563:7564

   | 7564    | Make config updates get counted correctly for bug #187741.   |
   | zmedico |                                                              |

svn path=/main/branches/prefix/; revision=7567

19 years agoadd missing source statement (vimdiffed with trunk)
Fabian Groffen [Sat, 4 Aug 2007 21:15:18 +0000 (21:15 -0000)]
add missing source statement (vimdiffed with trunk)

svn path=/main/branches/prefix/; revision=7566

19 years agoRemove stupid hack to trigger --metadata after sync. Now I'm older I
Fabian Groffen [Sat, 4 Aug 2007 09:49:19 +0000 (09:49 -0000)]
Remove stupid hack to trigger --metadata after sync.  Now I'm older I
understand that this is useless, since we don't have metadata cache in
the SVN tree (and neither will we have as this won't work due to
mtime+svn problems).

svn path=/main/branches/prefix/; revision=7563

19 years agoLet's have something to read in README
Fabian Groffen [Sat, 4 Aug 2007 09:45:13 +0000 (09:45 -0000)]
Let's have something to read in README

svn path=/main/branches/prefix/; revision=7562

19 years agoset Id keyword expansion
Fabian Groffen [Sat, 4 Aug 2007 09:40:10 +0000 (09:40 -0000)]
set Id keyword expansion

svn path=/main/branches/prefix/; revision=7561

19 years agoAvoid double slashes.
Fabian Groffen [Sat, 4 Aug 2007 09:30:37 +0000 (09:30 -0000)]
Avoid double slashes.

svn path=/main/branches/prefix/; revision=7560

19 years agoRemove the horizontal lines from the table output on request of leio,
Fabian Groffen [Sat, 4 Aug 2007 09:25:30 +0000 (09:25 -0000)]
Remove the horizontal lines from the table output on request of leio,
such that the commit message looks a bit better/less annoying on #-commits.

svn path=/main/branches/prefix/; revision=7559

19 years ago Merged from trunk 7552:7555
Fabian Groffen [Sat, 4 Aug 2007 09:18:10 +0000 (09:18 -0000)]
   Merged from trunk 7552:7555

   | 7553    | Make droppriv for the depend phase conditional on userpriv   |
   | zmedico | in FEATURES.                                                 |

   | 7555    | Remove the depend phase from the doebuild actionmap since    |
   | zmedico | it's never used.                                             |

svn path=/main/branches/prefix/; revision=7558

19 years agovimdiff against trunk
Fabian Groffen [Fri, 3 Aug 2007 19:27:13 +0000 (19:27 -0000)]
vimdiff against trunk

svn path=/main/branches/prefix/; revision=7552

19 years ago Merged from trunk 7534:7550
Fabian Groffen [Fri, 3 Aug 2007 19:04:08 +0000 (19:04 -0000)]
   Merged from trunk 7534:7550

   +------------------------------------------------------------------------+
   | 7535    | For bug #187375, handle an ImportError when portage is       |
   | zmedico | downgraded to a version without mod_echo.                    |
   |---------+--------------------------------------------------------------|
   | 7537    | Like older versions of portage, don't show the repo display  |
   | zmedico | if [0] is all that will be shown.                            |
   |---------+--------------------------------------------------------------|
   | 7541    | For bug #187480, fix writemsg args in portdbapi.gvisible().  |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7544    | For bug #187518, handle EISDIR thrown from mkdir when the    |
   | zmedico | directory already exists on FreeBSD.                         |
   |---------+--------------------------------------------------------------|
   | 7547    | s/portage.eclass_cache/eclass_cache/ since eclass_cache is   |
   | zmedico | actually a local variable here.                              |
   |---------+--------------------------------------------------------------|
   | 7548    | In portage.spawn() logging, put the read end of the pipe in  |
   | zmedico | O_NONBLOCK mode just once at the beginning. This avoids      |
   |         | unnecessary fcntl calls and removes one more opportunity to  |
   |         | trigger EAGAIN errors on FreeBSD.                            |
   |---------+--------------------------------------------------------------|
   | 7550    | Generate a QA Notice and cd to ${WORKDIR} if the ${S}        |
   | zmedico | directory does not exist.                                    |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7551

19 years ago Merged from trunk 7521:7528
Fabian Groffen [Tue, 31 Jul 2007 15:53:38 +0000 (15:53 -0000)]
   Merged from trunk 7521:7528

   +------------------------------------------------------------------------+
   | 7522    | Make finalize() accept a parameter once again since older    |
   | zmedico | versions of portage import elog modules from newer versions  |
   |         | of portage when they upgrade themselves.                     |
   |---------+--------------------------------------------------------------|
   | 7524    | For bug #187142, properly pass a dbapi instance into         |
   | zmedico | setcpv() so that USE_EXPAND wildcards work correctly.        |
   |---------+--------------------------------------------------------------|
   | 7526    | As a workaround for bug #185305, make quickpkg break         |
   | zmedico | hardlinks during creation of the archive.                    |
   |---------+--------------------------------------------------------------|
   | 7528    | Change the numeric value of DepPriority.MIN to be equal to   |
   | zmedico | that of a satisfied PDEPEND since there is currently nothing |
   |         | with lower priority.                                         |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7533

19 years ago Merged from trunk 7429:7516
Fabian Groffen [Mon, 30 Jul 2007 20:39:58 +0000 (20:39 -0000)]
   Merged from trunk 7429:7516

   +------------------------------------------------------------------------+
   | 7430    | For bug #137483, move the `emerge --help config` docs to the |
   | zmedico | emerge man page. Thanks to Arfrever Frehtes Taifersar        |
   |         | Arahesis for this patch.                                     |
   |---------+--------------------------------------------------------------|
   | 7432    | For bug #139670, update the dohtml docs to show all          |
   | zmedico | supported file extensions. Thanks to Arfrever Frehtes        |
   |         | Taifersar Arahesis for this patch.                           |
   |---------+--------------------------------------------------------------|
   | 7496    | Always pass a dbapi instance into a setcpv call.             |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7516    | For bug #186960, try to create a directory for $ROOT if it   |
   | zmedico | doesn't exist.                                               |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7521

19 years ago Merged from trunk 7399:7428
Fabian Groffen [Mon, 30 Jul 2007 20:36:30 +0000 (20:36 -0000)]
   Merged from trunk 7399:7428

   +------------------------------------------------------------------------+
   | 7400    | When setting the size of the pty for logging, check if       |
   | zmedico | stdout isatty rather than stdin.                             |
   |---------+--------------------------------------------------------------|
   | 7402    | For bug #186610, use `find ` to scan for config updates      |
   | zmedico | since `cd ` could fail and cause the cwd to be scanned.      |
   |---------+--------------------------------------------------------------|
   | 7405    | For --buildpkgonly, say "built" instead of "merged" in the   |
   | zmedico | "These are the packages that would be " message.             |
   |---------+--------------------------------------------------------------|
   | 7407    | For bug #186826, always show --newuse flags that trigger     |
   | zmedico | reinstallation even when not in --verbose mode.              |
   |---------+--------------------------------------------------------------|
   | 7410    | For bug #186480, while we transition to repository labels,   |
   | zmedico | avoid ? spam in the repository display by ignoring a missing |
   |         | repository label for an installed package. (branches/2.1.2   |
   |         | r7409)                                                       |
   |---------+--------------------------------------------------------------|
   | 7411    | For bug #186639, add more clarification about the            |
   | zmedico | relationship between /etc/make.profile/ and                  |
   |         | /etc/portage/profile/.                                       |
   |---------+--------------------------------------------------------------|
   | 7413    | For bug #186639, note that /etc/portage/profile/ supports    |
   | zmedico | all of the same file types that /etc/make.profile/ does,     |
   |         | except parent.                                               |
   |---------+--------------------------------------------------------------|
   | 7415    | For bug #185048, make emerge-webrsync honor http_proxy and   |
   | zmedico | ftp_proxy from make.conf.                                    |
   |---------+--------------------------------------------------------------|
   | 7417    | Handle 2 more cases where elog_process() needs to be called: |
   | zmedico | - binary install via pkgmerge() fails before reaching the    |
   |         | merge phase (pkg_setup dies) - doebuild() is called for the  |
   |         | merge phase but it dies before reaching the merge phase      |
   |---------+--------------------------------------------------------------|
   | 7419    | When the fetch phase fails inside doebuild(), create an      |
   | zmedico | eerror log since the mod_echo module might push the original |
   |         | message off of the top of the terminal and prevent the user  |
   |         | from being able to see it.                                   |
   |---------+--------------------------------------------------------------|
   | 7422    | For bug #186876, fall back it os.pipe() if pty.openpty()     |
   | zmedico | fails.                                                       |
   |---------+--------------------------------------------------------------|
   | 7424    | For pty logging, handle the EAGAIN error that is thrown from |
   | zmedico | fcntl when the slave end of the pty is closed on FreeBSD.    |
   |---------+--------------------------------------------------------------|
   | 7426    | Change "output" import to portage.output.                    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7427    | For bug #187016, and env.d to the default USE_ORDER.         |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7428    | Update USE_ORDER docs for bug #187016.                       |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7520

19 years agoPrepend EPREFIX to relative paths, but keep them relative by stripping
Fabian Groffen [Wed, 25 Jul 2007 21:35:50 +0000 (21:35 -0000)]
Prepend EPREFIX to relative paths, but keep them relative by stripping
the leading '/'.

Cleaned up path construction from root + EPREFIX to avoid double path
separators.

svn path=/main/branches/prefix/; revision=7399

19 years ago Merged from trunk 7372:7396
Fabian Groffen [Wed, 25 Jul 2007 20:19:58 +0000 (20:19 -0000)]
   Merged from trunk 7372:7396

   +------------------------------------------------------------------------+
   | 7373      | Drop privileges in the "depend" phase regardless of        |
   | zmedico   | FEATURES and RESTRICT since that phase should never need   |
   |           | special privileges. Thanks to swegener for the initial     |
   |           | patch.                                                     |
   |-----------+------------------------------------------------------------|
   | 7375      | Enable FEATURES=userfetch by default.                      |
   | zmedico   |                                                            |
   |-----------+------------------------------------------------------------|
   | 7377      | Add sfperms and strict to the default FEATURES since       |
   | zmedico   | they're already in the base profile's make.defaults.       |
   |-----------+------------------------------------------------------------|
   | 7379      | Add FEATURES=fakeroot support which causes install and     |
   | zmedico   | package phases to run inside fakeroot when a non-root user |
   |           | runs the ebuild command. Thanks to swegener for the        |
   |           | initial patch.                                             |
   |-----------+------------------------------------------------------------|
   | 7381      | For bug #186337, show an ewarn message if                  |
   | zmedico   | FEATURES=installsources is enabled but debugedit is not    |
   |           | installed. Also document installsources and splitdebug in  |
   |           | make.conf.example.                                         |
   |-----------+------------------------------------------------------------|
   | 7383      | Fix make.conf.example rejects.                             |
   | zmedico   |                                                            |
   |-----------+------------------------------------------------------------|
   | 7385      | Add droppriv keyword for the depend phase.                 |
   | zmedico   |                                                            |
   |-----------+------------------------------------------------------------|
   | 7387      | Add droppriv keyword for the depend phase (last one).      |
   | zmedico   |                                                            |
   |-----------+------------------------------------------------------------|
   | 7389      | Use a select loop for moving input and ouput when logging  |
   | zmedico   | is enabled in portage.spawn().                             |
   |-----------+------------------------------------------------------------|
   | 7390      | Use the hardcoded variables from portage.const rather than |
   | WarnerBro | strings that are apt to change, fix spacing.               |
   |-----------+------------------------------------------------------------|
   | 7391      | Use blocking mode for writes since we'd rather block than  |
   | zmedico   | trigger a EWOULDBLOCK error.                               |
   |-----------+------------------------------------------------------------|
   | 7392      | CACHE_PATH starts with / and therefore isn't compatible    |
   | zmedico   | with os.path.join().                                       |
   |-----------+------------------------------------------------------------|
   | 7393      | Set O_NONBLOCK just for read calls (uses fewer fcntl       |
   | zmedico   | calls).                                                    |
   |-----------+------------------------------------------------------------|
   | 7394      | For bug #186386, pass stdin directly to spawned processes  |
   | zmedico   | (even when their output goes through a pty) so that Ctrl+Z |
   |           | works as on would expect.)                                 |
   |-----------+------------------------------------------------------------|
   | 7396      | use ${MAKE:-make} rather than make in einstall()           |
   | SpankMan  |                                                            |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7398

19 years agoSync with trunk.
Fabian Groffen [Wed, 25 Jul 2007 20:09:54 +0000 (20:09 -0000)]
Sync with trunk.
VDB_PATH and PRIVATE_PATH are relative, not absolute!

svn path=/main/branches/prefix/; revision=7397

19 years ago Merged from trunk 7353:7371
Fabian Groffen [Mon, 23 Jul 2007 17:18:12 +0000 (17:18 -0000)]
   Merged from trunk 7353:7371

   +------------------------------------------------------------------------+
   | 7354      | Run pychecker over everything, fix obvious thing slike     |
   | WarnerBro | modules not in use, variables not being used, or global    |
   |           | exceptions not being deleted. Also fix imports for style   |
   |           | (1 per line)                                               |
   |-----------+------------------------------------------------------------|
   | 7355      | remove unused vars from xpak, fix bug in compose. Also fix |
   | WarnerBro | tests for portage sets, fix misnamed variable.             |
   |-----------+------------------------------------------------------------|
   | 7356      | Add notes about import statements (clarity) and fix        |
   | WarnerBro | spelling error in release-notes                            |
   |-----------+------------------------------------------------------------|
   | 7357      | Fix spacing issues, imports                                |
   | WarnerBro |                                                            |
   |-----------+------------------------------------------------------------|
   | 7358      | For bug #184774, put lha's -q option last since otherwise  |
   | zmedico   | the option parser now requires level 0, 1, or 2 to be      |
   |           | specified.                                                 |
   |-----------+------------------------------------------------------------|
   | 7360      | add test for CommandOutputSet                              |
   | WarnerBro |                                                            |
   |-----------+------------------------------------------------------------|
   | 7361      | add docstring, fix up imports (style), add keyword         |
   | WarnerBro | expansion                                                  |
   |-----------+------------------------------------------------------------|
   | 7362      | fix missing import, default value for value in case we try |
   | WarnerBro | to .join on a variable that hasn't been assigned to yet    |
   |-----------+------------------------------------------------------------|
   | 7363      | Fix hardcoded /usr/bin/echo to use                         |
   | zmedico   | portage.process.find_binary().                             |
   |-----------+------------------------------------------------------------|
   | 7364      | fix spacing, comments, default args                        |
   | WarnerBro |                                                            |
   |-----------+------------------------------------------------------------|
   | 7365      | Move common file functionality into a FileLoader class and |
   | WarnerBro | delegate parsing to subclasses via a lineParser func, no   |
   |           | idea how this will work performance wise. Fix errors in    |
   |           | parser (blank lines are not errors ;))                     |
   |-----------+------------------------------------------------------------|
   | 7366      | Move classes out of __init__.py, they do not belong there. |
   | WarnerBro | Fix import style, and import statements broken by class    |
   |           | moves.                                                     |
   |-----------+------------------------------------------------------------|
   | 7367      | Fix imports for style, deprecate grab*, what is            |
   | WarnerBro | foo.metadata and what does it contain                      |
   |-----------+------------------------------------------------------------|
   | 7368      | Validator should be a function, not a class, fix           |
   | WarnerBro | spacing/tab issues. Fix parsing errors for                 |
   |           | KeyValuePairLoader. Add a GenericFileLoader class that     |
   |           | uses more than 1 loader in a vain attempt to figure out    |
   |           | what kind of file it is. Fix inheritance by renaming       |
   |           | UserConfigKlass                                            |
   |-----------+------------------------------------------------------------|
   | 7369      | Fix imports for style, slight optimization for grab*       |
   | WarnerBro | function, doc fixups.                                      |
   |-----------+------------------------------------------------------------|
   | 7370      | fix broken import                                          |
   | WarnerBro |                                                            |
   |-----------+------------------------------------------------------------|
   | 7371      | add more tests for keyvaluepairloader (it had a bug        |
   | WarnerBro | previously) and fix up other misc tests                    |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7372

19 years ago Merged from trunk 7342:7351
Fabian Groffen [Sun, 22 Jul 2007 09:46:25 +0000 (09:46 -0000)]
   Merged from trunk 7342:7351

   +------------------------------------------------------------------------+
   | 7343    | Make --prune pull in the system set since that could pull in |
   | zmedico | some slots that wouldn't be pulled in otherwise.             |
   |---------+--------------------------------------------------------------|
   | 7344    | Prevent a potential KeyError when removing world from the    |
   | zmedico | digraph for --prune display.                                 |
   |---------+--------------------------------------------------------------|
   | 7345    | Document --depclean and --prune enhancements.                |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7349    | Make --update imply --oneshot since people often us it to    |
   | zmedico | update things when they don't want to add them to world.     |
   |         | Thanks to jakub for the suggestion.                          |
   |---------+--------------------------------------------------------------|
   | 7351    | Fix the reverse dependency display for --prune when there is |
   | zmedico | now real parent.                                             |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7353

19 years ago Merged from trunk 7307:7340
Fabian Groffen [Sat, 21 Jul 2007 19:19:50 +0000 (19:19 -0000)]
   Merged from trunk 7307:7340

   +------------------------------------------------------------------------+
   | 7308    | With --prune and --depclean, if --verbose is enabled then    |
   | zmedico | show reverse dependencies for each package that is matched   |
   |         | by an atom from the command line. This allows the user to    |
   |         | see why a package will not be unmerged.                      |
   |---------+--------------------------------------------------------------|
   | 7309    | Make --prune bail out like depclean does if there are        |
   | zmedico | unresolved dependencies. Notify the user that they can use   |
   |         | --nodeps in that case.                                       |
   |---------+--------------------------------------------------------------|
   | 7310    | Make --prune try to prune all slotted packages if no atoms   |
   | zmedico | are given (that's how it already works with --nodeps).       |
   |---------+--------------------------------------------------------------|
   | 7312    | For bug #151653, make --prune keep the highest version       |
   | zmedico | whenever possible (even when there is one with a higher      |
   |         | counter installed).                                          |
   |---------+--------------------------------------------------------------|
   | 7313    | Fix --prune so that it always correctly accounts for COUNTER |
   | zmedico | when dealing with packages in the same slot.                 |
   |---------+--------------------------------------------------------------|
   | 7315    | Update --prune docs for bug #151653.                         |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7317    | Document --prune and --depclean enhancements.                |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7319    | For bug #185504, document profiles/repo_name.                |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7321    | If the fetcher reported success and the file is too small,   |
   | zmedico | don't attempt to resume. Upstream probably changed the       |
   |         | distfile and we need to show a digest verification failure   |
   |         | so the user gets a clue.                                     |
   |---------+--------------------------------------------------------------|
   | 7325    | When digest verification of a distfile fails, rename instead |
   | zmedico | of unlinking it in case it's a large download and the user   |
   |         | wants to salvage it due to a bad digest.                     |
   |---------+--------------------------------------------------------------|
   | 7327    | Hint about --nodeps if --prune doesn't find anything to      |
   | zmedico | prune. Also enable reverse dependency display for global     |
   |         | depclean.                                                    |
   |---------+--------------------------------------------------------------|
   | 7329    | Optimize PackageSet._updateAtomMap() for the case where one  |
   | zmedico | or more atoms are added and none are removed.                |
   |---------+--------------------------------------------------------------|
   | 7330    | For bug #185930, direct all FETCHCOMMAND output to stdout.   |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7332    | Just show [0] instead of [0=>0] in the repo display.         |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7334    | Prune really uses all installed instead of world. It's not a |
   | zmedico | real reverse dependency so don't display it as such.         |
   |---------+--------------------------------------------------------------|
   | 7336    | Make --prune and --depclean return before calculating        |
   | zmedico | dependencies if atoms are given but they don't match any     |
   |         | packages.                                                    |
   |---------+--------------------------------------------------------------|
   | 7338    | For bug #185153, in commit mode do the "Fetching trivial     |
   | zmedico | updates" routine before the qa scan.                         |
   |---------+--------------------------------------------------------------|
   | 7340    | For bug #169500, detect when the cvs server puts /Attic/     |
   | zmedico | inside the $Header path and automatically correct it.        |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7342

19 years agoGive more information that might help to identify the culprit.
Fabian Groffen [Fri, 20 Jul 2007 07:23:25 +0000 (07:23 -0000)]
Give more information that might help to identify the culprit.

svn path=/main/branches/prefix/; revision=7324

19 years agoRemove typically Vim-typo.
Fabian Groffen [Fri, 20 Jul 2007 07:20:53 +0000 (07:20 -0000)]
Remove typically Vim-typo.

svn path=/main/branches/prefix/; revision=7323

19 years ago Merged from trunk 7284:7306
Fabian Groffen [Thu, 19 Jul 2007 17:11:37 +0000 (17:11 -0000)]
   Merged from trunk 7284:7306

   +------------------------------------------------------------------------+
   | 7285    | Sort the atoms when writing the world file.                  |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7286    | Always be sure to load the latest version of the world file  |
   | zmedico | while it's locked.                                           |
   |---------+--------------------------------------------------------------|
   | 7287    | Revert PackageSet.containsCPV() calls back to                |
   | zmedico | findAtomForPackage() calls so that things like slot atoms    |
   |         | and old-style virtuals are properly supported.               |
   |---------+--------------------------------------------------------------|
   | 7288    | Make sure PackageSet._atoms is always a set.                 |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7289    | Make sure the atoms are loaded when calling                  |
   | zmedico | PackageSet.findAtomForPackage().                             |
   |---------+--------------------------------------------------------------|
   | 7290    | Don't show the repo display when the package list is empty.  |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7292    | When dep_expand throws a ValueError due to an ambiguous      |
   | zmedico | atom, try to expand it against the installed packages in     |
   |         | case it yields a unique match.                               |
   |---------+--------------------------------------------------------------|
   | 7294    | When expanding ambiguous atoms against the vardb, make sure  |
   | zmedico | the the expanded package is also available in the portage    |
   |         | tree.                                                        |
   |---------+--------------------------------------------------------------|
   | 7296    | For bug #185670, make sure package.use.{mask,force} are      |
   | zmedico | properly displayed.                                          |
   |---------+--------------------------------------------------------------|
   | 7298    | Unify USE handling in the depgraph with the other metadata.  |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7300    | Use PF in dyn_package. Thanks to swegener.                   |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7301    | Make PackageSet._updateAtomMap() clear the map in case       |
   | zmedico | something was removed.                                       |
   |---------+--------------------------------------------------------------|
   | 7302    | Use PackageSet.getAtoms() as a wrapper around load() since   |
   | zmedico | load() can trigger unnecessary stat calls.                   |
   |---------+--------------------------------------------------------------|
   | 7303    | Iterate over a list in order to avoid breaking the iterator  |
   | zmedico | when an atom is removed.                                     |
   |---------+--------------------------------------------------------------|
   | 7305    | Use the --depclean algorithm to make --prune safe. The old   |
   | zmedico | unsafe --prune will be used if the --nodeps option is        |
   |         | specified.                                                   |
   |---------+--------------------------------------------------------------|
   | 7306    | Allow atoms to be specified for --depclean so that it can be |
   | zmedico | used to safely unmerge packages if nothing depends on them.  |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7307

19 years ago Merged from trunk 7269:7283
Fabian Groffen [Mon, 16 Jul 2007 17:34:24 +0000 (17:34 -0000)]
   Merged from trunk 7269:7283

   +------------------------------------------------------------------------+
   | 7270   | sync MAILSUBJECT in make.conf with make.globals               |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 7271   | s/node/atom/ and other minor updates                          |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 7272   | Make PackageSet to behave more like a real set, and change    |
   | genone | loading logic a bit to avoid unnecessary reloads for editable |
   |        | sets                                                          |
   |--------+---------------------------------------------------------------|
   | 7273   | use a more logical approach for editable sets                 |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 7274   | fix load logic for editable sets once more                    |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 7275   | ignore already applied glsas when loading the security set    |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 7276   | add support for metadata                                      |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 7277   | fix metadata parsing for file-based sets, add support for     |
   | genone | user-defined file sets in test code                           |
   |--------+---------------------------------------------------------------|
   | 7278   | disable FEATURES=gpg as it's unmaintained, useless and likely |
   | genone | broken for many people                                        |
   |--------+---------------------------------------------------------------|
   | 7279   | replace emerge.AtomSet with portage.sets.InternalPackageSet   |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 7280   | break recursion cycle                                         |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 7281   | Replace emerge.SystemSet with                                 |
   | genone | portage.sets.profiles.PackagesSystemSet                       |
   |--------+---------------------------------------------------------------|
   | 7282   | break another recursion cycle, add special subclass for       |
   | genone | "world" to handle locking                                     |
   |--------+---------------------------------------------------------------|
   | 7283   | Replace emerge.WorldSet with portage.sets.files.WorldSet      |
   | genone |                                                               |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7284

19 years ago Merged from trunk 7253:7267
Fabian Groffen [Sun, 15 Jul 2007 09:38:30 +0000 (09:38 -0000)]
   Merged from trunk 7253:7267

   +------------------------------------------------------------------------+
   | 7254     | For bug #185278, make the verbose flag display show         |
   | zmedico  | masked/forced flag status for binary packages too.          |
   |----------+-------------------------------------------------------------|
   | 7256     | Make the repo display work for overlays that don't define   |
   | zmedico  | repo_name (like it used to).                                |
   |----------+-------------------------------------------------------------|
   | 7257     | Always show PORTDIR with index 0 in the repo display.       |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 7258     | Encapsulate the repo display code in a class.               |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 7259     | Use sys.stdout instead of print to avoid an extra newline.  |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 7260     | Remove unused repo_name code.                               |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 7263     | When deciding if a package is slotted inside                |
   | zmedico  | create_world_atom(), check the vdb in case the package is   |
   |          | multislot.                                                  |
   |----------+-------------------------------------------------------------|
   | 7265     | Fix typo.                                                   |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 7267     | split up the debug/sources steps as proposed by swegener    |
   | SpankMan | and give the whole file a cleanup                           |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7268

19 years ago Merged from trunk 7246:7251
Fabian Groffen [Sat, 14 Jul 2007 09:32:14 +0000 (09:32 -0000)]
   Merged from trunk 7246:7251

   +------------------------------------------------------------------------+
   | 7247    | Save the repo name along with the other metadata inside      |
   | zmedico | dyn_compile() so that it's saved inside binary packages for  |
   |         | when they are finally merged.                                |
   |---------+--------------------------------------------------------------|
   | 7249    | Misc fixes for verbose repo output: - Support binary         |
   | zmedico | packages by using the 'repository' metadata that's stored in |
   |         | the package. - Support PORTAGE_CONFIGROOT, showing repos     |
   |         | from both configs if necessary. - Dynamic allocation of repo |
   |         | indexes so only relevant repos are shown.                    |
   |---------+--------------------------------------------------------------|
   | 7250    | Fix it so that the 'repository could not be determined'      |
   | zmedico | message is shown when appropriate (issue with variable       |
   |         | scope).                                                      |
   |---------+--------------------------------------------------------------|
   | 7251    | PDEPEND is now installed as soon as possible so that it      |
   | zmedico | behaves more like RDEPEND.                                   |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7253

19 years agoFix problem that for now only I encountered as in
Fabian Groffen [Fri, 13 Jul 2007 19:35:55 +0000 (19:35 -0000)]
Fix problem that for now only I encountered as in
http://article.gmane.org/gmane.linux.gentoo.alt/2778

dbapi.getRepositoryPath returns an os.path.realpath-ified path of the
repository, which means in case of symlinks (my case) this is different
from what the PORTDIR variable gives.  So before comparing,
os.path.realpath-ify the PORTDIR too.

svn path=/main/branches/prefix/; revision=7245

19 years ago Merged from trunk 7209:7242
Fabian Groffen [Fri, 13 Jul 2007 17:59:44 +0000 (17:59 -0000)]
   Merged from trunk 7209:7242

   +------------------------------------------------------------------------+
   | 7210    | - remove readable bits for debug files if the souce ELF is   |
   | solar   | setXid                                                       |
   |---------+--------------------------------------------------------------|
   | 7211    | - be quiet about overlays profiles/repo_name entry when      |
   | solar   | --quiet mode is used                                         |
   |---------+--------------------------------------------------------------|
   | 7212    | Remove the repo_name warning in the portdbapi constructor    |
   | zmedico | since we don't want to see a warning every time the portage  |
   |         | module is imported.                                          |
   |---------+--------------------------------------------------------------|
   | 7214    | For bug #184806, account for the fact the metadata is not    |
   | zmedico | cached for slot_collision_nodes.                             |
   |---------+--------------------------------------------------------------|
   | 7216    | For bug #184604, make env-update write $ in front of quoted  |
   | zmedico | values when appropriate.                                     |
   |---------+--------------------------------------------------------------|
   | 7218    | For bug #184843, allow USE_EXPAND variables to pass through  |
   | zmedico | if none of their flags are in IUSE. This allows packages     |
   |         | that support LINGUAS but don't declare it in IUSE to use the |
   |         | variable outside of the USE_EXPAND context.                  |
   |---------+--------------------------------------------------------------|
   | 7220    | For bug #184679, handle ENOTDIR by finding the non-directory |
   | zmedico | parent and testing that for collision instead.               |
   |---------+--------------------------------------------------------------|
   | 7222    | For bug #184687, skip the huge --depclean warning when       |
   | zmedico | --quiet mode is enabled.                                     |
   |---------+--------------------------------------------------------------|
   | 7224    | Fix typo.                                                    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7226    | Fix another case similar to bug #184806 that can occur with  |
   | zmedico | --onlydeps.                                                  |
   |---------+--------------------------------------------------------------|
   | 7228    | Fix typo.                                                    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7230    | Use set.discard() instead of remove() to avoid a potential   |
   | zmedico | KeyError.                                                    |
   |---------+--------------------------------------------------------------|
   | 7237    | For bug #184983, prevent USE_EXPAND_HIDDEN flags from being  |
   | zmedico | hidden if they are the only thing that triggered             |
   |         | reinstallation.                                              |
   |---------+--------------------------------------------------------------|
   | 7239    | Make depgraph._reinstall_for_flags() always return all       |
   | zmedico | revelant flags.                                              |
   |---------+--------------------------------------------------------------|
   | 7241    | Fix the case where the currently installed package is from a |
   | zmedico | repo that is no longer in the overlay (oldrepo is None       |
   |         | rather than an empty string).                                |
   |---------+--------------------------------------------------------------|
   | 7242    | Add "reset" to the list of attributes.                       |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7244

19 years ago Merged from trunk 7163:7207
Fabian Groffen [Mon, 9 Jul 2007 17:24:57 +0000 (17:24 -0000)]
   Merged from trunk 7163:7207

   +------------------------------------------------------------------------+
   | 7164     | Don't store unslotted system packages in the world file.    |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 7166     | Fix emerge by ebuild path so that it works properly.        |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 7168     | add modified copy of gentoolkits glsa.py (r410)             |
   | genone   |                                                             |
   |----------+-------------------------------------------------------------|
   | 7169     | Enable keyword expansion                                    |
   | genone   |                                                             |
   |----------+-------------------------------------------------------------|
   | 7170     | Add first draft of PackageSet backend modules               |
   | genone   |                                                             |
   |----------+-------------------------------------------------------------|
   | 7171     | Fix emerge by tbz2 path so that it works properly.          |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 7172     | fix copyright year                                          |
   | genone   |                                                             |
   |----------+-------------------------------------------------------------|
   | 7174     | Remove the PKG_*ARG* color classes in order to simplify     |
   | zmedico  | things since it's questionable whether many people will     |
   |          | want to use them. Also, make the PKG_*SYSTEM colors default |
   |          | to the traditional colors since people are generally most   |
   |          | interested in world packages.                               |
   |----------+-------------------------------------------------------------|
   | 7176     | ignore generated docs                                       |
   | SpankMan |                                                             |
   |----------+-------------------------------------------------------------|
   | 7177     | tighten up --quiet output for --unmerge                     |
   | SpankMan |                                                             |
   |----------+-------------------------------------------------------------|
   | 7178     | Count the number of merges processed by MergeTask and use   |
   | zmedico  | that to determine whether or not post_merge() should run.   |
   |----------+-------------------------------------------------------------|
   | 7180     | Don't exclude system virtuals from world since they can     |
   | zmedico  | match multiple old-style virtuals but only one of them will |
   |          | be pulled in by update or depclean.                         |
   |----------+-------------------------------------------------------------|
   | 7183     | Misc color fixes. Thanks to Arfrever Frehtes Taifersar      |
   | zmedico  | Arahesis <Arfrever.FTA@GMail.Com> for this patch from       |
   |          | bug#183861, comment #9.                                     |
   |----------+-------------------------------------------------------------|
   | 7185     | When depgraph updates preferences for old-style virtuals,   |
   | zmedico  | also update them in the global config so that they are      |
   |          | consistent everywhere. Optimize config.setinst() to         |
   |          | minimize the work done.                                     |
   |----------+-------------------------------------------------------------|
   | 7187     | Add a depgaph.loadResumeCommand() method to handle loading  |
   | zmedico  | and validation of all resume data.                          |
   |----------+-------------------------------------------------------------|
   | 7189     | `find` can accept a list of paths so condense this nested   |
   | SpankMan | for loop, and dont split off debug information for ET_REL   |
   |          | files as these are never pulled in via debug utilities (and |
   |          | can trigger weird behavior in binutils when linked into     |
   |          | things, like glibcs crt1.o)                                 |
   |----------+-------------------------------------------------------------|
   | 7191     | Now that the "white" color code really is white, alias it   |
   | zmedico  | to bold where it's used by emerge since white looks bad on  |
   |          | a terminal with a white background.                         |
   |----------+-------------------------------------------------------------|
   | 7193     | allow split debuf for kernel modules                        |
   | SpankMan |                                                             |
   |----------+-------------------------------------------------------------|
   | 7195     | For bug #184412, make depclean more consistent with the     |
   | zmedico  | update algorithm by keeping the highest version that as     |
   |          | visible in the portage tree and pruning any versions that   |
   |          | are either masked or no longer exist in the portage tree.   |
   |----------+-------------------------------------------------------------|
   | 7197     | Allow system virtuals to be pruned from the world file in   |
   | zmedico  | cases where the matched package is the only provider of     |
   |          | that virtual.                                               |
   |----------+-------------------------------------------------------------|
   | 7199     | Add color classes PROMPT_CHOICE_{DEFAULT,OTHER} for         |
   | zmedico  | emerge's Yes/No prompt.                                     |
   |----------+-------------------------------------------------------------|
   | 7201     | For bug #184566, enable the emerge --info action to run an  |
   | zmedico  | option pkg_info() function from each installed ebuild.      |
   |----------+-------------------------------------------------------------|
   | 7203     | Make dblink invalidate the vardbapi caches for each merge   |
   | zmedico  | and unmerge. Don't use portage.listdir() since mtime        |
   |          | granularity can prevent cachedir from invalidating it's     |
   |          | cache properly and this redundant cache layer isn't needed  |
   |          | anyway. This should solve the intermittent failure of       |
   |          | AUTOCLEAN to properly clean packages.                       |
   |----------+-------------------------------------------------------------|
   | 7204     | Pass the file path into the PermissionDenied exception.     |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 7206     | simplify logic a bit                                        |
   | genone   |                                                             |
   |----------+-------------------------------------------------------------|
   | 7207     | Fix interaction of resume opts with spinner output handling |
   | zmedico  | so that output always looks correct.                        |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7209

19 years ago Merged from trunk 7137:7161
Fabian Groffen [Thu, 5 Jul 2007 19:19:41 +0000 (19:19 -0000)]
   Merged from trunk 7137:7161

   +------------------------------------------------------------------------+
   | 7138    | In depgraph.select_files(), unify favorites handling with    |
   | zmedico | the other args handling.                                     |
   |---------+--------------------------------------------------------------|
   | 7139    | Fix --oneshot handling from the previous commit.             |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7140    | Use depgraph._args_nodes to simplify                         |
   | zmedico | depgraph.saveNomergeFavorites().                             |
   |---------+--------------------------------------------------------------|
   | 7142    | Record a slot atom in the world file for any atom that is    |
   | zmedico | precise enough to identify a specific slot. Make depclean    |
   |         | clean unnecessary slots of system and world packages. For    |
   |         | update and depclean, world atoms can be greedy with slots    |
   |         | while system atoms can not.                                  |
   |---------+--------------------------------------------------------------|
   | 7144    | Fix greedy atoms logic for system mode.                      |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7146    | For bug #183861, allow a color class in color.map to specify |
   | zmedico | a space separated list of attributes so that any combination |
   |         | of foreground, background, and other attributes is possible. |
   |         | Thanks to Arfrever Frehtes Taifersar Arahesis                |
   |         | <Arfrever.FTA@GMail.Com> for this patch.                     |
   |---------+--------------------------------------------------------------|
   | 7147    | Add a "onerror" callback to parse_color_map() for handling   |
   | zmedico | each ParseError that would otherwise be raised.              |
   |---------+--------------------------------------------------------------|
   | 7148    | Fix broken code concatenation logic in parse_color_map().    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7149    | Make the color class handling for package sets more          |
   | zmedico | consistent as suggested in comment #2 of bug #183861.        |
   |---------+--------------------------------------------------------------|
   | 7150    | Document the additional color classes for bug #183861.       |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7153    | Replace sys.exit() with return in depgraph.display() and     |
   | zmedico | action_build().                                              |
   |---------+--------------------------------------------------------------|
   | 7155    | Add note about repo name warnings                            |
   | genone  |                                                              |
   |---------+--------------------------------------------------------------|
   | 7157    | Remove fallback imports for set(), and note minimum          |
   | genone  | requirement of python-2.4                                    |
   |---------+--------------------------------------------------------------|
   | 7159    | Remove redundant config update notification (bug #184116)    |
   | genone  |                                                              |
   |---------+--------------------------------------------------------------|
   | 7161    | Move depgraph._args_atoms to depgraph._sets["args"] and move |
   | zmedico | depgraph._args_nodes to self._set_nodes.                     |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7163

19 years ago Merged from trunk 7130:7135
Fabian Groffen [Tue, 3 Jul 2007 16:31:36 +0000 (16:31 -0000)]
   Merged from trunk 7130:7135

   +------------------------------------------------------------------------+
   | 7131    | Clean up system and world set handling. For forward          |
   | zmedico | compatibility, the world file handling now allows the world  |
   |         | file to contain arbitrary atoms such as slot atoms.          |
   |---------+--------------------------------------------------------------|
   | 7132    | Add USE to the list of metadata keys to pull.                |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7133    | Fix broken favorites handling with --usepkg.                 |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7135    | Implement BlockerCache.keys() so that DictMixin.__repr__()   |
   | zmedico | works.                                                       |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7137

19 years agoCleaned up configure, removed unnecessary checks (greatly speeds up)
Fabian Groffen [Mon, 2 Jul 2007 20:52:02 +0000 (20:52 -0000)]
Cleaned up configure, removed unnecessary checks (greatly speeds up)
Cleaned up users/groups stuff with configure arguments
Removed python-missingos since we don't work with prehistoric pythons
for ages any more (prehistoric starts at < 2.2.3)

svn path=/main/branches/prefix/; revision=7130

19 years agoRemove --wheelgid from configure, and wheelgid from const_autotool. The
Fabian Groffen [Mon, 2 Jul 2007 17:34:40 +0000 (17:34 -0000)]
Remove --wheelgid from configure, and wheelgid from const_autotool.  The
wheel group isn't really used in portage and superseeded by the portage
group.

svn path=/main/branches/prefix/; revision=7129

19 years ago Merged from trunk 7090:7126
Fabian Groffen [Mon, 2 Jul 2007 17:31:24 +0000 (17:31 -0000)]
   Merged from trunk 7090:7126

   +------------------------------------------------------------------------+
   | 7091    | For bug #183639, give a more informative message with the    |
   | zmedico | package.provided warning.                                    |
   |---------+--------------------------------------------------------------|
   | 7093    | Test for existence of the getRepositories method since       |
   | zmedico | bindbapi doesn't have it atm.                                |
   |---------+--------------------------------------------------------------|
   | 7094    | Add a 0xAAAA00 rgb color code to represent the darkyellow    |
   | zmedico | color that some terminals have instead of brown.             |
   |---------+--------------------------------------------------------------|
   | 7096    | print a notice when a repository/overlay does not have a     |
   | genone  | name                                                         |
   |---------+--------------------------------------------------------------|
   | 7097    | ewarn when merging a package and the source                  |
   | genone  | repository/overlay does not have a name                      |
   |---------+--------------------------------------------------------------|
   | 7098    | apply additional phase filters as otherwise some messages    |
   | genone  | are logged in both unmerge and merge                         |
   |---------+--------------------------------------------------------------|
   | 7099    | Remove old wheel group warnings since portage stopped using  |
   | zmedico | this group long ago.                                         |
   |---------+--------------------------------------------------------------|
   | 7100    | Add docs for /etc/portage/color.map and a few misc man page  |
   | zmedico | fixes. Thanks to Arfrever Frehtes Taifersar Arahesis         |
   |         | <Arfrever.FTA@GMail.Com> in bug #183758.                     |
   |---------+--------------------------------------------------------------|
   | 7102    | Add a QA warning for invalid values of RESTRICT. Thanks to   |
   | zmedico | peper for the patch.                                         |
   |---------+--------------------------------------------------------------|
   | 7104    | For bug #180045, try to merge PDEPEND as soon as possible so |
   | zmedico | that it behaves more like RDEPEND.                           |
   |---------+--------------------------------------------------------------|
   | 7106    | Add medium-soft support to DepPriority.__str__().            |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7108    | Update --buildpkgonly logic to account for                   |
   | zmedico | DepPriority.MEDIUM_SOFT.                                     |
   |---------+--------------------------------------------------------------|
   | 7110    | Revert --buildpkgonly logic back because it was already      |
   | zmedico | correct.                                                     |
   |---------+--------------------------------------------------------------|
   | 7112    | For bug #131030, update the warning about potential for      |
   | zmedico | emerge --sync overwrite or delete files in ${PORTDIR}. Add   |
   |         | references to the PKGDIR and DISTDIR docs.                   |
   |---------+--------------------------------------------------------------|
   | 7114    | s/PORTAGE_EXTRA_RSYNC_OPTS/PORTAGE_RSYNC_OPTS/ for           |
   | zmedico | correctness.                                                 |
   |---------+--------------------------------------------------------------|
   | 7116    | If necessary, resample the leaf nodes so that they include   |
   | zmedico | all nodes whose hard deps are satisfied.                     |
   |---------+--------------------------------------------------------------|
   | 7118    | Move medium priority out of ignore_priority_range and handle |
   | zmedico | it separately.                                               |
   |---------+--------------------------------------------------------------|
   | 7120    | Flatten restrict for the RESTRICT.invalid check.             |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7122    | Clean up the selected_nodes logic in depgraph.altlist().     |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7124    | Clone asap_nodes so that iteration is safe for node removal. |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7126    | Prefer asap_nodes more aggressively over any other nodes     |
   | zmedico | whenever possible. If no asap_nodes can be selected for a    |
   |         | given iteration, they will be ignored for the next           |
   |         | iteration.                                                   |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7128

19 years ago Merged from trunk 7086:7089
Fabian Groffen [Fri, 29 Jun 2007 09:49:07 +0000 (09:49 -0000)]
   Merged from trunk 7086:7089

   +------------------------------------------------------------------------+
   | 7087   | Store name of source repository in vdb node for later         |
   | genone | comparison                                                    |
   |--------+---------------------------------------------------------------|
   | 7088   | Use better parseable format for list_preserved_libs           |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 7089   | display source repository for installed package and target    |
   | genone | package (bug #67072)                                          |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7090

19 years ago Merged from trunk 7080:7083
Fabian Groffen [Thu, 28 Jun 2007 19:06:46 +0000 (19:06 -0000)]
   Merged from trunk 7080:7083

   +------------------------------------------------------------------------+
   | 7081    | For bug #144333, document the new --reinstall=changed-use    |
   | zmedico | option.                                                      |
   |---------+--------------------------------------------------------------|
   | 7083    | Fix typo.                                                    |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7085

19 years ago Merged from trunk 7054:7078
Fabian Groffen [Thu, 28 Jun 2007 09:28:07 +0000 (09:28 -0000)]
   Merged from trunk 7054:7078

   +------------------------------------------------------------------------+
   | 7055    | Format $EBUILD_OVERLAY_ECLASSES output more like it was      |
   | zmedico | before.                                                      |
   |---------+--------------------------------------------------------------|
   | 7057    | Fix quoting.                                                 |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7059    | For bug #142473, account for $ROOT when deciding if a        |
   | zmedico | package is part of world or not.                             |
   |---------+--------------------------------------------------------------|
   | 7061    | Instead of just a list, use a cat/pkg dict for matching      |
   | zmedico | packages against args in the depgraph.                       |
   |---------+--------------------------------------------------------------|
   | 7063    | Improve tracking of correspondence between arguments and     |
   | zmedico | packages in the depgraph.                                    |
   |---------+--------------------------------------------------------------|
   | 7064    | Cache aux_get() metadata in depgraph.create() and use        |
   | zmedico | PROVIDE for matching packages to arguments.                  |
   |---------+--------------------------------------------------------------|
   | 7065    | Just use a containment test for matching pprovided args      |
   | zmedico | since it works correctly and match_to_list() isn't           |
   |         | appropriate for this.                                        |
   |---------+--------------------------------------------------------------|
   | 7067    | Discard "nomerge" nodes to speed up depgraph.altlist() since |
   | zmedico | those nodes aren't used and the --tree algorithm does a good |
   |         | job of regenerating them when appropriate.                   |
   |---------+--------------------------------------------------------------|
   | 7069    | For bug #144333, make the --reinstall option a single choice |
   | zmedico | type.                                                        |
   |---------+--------------------------------------------------------------|
   | 7071    | When filling in "nomerge" nodes for --tree display, stop at  |
   | zmedico | a node that is an argument or a direct member of a set that  |
   |         | has been specified as an argument (system or world).         |
   |---------+--------------------------------------------------------------|
   | 7073    | For bug #183431, catch a ParseError caused by a corrupt      |
   | zmedico | profile and dump an error message. This allows emerge to     |
   |         | continue with actions that don't require a valid profile,    |
   |         | such as --sync.                                              |
   |---------+--------------------------------------------------------------|
   | 7075    | For bug #142473, add 2 additional color classes for system   |
   | zmedico | packages and packages matched by arguments.                  |
   |---------+--------------------------------------------------------------|
   | 7076    | Don't colorize system package when in "world" mode.          |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7078    | Remove unused worldlist variable.                            |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7080

19 years ago Merged from trunk 7038:7052
Fabian Groffen [Wed, 27 Jun 2007 07:57:53 +0000 (07:57 -0000)]
   Merged from trunk 7038:7052

   +------------------------------------------------------------------------+
   | 7039    | Add sanity checks in fetch() and digestgen() to              |
   | zmedico | automatically detect and handle invalid empty distfiles      |
   |         | since some users have reported difficulty when trying to     |
   |         | create digests.                                              |
   |---------+--------------------------------------------------------------|
   | 7041    | Add one more size == 0 check to digestgen().                 |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7042    | Short circuit the loop as soon as missing hashes are         |
   | zmedico | detected.                                                    |
   |---------+--------------------------------------------------------------|
   | 7044    | Short circuit the loop as soon as missing hashes are         |
   | zmedico | detected.                                                    |
   |---------+--------------------------------------------------------------|
   | 7046    | Preserve merge order in elog output.                         |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7047    | Send the ebuild die message through eerror and make sure     |
   | zmedico | that elog_process() gets called when an ebuild dies. This    |
   |         | makes the elog echo module display the die message last in   |
   |         | case other elog messages push the original die message off   |
   |         | of the top of the screen.                                    |
   |---------+--------------------------------------------------------------|
   | 7050    | Format the callstack indentation more like it used to be.    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7052    | For bug #144333, add a --reinstall=changed-use option which  |
   | zmedico | behaves similar to how --newuse behaved in portage-2.0.x     |
   |         | days.                                                        |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7054

19 years agoHaven't seen portage meltdowns lately, so we can revert my hack to keep
Fabian Groffen [Tue, 26 Jun 2007 17:45:18 +0000 (17:45 -0000)]
Haven't seen portage meltdowns lately, so we can revert my hack to keep
it going.

svn path=/main/branches/prefix/; revision=7038

19 years agoFix up make.conf, as some people really read it and copy over the
Fabian Groffen [Tue, 26 Jun 2007 15:45:24 +0000 (15:45 -0000)]
Fix up make.conf, as some people really read it and copy over the
examples, which in that case should work.

svn path=/main/branches/prefix/; revision=7037

19 years ago Merged from trunk 7033:7034
Fabian Groffen [Tue, 26 Jun 2007 15:33:00 +0000 (15:33 -0000)]
   Merged from trunk 7033:7034

   +------------------------------------------------------------------------+
   | 7034    | For bug #183167, explicitly call elog_process() when         |
   | zmedico | --buildpkgonly is enabled.                                   |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7036

19 years ago Merged from trunk 6995:7031
Fabian Groffen [Mon, 25 Jun 2007 12:07:54 +0000 (12:07 -0000)]
   Merged from trunk 6995:7031

   +------------------------------------------------------------------------+
   | 6996    | Fix more typos from r6988.                                   |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6999    | For bug #180706, add sorting and a trailing newline in the   |
   | zmedico | rest of the cases where the world file is written.           |
   |---------+--------------------------------------------------------------|
   | 7002    | Fix broken base_uri handling for old-style binhosts in       |
   | zmedico | binarytree.gettbz2().                                        |
   |---------+--------------------------------------------------------------|
   | 7004    | Update the FETCHCOMMAND docs to indicate that the command    |
   | zmedico | should be +written to place the fetched file at              |
   |         | ${DISTDIR}/${FILE}.                                          |
   |---------+--------------------------------------------------------------|
   | 7005    | Clarify RESUMECOMMAND requirements.                          |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7008    | Use a set to optimize containment lookups.                   |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7011    | Remove unused imports and unnecessary dict.keys() call.      |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7012    | Fix binarytree.isremote() to be consistent with              |
   | zmedico | binarytree.gettbz2() logic wrt partially downloaded files.   |
   |---------+--------------------------------------------------------------|
   | 7014    | Clean up file_get() to use shlex, varexpand, and spawn.      |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7016    | For bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in      |
   | zmedico | binarytree.gettbz2().                                        |
   |---------+--------------------------------------------------------------|
   | 7018    | Fix resume logic in binarytree.gettbz2().                    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7019    | Fix typo.                                                    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7023    | For bug #175891, add sftp protocol support via the paramiko  |
   | zmedico | library.                                                     |
   |---------+--------------------------------------------------------------|
   | 7024    | Fix file_get_lib() so it behaves the same way with sftp as   |
   | zmedico | it does with other protocols.                                |
   |---------+--------------------------------------------------------------|
   | 7025    | Allow SystemExit through as usual.                           |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7027    | Don't use urljoin() in binarytree.gettbz2() since it doesn't |
   | zmedico | work correctly wih unrecognized protocols like sftp.         |
   |---------+--------------------------------------------------------------|
   | 7029    | Fix typo.                                                    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 7031    | For bug #142473, add 4 color classes corresponding to        |
   | zmedico | combinations of world/merge/nomerge attributes of each       |
   |         | package.                                                     |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=7033

19 years ago Merged from trunk 6981:6990
Fabian Groffen [Sun, 24 Jun 2007 15:56:21 +0000 (15:56 -0000)]
   Merged from trunk 6981:6990

   +------------------------------------------------------------------------+
   | 6982    | Fix check_config_instance() weirdness when the ebuild        |
   | zmedico | command reloads the portage module.                          |
   |---------+--------------------------------------------------------------|
   | 6983    | For bug #182964, replace os.rename() with portage.movefile() |
   | zmedico | in cases where the parent directory might change.            |
   |---------+--------------------------------------------------------------|
   | 6985    | Provide a default value for PORTAGE_BINPKG_TMPFILE in case   |
   | zmedico | the package phase is called by the ebuild command.           |
   |---------+--------------------------------------------------------------|
   | 6986    | Always unlink the .installed flag prior to merge since       |
   | zmedico | portage.movefile() never leaves intact.                      |
   |---------+--------------------------------------------------------------|
   | 6987    | Make the fix for bug #139600 slightly less icky by grabbing  |
   | zmedico | the ACCEPT_KEYWORDS through mysettings.configdict[backupenv] |
   |         | instead of directly through os.environ.                      |
   |---------+--------------------------------------------------------------|
   | 6988    | Fix column alignment in unmerge output.                      |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6989    | Fix typo.                                                    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6990    | Handle 'Permission denied' errors that can occur if the      |
   | zmedico | current user isn't allowed to access PRIVATE_PATH.           |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6995

19 years ago Merged from trunk 6971:6981
Fabian Groffen [Sun, 24 Jun 2007 15:50:52 +0000 (15:50 -0000)]
   Merged from trunk 6971:6981

   +------------------------------------------------------------------------+
   | 6972   | add hashlib support for checksum verification, refactor       |
   | genone | checksum functions to not look like a complete mess           |
   |--------+---------------------------------------------------------------|
   | 6973   | Allow sync for unpriviledges users if they have write access  |
   | genone | to $PORTDIR                                                   |
   |--------+---------------------------------------------------------------|
   | 6974   | syntax error                                                  |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 6975   | s/!owned/replaced/ in merge output to clarify it              |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 6976   | sort the world file before writing it and ensure that it's    |
   | genone | terminated by a newline                                       |
   |--------+---------------------------------------------------------------|
   | 6977   | change default diff_command for emacs (bug #147558)           |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 6978   | dont break when the binhost url doesn't end with a slash (bug |
   | genone | #144440)                                                      |
   |--------+---------------------------------------------------------------|
   | 6979   | highlight world packages in --pretend output (bug #142473)    |
   | genone |                                                               |
   |--------+---------------------------------------------------------------|
   | 6980   | Add a pointer from FETCHCOMMAND to RESUMECOMMAND (bug         |
   | genone | #141550)                                                      |
   |--------+---------------------------------------------------------------|
   | 6981   | get ACCEPT_KEYWORDS from the env in gvisible() to properly    |
   | genone | handle negated values (bug #139600)                           |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6994

19 years ago Merged from trunk 6949:6970
Fabian Groffen [Sun, 24 Jun 2007 15:46:46 +0000 (15:46 -0000)]
   Merged from trunk 6949:6970

   +------------------------------------------------------------------------+
   | 6950    | Update 2.1.3 news for elog stuff.                            |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6952    | Add a note about potential for config mixups in elog         |
   | zmedico | finalizers.                                                  |
   |---------+--------------------------------------------------------------|
   | 6953    | Dump mod_echo elog output inside post_emerge(), just before  |
   | zmedico | the other notifications that happen at exit.                 |
   |---------+--------------------------------------------------------------|
   | 6954    | Document RESTRICT=bindist and add a note about allowance for |
   | zmedico | conditional syntax.                                          |
   |---------+--------------------------------------------------------------|
   | 6955    | Make elog finalize() handling safe for PORTAGE_CONFIGROOT.   |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6956    | Remove confcache docs.                                       |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6959    | Show which $ROOT a package was merged to when $ROOT is not   |
   | zmedico | /.                                                           |
   |---------+--------------------------------------------------------------|
   | 6962    | Add a logrotate config for the save_summary elog module      |
   | zmedico | since it's enabled by default now.                           |
   |---------+--------------------------------------------------------------|
   | 6964    | Remove redundant 'Usage: ' from the usage message.           |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6967    | For bug #182964, replace os.rename() with shutil.move() in   |
   | zmedico | order to handle EXDEV errors that are triggered by layered   |
   |         | filesystems.                                                 |
   |---------+--------------------------------------------------------------|
   | 6969    | s/OSError/EnvironmentError/ since shutil.move() generally    |
   | zmedico | raises an IOError.                                           |
   |---------+--------------------------------------------------------------|
   | 6970    | Revert r6967 since shutil.move() is broken internally.       |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6993

19 years agoTo avoid portage meltdowns for now, make it a warning when obj is not an
Fabian Groffen [Sun, 24 Jun 2007 15:46:15 +0000 (15:46 -0000)]
To avoid portage meltdowns for now, make it a warning when obj is not an
instance of type.  Whatever this means, it appears to happen a lot
during e.g. ebuild .... digest, not sure why (yet).

svn path=/main/branches/prefix/; revision=6992

19 years agoMove "-prefix" into main version, instead of repoman alone.
Fabian Groffen [Fri, 22 Jun 2007 09:14:05 +0000 (09:14 -0000)]
Move "-prefix" into main version, instead of repoman alone.

svn path=/main/branches/prefix/; revision=6949

19 years ago Merged from trunk 6944:6945
Fabian Groffen [Fri, 22 Jun 2007 08:51:31 +0000 (08:51 -0000)]
   Merged from trunk 6944:6945

   +------------------------------------------------------------------------+
   | 6945    | For bug #182428, make quickpkg exclude config files that are |
   | zmedico | protected by CONFIG_PROTECT. Add a --include-config option   |
   |         | that includes all config files and a                         |
   |         | --include-unmodified-config that includes config files that  |
   |         | have not been modified since installation (matching md5sum). |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6947

19 years ago Merged from trunk 6917:6937
Fabian Groffen [Fri, 22 Jun 2007 08:49:49 +0000 (08:49 -0000)]
   Merged from trunk 6917:6937

   +------------------------------------------------------------------------+
   | 6917     | Autodetect if sandbox is active in order to prevent         |
   | zmedico  | recursive sandbox invocation. Thanks to Brian Harring for   |
   |          | the suggestion.                                             |
   |----------+-------------------------------------------------------------|
   | 6918     | Implement iterkeys on top of __iter__ instead of vice       |
   | zmedico  | versa. Thanks to Brian Harring for the suggestion.          |
   |----------+-------------------------------------------------------------|
   | 6919     | Simplify the implementation of config.__iter__ and also     |
   | zmedico  | implement iterkeys().                                       |
   |----------+-------------------------------------------------------------|
   | 6920     | Clean up config.__getitem__(), get() and setdefault()       |
   | zmedico  | implementions.                                              |
   |----------+-------------------------------------------------------------|
   | 6922     | cache the result of --suffix to reduce testing overhead as  |
   | SpankMan | suggested by Mr_Bones_                                      |
   |----------+-------------------------------------------------------------|
   | 6937     | Make quickpkg print a warning if "bindist" is in RESTRICT.  |
   | zmedico  |                                                             |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6946

19 years ago Merged from trunk 6889:6917
Fabian Groffen [Fri, 22 Jun 2007 08:46:32 +0000 (08:46 -0000)]
   Merged from trunk 6889:6917

   +------------------------------------------------------------------------+
   | 6889     | Make the progress bar percentage indicator stop at 100%     |
   | zmedico  | instead of just 99%.                                        |
   |----------+-------------------------------------------------------------|
   | 6890     | Use the the optparse options for --ignore-default-opts      |
   | zmedico  | since that allows option abreviation to work.               |
   |----------+-------------------------------------------------------------|
   | 6892     | Add an --ignore-default-opts option that is analogous to    |
   | zmedico  | the corresponding emerge option.                            |
   |----------+-------------------------------------------------------------|
   | 6894     | In dblink._security_check(), use os.path.realpath to make   |
   | zmedico  | sure that the same path isn't counted twice.                |
   |----------+-------------------------------------------------------------|
   | 6896     | as noted by Josh Saddler on the gentoo-dev mailing list,    |
   | SpankMan | issue a warning if we try to create a binpkg for something  |
   |          | that has IUSE=bindist but was emerged with USE=-bindist     |
   |----------+-------------------------------------------------------------|
   | 6897     | Make IUSE handling safe for IUSE defaults.                  |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 6907     | Don't call digraph.hasallzeros() in --resume mode because   |
   | zmedico  | the digraph isn't currently populated in that case.         |
   |----------+-------------------------------------------------------------|
   | 6909     | Don't generate a list of keys for a containment test.       |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 6911     | Remove lots of unnecessary list generation via dict.keys(). |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 6912     | Remove more unnecessary list generation.                    |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 6913     | Remove more unnecessary list generation.                    |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 6914     | Implement UserConfigKlass.__iter__() so that tests pass.    |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 6915     | Fix the test so that it can run inside a sandbox.           |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 6916     | Implement config.has_key() on top of __contains__ instead   |
   | zmedico  | of vice versa.                                              |
   |----------+-------------------------------------------------------------|
   | 6917     | Autodetect if sandbox is active in order to prevent         |
   | zmedico  | recursive sandbox invocation. Thanks to Brian Harring for   |
   |          | the suggestion.                                             |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6944

19 years ago Merged from trunk 6868:6889
Fabian Groffen [Fri, 22 Jun 2007 08:42:54 +0000 (08:42 -0000)]
   Merged from trunk 6868:6889

   +------------------------------------------------------------------------+
   | 6869    | Add PORTAGE_BIN_PATH to the environment since it's used by   |
   | zmedico | dobin to locate isolated-functions.sh.                       |
   |---------+--------------------------------------------------------------|
   | 6870    | Add a test case for the logfile functionality of             |
   | zmedico | portage.spawn().                                             |
   |---------+--------------------------------------------------------------|
   | 6871    | For bug #182428, make quickpkg use a more secure umask by    |
   | zmedico | default and allow it to be overridden by a --umask option.   |
   |         | Add support for QUICKPKG_DEFAULT_OPTS so that default        |
   |         | options can be set in make.conf.                             |
   |---------+--------------------------------------------------------------|
   | 6873    | For bug #182571, handle curses.error if it's thrown inside   |
   | zmedico | get_term_size().                                             |
   |---------+--------------------------------------------------------------|
   | 6875    | Return early from get_term_size() is stdout is not a tty.    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6877    | For bug #143340, give an appropriate message when there is   |
   | zmedico | no read access to a binary package.                          |
   |---------+--------------------------------------------------------------|
   | 6879    | Fix cacheddir() to behave properly if os.listdir() raises    |
   | zmedico | errno.EACCES (Permission denied).                            |
   |---------+--------------------------------------------------------------|
   | 6881    | For bug #180165, make portageq print a "Permission denied"   |
   | zmedico | error when appropriate. A PermissionDenied exception is      |
   |         | raised from portage.listdir() enven when EmptyOnError is     |
   |         | True since errno.EACCES is very likely to indicate a         |
   |         | condition that should be reported in any case.               |
   |---------+--------------------------------------------------------------|
   | 6882    | For bug #180165, make has_version dir if portageq has an     |
   | zmedico | unexpected exit code.                                        |
   |---------+--------------------------------------------------------------|
   | 6883    | If a package is in the world set but it's not installed, go  |
   | zmedico | ahead and install it if it's available (instead of telling   |
   |         | the user to run emaint).                                     |
   |---------+--------------------------------------------------------------|
   | 6886    | Make all the classes inherit from object.                    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6887    | Show a "world problems" warning for packages that aren't     |
   | zmedico | installed, even if they are available.                       |
   |---------+--------------------------------------------------------------|
   | 6889    | Make the progress bar percentage indicator stop at 100%      |
   | zmedico | instead of just 99%.                                         |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6943

19 years ago Merged from trunk 6861:6867
Fabian Groffen [Fri, 22 Jun 2007 08:32:45 +0000 (08:32 -0000)]
   Merged from trunk 6861:6867

   +------------------------------------------------------------------------+
   | 6862    | Fix profile and config arguments to NewsItem.isRelevant()    |
   | zmedico | inside NewsManager.updateItems().                            |
   |---------+--------------------------------------------------------------|
   | 6863    | For bug #182346, use dblink.isowner() during unmerge so that |
   | zmedico | device/inode numbers are used to determine ownership         |
   |         | (despite path mismatch due to symlinks).                     |
   |---------+--------------------------------------------------------------|
   | 6865    | In dblink.isowner() don't bother to stat the file when it's  |
   | zmedico | contained in the contents.                                   |
   |---------+--------------------------------------------------------------|
   | 6867    | During unmerge, always verify that the file isn't a symlink  |
   | zmedico | before doing chmod.                                          |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6942

19 years ago Merged from trunk 6834:6860
Fabian Groffen [Fri, 22 Jun 2007 08:31:09 +0000 (08:31 -0000)]
   Merged from trunk 6834:6860

   +------------------------------------------------------------------------+
   | 6835    | Add portageq command to list preserved libs                  |
   | genone  |                                                              |
   |---------+--------------------------------------------------------------|
   | 6836    | Get registry object from vardbapi directly instead of        |
   | genone  | creating another one                                         |
   |---------+--------------------------------------------------------------|
   | 6837    | For bug #181953, prevent the circular_blocks code from       |
   | zmedico | selecting a node that's already been selected by the normal  |
   |         | node selection process.                                      |
   |---------+--------------------------------------------------------------|
   | 6839    | Pass all the of the existing package databases into          |
   | zmedico | post_emerge() so that we can use them for news and           |
   |         | preserve-libs.                                               |
   |---------+--------------------------------------------------------------|
   | 6840    | Make display_news_notification() reuse the existing          |
   | zmedico | portdbapi instance.                                          |
   |---------+--------------------------------------------------------------|
   | 6841    | Pass existing portdbapi and vardbapi instances into the      |
   | zmedico | NewsManager constructor.                                     |
   |---------+--------------------------------------------------------------|
   | 6843    | Fix broken \!found logic so that any missing files are       |
   | zmedico | properly skipped.                                            |
   |---------+--------------------------------------------------------------|
   | 6846    | For bug #182105, fix the spelling of the fd_pipes paremeter. |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6848    | For bug #182157, never chmod 0 symlinks before unlinking     |
   | zmedico | them.                                                        |
   |---------+--------------------------------------------------------------|
   | 6850    | For bug #182157, don't let unmerge-orphans unlink symlinks   |
   | zmedico | to directories since that can remove /lib and /usr/lib       |
   |         | symlinks.                                                    |
   |---------+--------------------------------------------------------------|
   | 6852    | Handle another case where removing a symlink to a directory  |
   | zmedico | can be harmful.                                              |
   |---------+--------------------------------------------------------------|
   | 6854    | For bug #182021, use active voice when notifying the user    |
   | zmedico | that superuser access is required.                           |
   |---------+--------------------------------------------------------------|
   | 6856    | Make repoman exit with nonzero status whenever there are qa  |
   | zmedico | issues (already does the same in commit mode). Thanks to     |
   |         | Daniel Gryniewicz <dang@gentoo.org> in bug #182166.          |
   |---------+--------------------------------------------------------------|
   | 6858    | Make the collision-protect loop check for existance of the   |
   | zmedico | destination file before checking if it's owned.              |
   |---------+--------------------------------------------------------------|
   | 6860    | Go ahead and unlink symlinks to directories when they're     |
   | zmedico | actually recorded as symlinks in the contents.               |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6941

19 years ago Merged from trunk 6815:6833
Fabian Groffen [Fri, 22 Jun 2007 08:28:06 +0000 (08:28 -0000)]
   Merged from trunk 6815:6833

   +------------------------------------------------------------------------+
   | 6816    | Always return a dict from dblink.getcontents() since callers |
   | zmedico | never expect to get None.                                    |
   |---------+--------------------------------------------------------------|
   | 6818    | Remove some useless dircache code.                           |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6821    | Reuse previously acquired lstat results.                     |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6823    | Cache dblink instances for security checks and reference     |
   | zmedico | counts during merge/unmerge so that each CONTENTS only has   |
   |         | to be parsed once. These can also be reused for              |
   |         | collision-protect.                                           |
   |---------+--------------------------------------------------------------|
   | 6825    | Use cached dblink instances for collision-protect.           |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6827    | Fix dblink.isowner() so it works properly when ROOT!=/.      |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6829    | For bug #134620, add a FEATURES=unmerge-orphans option that  |
   | zmedico | causes unmerge to remove files more aggressively. If a file  |
   |         | is not claimed by another package in the same slot and it is |
   |         | not protected by CONFIG_PROTECT, unmerge it even if the      |
   |         | modification time or checksum differs from the file that was |
   |         | originally installed. This is enabled in make.globals since  |
   |         | the vast majority of users probably want this.               |
   |---------+--------------------------------------------------------------|
   | 6831    | Add a note about the new unmerge-orphans behavior.           |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6833    | In dblink.treewalk(), handle the case where the current cpv  |
   | zmedico | is already installed but it has a different slot (multislot  |
   |         | or unapplied slotmove).                                      |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6940

19 years ago Merged from trunk 6806:6812
Fabian Groffen [Fri, 22 Jun 2007 08:02:36 +0000 (08:02 -0000)]
   Merged from trunk 6806:6812

   +------------------------------------------------------------------------+
   | 6807    | Move news about ** token in package.keywords to the 2.1.3    |
   | zmedico | section.                                                     |
   |---------+--------------------------------------------------------------|
   | 6808    | Update the PORT_LOGDIR docs for bug #82378. Thanks to        |
   | zmedico | Arfrever FTA for reporting.                                  |
   |---------+--------------------------------------------------------------|
   | 6809    | Update the PORT_LOGDIR docs for bug #82378. Thanks to        |
   | zmedico | Arfrever FTA for reporting.                                  |
   |---------+--------------------------------------------------------------|
   | 6810    | Remove stray newline.                                        |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6812    | Add a note about preservation of timestamps on merged files. |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6939

19 years ago Merged from trunk 6765:6802
Fabian Groffen [Mon, 11 Jun 2007 14:26:02 +0000 (14:26 -0000)]
   Merged from trunk 6765:6802

   +------------------------------------------------------------------------+
   | 6766    | For bug #181104, make econf give an appropriate error        |
   | zmedico | message when configure is not executable.                    |
   |---------+--------------------------------------------------------------|
   | 6768    | For bug #139383, in xtermTitleReset() use os.system()        |
   | zmedico | instead of commands.getoutput() since the latter puts too    |
   |         | much restriction on what $PROMPT_COMMAND may contain.        |
   |---------+--------------------------------------------------------------|
   | 6770    | For bug #152828, run ${CHOST}-ldconfig when ${CBUILD} !=     |
   | zmedico | ${CHOST}.                                                    |
   |---------+--------------------------------------------------------------|
   | 6772    | Only execute $PROMPT_COMMAND when appropriate.               |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6775    | Skip bogus '$ECLASS inherited illegally' messages when       |
   | zmedico | installing from a binary package.                            |
   |---------+--------------------------------------------------------------|
   | 6778    | For bug #181387, fix an UnboundLocalError for the mymtime    |
   | zmedico | variable that is triggered by confmem.                       |
   |---------+--------------------------------------------------------------|
   | 6780    | For bug #148702, automatically enable flags from IUSE if     |
   | zmedico | they correspond to unset USE_EXPAND variables such as        |
   |         | LINGUAS. The variable only has to be set to some value or an |
   |         | empty string in order to disable these flags.                |
   |---------+--------------------------------------------------------------|
   | 6782    | When an update is discarded due to confmem, record it's      |
   | zmedico | mtime in the contents (it's md5 is already recorded there    |
   |         | too).                                                        |
   |---------+--------------------------------------------------------------|
   | 6784    | For bug #148702, use the * token to trigger wildcard         |
   | zmedico | expansion of IUSE. This adds flexibility and prevents flags  |
   |         | from being enabled unexpectedly.                             |
   |---------+--------------------------------------------------------------|
   | 6786    | Preserve order of flags from IUSE in wildcard expansion.     |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6788    | Make repoman work with both + and - flags in IUSE.           |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6790    | For bug #181551, support slot deps in package.keywords.      |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6792    | For bug #81097, detect and report suspicious hardlinks to    |
   | zmedico | suid/sgid files. False positives are prevented by doing      |
   |         | reference counts for each inode having suid/sgid bits and    |
   |         | multiple hardlinks. The security check is done prior to each |
   |         | merge or unmerge phase and it will cause the phase to abort  |
   |         | if a problem is found (so that the user can investigate      |
   |         | before any files are removed).                               |
   |---------+--------------------------------------------------------------|
   | 6793    | Don't bother to warn about hardlinks to suid/sgid files      |
   | zmedico | before unlink since it can give false positives and the      |
   |         | existing suid/sgid security check should spot problems       |
   |         | before this anyway.                                          |
   |---------+--------------------------------------------------------------|
   | 6794    | Fix the suid/sgid check so it only looks at regular files    |
   | zmedico | since it can generate false positives otherwise.             |
   |---------+--------------------------------------------------------------|
   | 6796    | For bug #181355, detect parenthesis mismatch in              |
   | zmedico | paren_reduce(), raise an InvalidDependString exception, and  |
   |         | make sure that all callers handle the exception properly.    |
   |---------+--------------------------------------------------------------|
   | 6797    | Remove the "missing left parenthesis" test for now since it  |
   | zmedico | gives false positives.                                       |
   |---------+--------------------------------------------------------------|
   | 6799    | For consistency with other xterm titles code, redirect       |
   | zmedico | $PROMPT_COMMAND output to stderr.                            |
   |---------+--------------------------------------------------------------|
   | 6802    | Bump 2.1.3 to 2.2 for some features and add news about       |
   | zmedico | USE_EXPAND wildcards.                                        |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6804

19 years ago Merged from trunk 6734:6751
Fabian Groffen [Fri, 8 Jun 2007 07:10:30 +0000 (07:10 -0000)]
   Merged from trunk 6734:6751

   +------------------------------------------------------------------------+
   | 6735    | Use user-provided $mv_opts for -5 (bug #47442)               |
   | genone  |                                                              |
   |---------+--------------------------------------------------------------|
   | 6736    | Remove duplicate entries from special variables processed by |
   | genone  | env_update() (bug #172194)                                   |
   |---------+--------------------------------------------------------------|
   | 6737    | When dblink.treewalk() looks for an installed instance in    |
   | zmedico | the same slot, make sure that it selects the one with the    |
   |         | highest COUNTER in case there are multiple matches.          |
   |---------+--------------------------------------------------------------|
   | 6738    | Fix typo, split SPACE_SEPARATED variables on whitespace.     |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6739    | For bug #181021, preserve timestamps from ${D} during merge. |
   | zmedico | For replacement operations, the unmerge phase checks the     |
   |         | contents of the newer instance in order to prevent identical |
   |         | files in the newer instance from being unmerged.             |
   |---------+--------------------------------------------------------------|
   | 6740    | Comment in portage.movefile() that it's impossible to        |
   | zmedico | preserve timestamps of a symlink since utime() only works on |
   |         | the target.                                                  |
   |---------+--------------------------------------------------------------|
   | 6741    | For bug #153967, use -O ${DISTDIR}/${FILE} in the default    |
   | zmedico | FETCHCOMMAND.                                                |
   |---------+--------------------------------------------------------------|
   | 6742    | For bug #156536, update --resume docs to show that the       |
   | zmedico | resume history is capable of storing two merge lists.        |
   |---------+--------------------------------------------------------------|
   | 6743    | For bug #82378, only set permissions on PORT_LOGDIR if it is |
   | zmedico | created automatically.                                       |
   |---------+--------------------------------------------------------------|
   | 6745    | For bug #181021, don't compare attributes of contents        |
   | zmedico | entries when deciding which files not to unmerge. Simply     |
   |         | keep any file that's listed in the new contents in order to  |
   |         | avoid problematic scenarios such as those described in       |
   |         | comments #32 and #40 of bug #8423.                           |
   |---------+--------------------------------------------------------------|
   | 6746    | Return copies of the cached values from pkgsplit and         |
   | zmedico | catpkgsplit.                                                 |
   |---------+--------------------------------------------------------------|
   | 6747    | When using a pty for logging, use setsid() to create a new   |
   | zmedico | session and make the pty into the controlling terminal of    |
   |         | the new session. This makes interactive ebuild behave        |
   |         | properly in interactive cases like check_license() where     |
   |         | ${PAGER:-less} is invoked.                                   |
   |---------+--------------------------------------------------------------|
   | 6748    | Fix strange _DevNull instance has no attribute 'isatty'      |
   | zmedico | warnings that occur when epydoc generates docs.              |
   |---------+--------------------------------------------------------------|
   | 6749    | Make pkgsplit and catpkgsplit return imutable tuples instead |
   | zmedico | of mutable lists so that cached values can be safely         |
   |         | returned without cloning them first. Thanks to Brian Harring |
   |         | for the suggestion.                                          |
   |---------+--------------------------------------------------------------|
   | 6750    | Make all the python code respect USE conditionals in         |
   | zmedico | RESTRICT. It's already handled on the bash side since        |
   |         | RESTRICT is assigned the value of PORTAGE_RESTRICT.          |
   |---------+--------------------------------------------------------------|
   | 6751    | Ignore InvalidDependString exceptions from the RESTRICT of   |
   | zmedico | "nomerge" nodes.                                             |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6752

19 years ago Merged from trunk 6719:6733
Fabian Groffen [Tue, 5 Jun 2007 16:37:29 +0000 (16:37 -0000)]
   Merged from trunk 6719:6733

   +------------------------------------------------------------------------+
   | 6720      | Make binarytree.prevent_collision() update the Packages    |
   | zmedico   | index since it changes the PATH attribute.                 |
   |-----------+------------------------------------------------------------|
   | 6721      | Add a VERSION attribute to the Packages index header and   |
   | zmedico   | reject any index with an unsupported version (current      |
   |           | supported version is 0).                                   |
   |-----------+------------------------------------------------------------|
   | 6722      | Include SHA1 digests in the Packages index.                |
   | zmedico   |                                                            |
   |-----------+------------------------------------------------------------|
   | 6723      | If PORTAGE_BINHOST is defined then use it as a URI         |
   | zmedico   | attribute in the Packages index header.                    |
   |-----------+------------------------------------------------------------|
   | 6724      | copyrights.. id? what?                                     |
   | WarnerBro |                                                            |
   |-----------+------------------------------------------------------------|
   | 6725      | Use the PORTAGE_BINHOST_HEADER_URI environment variable to |
   | zmedico   | define the URI header field for the Packages index. If the |
   |           | URI header field is defined then the client will use it as |
   |           | a base URI for fetching packages.                          |
   |-----------+------------------------------------------------------------|
   | 6726      | Remove pym/{cache,elog_modules} directory symlinks since   |
   | zmedico   | they lead to upgrade/downgrade issues. These modules       |
   |           | probably aren't referenced from outside of portage anyway. |
   |           | There's a hack in config.load_best_module() so that        |
   |           | cache.* in /etc/portage/modules will first try cache.* and |
   |           | then try portage.cache.* if there's an ImportError.        |
   |-----------+------------------------------------------------------------|
   | 6727      | Fix broken usage of lstrip in creating the PROFILE header  |
   | zmedico   | field.                                                     |
   |-----------+------------------------------------------------------------|
   | 6728      | For bug #164655, port quickpkg to python and use the       |
   | zmedico   | tarfile module for proper handling of symlinks to          |
   |           | directories. Thanks to Martin Parm <parmus@diku.dk> for    |
   |           | the initial port.                                          |
   |-----------+------------------------------------------------------------|
   | 6729      | Fix typo.                                                  |
   | zmedico   |                                                            |
   |-----------+------------------------------------------------------------|
   | 6730      | Improve support for slot deps atoms given on the command   |
   | zmedico   | line. Thanks to Flameeyes for reporting.                   |
   |-----------+------------------------------------------------------------|
   | 6732      | Document EXTRA_ECONF, thanks to Arfrever FTA in bug        |
   | zmedico   | #167057.                                                   |
   |-----------+------------------------------------------------------------|
   | 6733      | Add ECONF_SOURCE to the econf docs.                        |
   | zmedico   |                                                            |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6734

19 years ago Merged from trunk 6710:6718
Fabian Groffen [Fri, 1 Jun 2007 20:57:59 +0000 (20:57 -0000)]
   Merged from trunk 6710:6718

   +------------------------------------------------------------------------+
   | 6711    | Don't complain when $FILESDIR is missing unless manifest1    |
   | zmedico | compatibility is enabled.                                    |
   |---------+--------------------------------------------------------------|
   | 6716    | Fix it so repoman still does QA when $FILESDIR doesn't       |
   | zmedico | exist.                                                       |
   |---------+--------------------------------------------------------------|
   | 6718    | Add an optional PATH attribute to the Packages index in      |
   | zmedico | order to indicate the relative path of the package within    |
   |         | the repository. In the future this will allow storage of     |
   |         | more than one package per cpv but for now it's just use to   |
   |         | indicate if a package is stored in the old-style All/        |
   |         | directory (instead of the category directory).               |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6719

19 years ago Merged from trunk 6696:6709
Fabian Groffen [Fri, 1 Jun 2007 18:15:35 +0000 (18:15 -0000)]
   Merged from trunk 6696:6709

   +------------------------------------------------------------------------+
   | 6697    | Replace deprecated binarytree.remotepkgs usage with          |
   | zmedico | binarytree._remotepkgs since the former is vulnerable to     |
   |         | collisions in the tbz2 filename.                             |
   |---------+--------------------------------------------------------------|
   | 6698    | Make dep_zapdeps() pull SLOT from the correct dbapi instance |
   | zmedico | when it falls back to the vdb.                               |
   |---------+--------------------------------------------------------------|
   | 6699    | Raise a KeyError from bindbapi.aux_get() when appropriate.   |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6704    | Fix typo.                                                    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6705    | Add some additional variables to the Packages header.        |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6706    | For bug #149397, raise an InvalidDependString exception if a |
   | zmedico | USE has no basename.                                         |
   |---------+--------------------------------------------------------------|
   | 6707    | Don't repeatedly invoke the depend phase for ebuilds that    |
   | zmedico | are already known to be broken.                              |
   |---------+--------------------------------------------------------------|
   | 6708    | Instead of calling sys.exit() when aux_get() fails inside    |
   | zmedico | getfetchlist(), convert the KeyError to an                   |
   |         | InvalidDependString exception since callers already handle   |
   |         | it.                                                          |
   |---------+--------------------------------------------------------------|
   | 6709    | Add --getbinpkg digest verification.                         |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6710

19 years ago Merged from trunk 6675:6695
Fabian Groffen [Thu, 31 May 2007 15:54:40 +0000 (15:54 -0000)]
   Merged from trunk 6675:6695

   +------------------------------------------------------------------------+
   | 6676    | Show deprecation warnings if the "clone" parameters are used |
   | zmedico | for the binartree, vartree, or portagetree constructors.     |
   |---------+--------------------------------------------------------------|
   | 6678    | For bug #180399, raise an appropriate InvalidDependString    |
   | zmedico | exception if there is no flag attached directly to a '?'     |
   |         | token.                                                       |
   |---------+--------------------------------------------------------------|
   | 6680    | Fix an IndexError in get_operator() that occurs when         |
   | zmedico | isvalidatom() passes it an empty string.                     |
   |---------+--------------------------------------------------------------|
   | 6682    | remove pointless $PORTDIR lock                               |
   | genone  |                                                              |
   |---------+--------------------------------------------------------------|
   | 6684    | catch GetoptError                                            |
   | genone  |                                                              |
   |---------+--------------------------------------------------------------|
   | 6685    | Only check ChangeLog if we're dealing with an ebuild (bug    |
   | genone  | #170604)                                                     |
   |---------+--------------------------------------------------------------|
   | 6686    | Create one unified dbapi.update_ents() method and use it for |
   | zmedico | both fixpackages and the emaint move{inst,bin} targets.      |
   |---------+--------------------------------------------------------------|
   | 6687    | Make automatic "global updates" always use the config        |
   | zmedico | instance that's associated with /, since the rest of the     |
   |         | code is targeted at /.                                       |
   |---------+--------------------------------------------------------------|
   | 6688    | Create one unified dbapi.move_slot_ent() method to replace   |
   | zmedico | the corresponding binarytree and vardbapi methods.           |
   |---------+--------------------------------------------------------------|
   | 6689    | Allow dbapi.aux_update() to prune empty metadata values from |
   | zmedico | storage.                                                     |
   |---------+--------------------------------------------------------------|
   | 6690    | Trigger an update of the Packages index when a package is    |
   | zmedico | moved or aux_update() is called.                             |
   |---------+--------------------------------------------------------------|
   | 6691    | Don't try to perform global updates on binary packages       |
   | zmedico | unless $PKGDIR is writable.                                  |
   |---------+--------------------------------------------------------------|
   | 6692    | Don't define bindbapi.move_slot_ent() since the inherited    |
   | zmedico | one works fine. Override cp_all() instead of cpv_all() since |
   |         | the latter calls the former.                                 |
   |---------+--------------------------------------------------------------|
   | 6693    | Implement bindbapi.cpv_all() since the one from fakedbapi    |
   | zmedico | won't populate the tree.                                     |
   |---------+--------------------------------------------------------------|
   | 6694    | Add PORTAGE_BINHOST support for fetching a remote Packages   |
   | zmedico | index. If the index is not found then it falls back to the   |
   |         | old directory listing method.                                |
   |---------+--------------------------------------------------------------|
   | 6695    | Fix typos.                                                   |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6696

19 years ago Merged from trunk 6646:6673
Fabian Groffen [Wed, 30 May 2007 17:56:11 +0000 (17:56 -0000)]
   Merged from trunk 6646:6673

   +------------------------------------------------------------------------+
   | 6647    | Fix typo.                                                    |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6648    | For bug #180079, fix a KeyError so that a search for the     |
   | zmedico | empty string will go ahead and match all packages.           |
   |---------+--------------------------------------------------------------|
   | 6650    | For bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config  |
   | zmedico | variable. The default is 15 seconds and it can be disabled   |
   |         | by setting it to 0.                                          |
   |---------+--------------------------------------------------------------|
   | 6652    | Add new emaint targets called "moveinst" and "movebin" for   |
   | zmedico | applying package moves from $PORTDIR/profiles/updates/ on    |
   |         | installed packages and binary packages.                      |
   |---------+--------------------------------------------------------------|
   | 6653    | Fix emaint world $ROOT handling.                             |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6654    | Cap the progress bar columns at 80 since it looks ridiculous |
   | zmedico | when it gets too wide.                                       |
   |---------+--------------------------------------------------------------|
   | 6655    | Include IUSE in the Package index so that it can be used for |
   | zmedico | --newuse calculations.                                       |
   |---------+--------------------------------------------------------------|
   | 6656    | Fix binarytree.gettbz2() so that it works without            |
   | zmedico | $PKGDIR/All/ and inserts the downloaded package into the     |
   |         | local index.                                                 |
   |---------+--------------------------------------------------------------|
   | 6657    | For bug #179870, add support for cpv:slot in                 |
   | zmedico | match_from_list() and use it to make config.setcpv()         |
   |         | distinguish slot atoms in package.use.                       |
   |---------+--------------------------------------------------------------|
   | 6659    | Don't pass slotted packages into pkgsplit since it doesn't   |
   | zmedico | handle them.                                                 |
   |---------+--------------------------------------------------------------|
   | 6661    | Fix dep_getcpv() so that it always properly removes the slot |
   | zmedico | regardless of which operator is present.                     |
   |---------+--------------------------------------------------------------|
   | 6663    | Fix get_operator() and best_match_to_list() so that slot     |
   | zmedico | deps mesh properly with operators.                           |
   |---------+--------------------------------------------------------------|
   | 6665    | For bug #179870, correctly handle slot deps in the profile's |
   | zmedico | package.* files.                                             |
   |---------+--------------------------------------------------------------|
   | 6667    | For bug #180222, make ecompressdir use -f for the automatic  |
   | zmedico | decompression phase.                                         |
   |---------+--------------------------------------------------------------|
   | 6669    | Fix slot handling at the beginning of match_from_list().     |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6671    | For bug #61732, support -flag in USE (instead of just        |
   | zmedico | +flag). Given the current default USE_ORDER, -flag in IUSE   |
   |         | has no effect.                                               |
   |---------+--------------------------------------------------------------|
   | 6673    | Return a copy of the cached result from match_from_list().   |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6675

19 years ago Merged from trunk 6634:6644
Fabian Groffen [Sun, 27 May 2007 21:09:50 +0000 (21:09 -0000)]
   Merged from trunk 6634:6644

   +------------------------------------------------------------------------+
   | 6634    | Fix broken dict.get logic.                                   |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6635    | Fix logic for USE_EXPAND variables that are incremental      |
   | zmedico | (there are none currently).                                  |
   |---------+--------------------------------------------------------------|
   | 6637    | In the WorldHandler class, add support for an onProgress     |
   | zmedico | callback that can be used notify the user of job progress.   |
   |         | This isn't really useful for WorldHandler since it completes |
   |         | quickly, but it will be useful for longer running tasks.     |
   |---------+--------------------------------------------------------------|
   | 6638    | Add a get_term_size() function that uses the curses module   |
   | zmedico | if available and otherwise falls back to parsing the output  |
   |         | of `stty size`.                                              |
   |---------+--------------------------------------------------------------|
   | 6639    | Add progress support to emaint (similar to wget's progress   |
   | zmedico | bar).                                                        |
   |---------+--------------------------------------------------------------|
   | 6640    | Add SIGWINCH support so that the progress bar is resized if  |
   | zmedico | the xterm is resized.                                        |
   |---------+--------------------------------------------------------------|
   | 6641    | Fix an UnboundLocalError when there's no tty.                |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6642    | Fix a typo.                                                  |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6643    | Add an emaint "binhost" target which does the time consuming |
   | zmedico | population of $PKGDIR/Packages that is necessary for a       |
   |         | binhost (MD5 makes it relatively slow). It reuses metadata   |
   |         | from the existing Packages file whenever possible.           |
   |---------+--------------------------------------------------------------|
   | 6644    | Make emaint prune stale entires from $PKGDIR/Packages.       |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6646

19 years ago Merged from trunk 6626:6634
Fabian Groffen [Sun, 27 May 2007 21:05:56 +0000 (21:05 -0000)]
   Merged from trunk 6626:6634

   +------------------------------------------------------------------------+
   | 6627    | Store flags as a set inside the USE incremental loop.        |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6629    | s/filing a report to/seeking support at/ Thanks to marienz.  |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6630    | In the econf die message, don't mention bugs.gentoo.org      |
   | zmedico | specifically.                                                |
   |---------+--------------------------------------------------------------|
   | 6631    | xmlint can produce garbage output even on success, so only   |
   | zmedico | dump the ouput when it fails. See bug #179008.               |
   |---------+--------------------------------------------------------------|
   | 6633    | Create the Packages index whether or not $PKGDIR/All/ exists |
   | zmedico | so that improved binarytree.populate() performance will be   |
   |         | available in either case. When dealing with packages in      |
   |         | $PKGDIR/All/, it's assumed that the file name, size, and     |
   |         | timestamp are enough information to avoid reading the xpak   |
   |         | data.                                                        |
   |---------+--------------------------------------------------------------|
   | 6634    | Fix broken dict.get logic.                                   |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6645

19 years ago Merged from trunk 6622:6625
Fabian Groffen [Fri, 25 May 2007 20:26:09 +0000 (20:26 -0000)]
   Merged from trunk 6622:6625

   +------------------------------------------------------------------------+
   | 6623    | For bug #179766, expand USE_EXPAND variables inside the USE  |
   | zmedico | incremental loop so that USE"-*" will not always destroy     |
   |         | them.                                                        |
   |---------+--------------------------------------------------------------|
   | 6625    | Call tcgetattr and tcsetattr on the slave end of the pty in  |
   | zmedico | order to avoid an "invalid argument" error on Solaris.       |
   |         | Thanks to grobian.                                           |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6626

19 years ago Merged from trunk 6608:6620
Fabian Groffen [Fri, 25 May 2007 17:55:00 +0000 (17:55 -0000)]
   Merged from trunk 6608:6620

   +------------------------------------------------------------------------+
   | 6609    | Add more relevant package metadata to the Packages index,    |
   | zmedico | including dependencies with USE conditionals collapsed.      |
   |---------+--------------------------------------------------------------|
   | 6610    | Fix paren_normalize logic.                                   |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6611    | Make PackageIndex.write() alphabetize the metadata keys.     |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6612    | Remember to call the superclass constructor.                 |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6613    | Make PackageIndex.write() omit USE when appropriate.         |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6615    | Fix the ignore-previously-merged option so that it compares  |
   | zmedico | the original files, since mrgconf can be identical to        |
   |         | conf['current'] even when conf['new'] is different from the  |
   |         | archived .dist version (due to diff3 merging).               |
   |         | (prefix: use tabs instead of spaces to avoid IndentErrors)   |
   |---------+--------------------------------------------------------------|
   | 6617    | Don't treat KEYWORDS="-*" like KEYWORDS="*", because it's    |
   | zmedico | never been that way and the * behavior was already annoying  |
   |         | enough.                                                      |
   |---------+--------------------------------------------------------------|
   | 6618    | Skip fetching of metadata.dtd when mymode == "manifest".     |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6620    | To ease the namespace transition, automatically translate    |
   | zmedico | cache.* to portage.cache.* if an ImportError occurs.         |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6622

19 years agoAlso check .dylibs, such that we don't exclude Darwin from "much
Fabian Groffen [Thu, 24 May 2007 10:31:13 +0000 (10:31 -0000)]
Also check .dylibs, such that we don't exclude Darwin from "much
appreciated" sanity checks

svn path=/main/branches/prefix/; revision=6614

19 years agoI should run tabnanny myself before committing too... :/
Fabian Groffen [Wed, 23 May 2007 17:37:34 +0000 (17:37 -0000)]
I should run tabnanny myself before committing too... :/

svn path=/main/branches/prefix/; revision=6600

19 years agoI would be very delighted if people could run tabnanny themselves, as
Fabian Groffen [Wed, 23 May 2007 17:32:11 +0000 (17:32 -0000)]
I would be very delighted if people could run tabnanny themselves, as
indenting python is absolutely horrible work, since Vim can't help you
with that due to this indenting=scope thing.  It also makes python
itself kind of upset usually if you mix up tabs with spaces, so another
reason to run tabnanny.

svn path=/main/branches/prefix/; revision=6599

19 years ago Merged from trunk 6590:6592
Fabian Groffen [Wed, 23 May 2007 17:25:08 +0000 (17:25 -0000)]
   Merged from trunk 6590:6592

   +------------------------------------------------------------------------+
   | 6590    | Save memory by not holding a reference to the PackageIndex   |
   | zmedico | when it's not being used.                                    |
   |---------+--------------------------------------------------------------|
   | 6591    | Pass a temporary file name to the package phase in the       |
   | zmedico | environment variable PORTAGE_BINPKG_TMPFILE and move the     |
   |         | temporary file into place inside binarytree.inject(). This   |
   |         | allows binarytree.inject() to perform the move while holding |
   |         | a lock.                                                      |
   |---------+--------------------------------------------------------------|
   | 6592    | Add a 'ignore-previously-merged' config option which gives   |
   | zmedico | similar behavior to the --noconfmem emerge option.           |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6598

19 years ago Merged from trunk 6580:6590
Fabian Groffen [Wed, 23 May 2007 17:21:58 +0000 (17:21 -0000)]
   Merged from trunk 6580:6590

   +------------------------------------------------------------------------+
   | 6580    | Fix namespace for S_ISUID and S_ISGID.                       |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6581    | More namespace fixes.                                        |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6582    | Punt the portdbapi.getsize() function since it's unused and  |
   | zmedico | broken (mysum referenced before assignment).                 |
   |---------+--------------------------------------------------------------|
   | 6583    | Fix missing red import.                                      |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6584    | Split reading/writing of $PKGDIR/Packages into a             |
   | zmedico | PackageIndex class.                                          |
   |---------+--------------------------------------------------------------|
   | 6585    | Discard metadata from the Packages file if there's no MTIME  |
   | zmedico | attribute.                                                   |
   |---------+--------------------------------------------------------------|
   | 6586    | Update /Packages as each package is built (MD5 is done here  |
   | zmedico | since it won't hurt performance).                            |
   |---------+--------------------------------------------------------------|
   | 6587    | Lock $PKGDIR/Packages during population so that it won't get |
   | zmedico | out of sync if another process updates it.                   |
   |---------+--------------------------------------------------------------|
   | 6588    | Store the path of $PKGDIR/Packages as                        |
   | zmedico | binarytree._pkgindex_file.                                   |
   |---------+--------------------------------------------------------------|
   | 6589    | Lock the Packages index while it's being updated with a      |
   | zmedico | packages that was just built.                                |
   |---------+--------------------------------------------------------------|
   | 6590    | Save memory by not holding a reference to the PackageIndex   |
   | zmedico | when it's not being used.                                    |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6597

19 years ago Merged from trunk 6570:6580
Fabian Groffen [Wed, 23 May 2007 17:20:32 +0000 (17:20 -0000)]
   Merged from trunk 6570:6580

   +------------------------------------------------------------------------+
   | 6570    | Fix size comparison logic.                                   |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6571    | Handle a KeyError if an MTIME is missing from the Packages   |
   | zmedico | index.                                                       |
   |---------+--------------------------------------------------------------|
   | 6579    | - cleaner version of the hardlink basic suid protection.     |
   | solar   | actually check that the file is setXid                       |
   |---------+--------------------------------------------------------------|
   | 6580    | Fix namespace for S_ISUID and S_ISGID.                       |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6596

19 years ago Merged from trunk 6560:6570
Fabian Groffen [Wed, 23 May 2007 16:35:27 +0000 (16:35 -0000)]
   Merged from trunk 6560:6570

   +------------------------------------------------------------------------+
   | 6560    | For bug #179206, improve efficiency by using a containment   |
   | zmedico | test instead of str.count inside update_dbentry. Thanks to   |
   |         | Jason Lai <jason.lai@gmail.com>.                             |
   |---------+--------------------------------------------------------------|
   | 6561    | In fetch(), don't try to parse digests unless the "O"        |
   | zmedico | variable is defined.                                         |
   |---------+--------------------------------------------------------------|
   | 6562    | For bug #179008, just use metadata.dtd directly from         |
   | zmedico | $DISTDIR.                                                    |
   |---------+--------------------------------------------------------------|
   | 6563    | - blind chmod 0 before unlinking files to avoid anybody      |
   | solar   | doing sneaky stuff via hardlinks                             |
   |---------+--------------------------------------------------------------|
   | 6564    | Add a missing newline to the writemsg output.                |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6565    | For bug #179380, make support for ECONF_SOURCE in the        |
   | zmedico | default src_compile() conditional on EAPI != 0.              |
   |---------+--------------------------------------------------------------|
   | 6566    | Use bash to spawn FETCHCOMMAND under selinux since most      |
   | zmedico | other binaries are forbidden as entrypoints into the fetch   |
   |         | domain. Thanks to Justin Heesemann <jh@ionium.org> for       |
   |         | reporting.                                                   |
   |---------+--------------------------------------------------------------|
   | 6567    | Fix src_compile() ECONF_SOURCE logic to make sure it behaves |
   | zmedico | properly.                                                    |
   |---------+--------------------------------------------------------------|
   | 6568    | When ${PKGDIR}/All/ doesn't exist, put packages in           |
   | zmedico | ${PKGDIR}/${CATEGORY}/ instead. This new layout is backward  |
   |         | compatible with portage-2.1.2 and it will be a requirement   |
   |         | for new PORTAGE_BINHOST support that is comming.             |
   |---------+--------------------------------------------------------------|
   | 6569    | Cache xpak metadata in ${PKGDIR}/Packages in order to        |
   | zmedico | minimize disk load when binarytree.populate() is called.     |
   |         | This does not do all the keys that genpkgindex does but it   |
   |         | will copy metadata from the existing Packages file if it     |
   |         | appears valid. The binarytree.populate() code is performance |
   |         | critical, so the MD5 will certainly have to be done          |
   |         | elsewhere (like just after a package is built).              |
   |---------+--------------------------------------------------------------|
   | 6570    | Fix size comparison logic.                                   |
   | zmedico |                                                              |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6595

19 years ago Merged from trunk 6550:6560
Fabian Groffen [Wed, 23 May 2007 16:30:04 +0000 (16:30 -0000)]
   Merged from trunk 6550:6560

   +------------------------------------------------------------------------+
   | 6550     | Catch a potential OSError if the child process has already  |
   | zmedico  | died.                                                       |
   |----------+-------------------------------------------------------------|
   | 6551     | Only show extra whitespace where there are some news items  |
   | zmedico  | to display.                                                 |
   |----------+-------------------------------------------------------------|
   | 6552     | Fall back to pickle if cPickle is unavailable. Thanks to    |
   | zmedico  | Michael Haubenwallner <michael.haubenwallner@salomon.at>    |
   |          | for reporting.                                              |
   |----------+-------------------------------------------------------------|
   | 6553     | fix from James C. Georgas to not modify EXTRA_EINSTALL      |
   | SpankMan | #178544                                                     |
   |----------+-------------------------------------------------------------|
   | 6554     | For bug #176539, add a "manifest" target to repoman so that |
   | zmedico  | there's a simple way to just generate a Manifest.           |
   |----------+-------------------------------------------------------------|
   | 6555     | Avoid permission errors when trying to lock repo_path. Note |
   | zmedico  | that the lock file should be mapped into /var somewhere.    |
   |----------+-------------------------------------------------------------|
   | 6556     | In --tree output, keep track of which graph edges have      |
   | zmedico  | already been displayed and try not to display a given edge  |
   |          | more than once.                                             |
   |----------+-------------------------------------------------------------|
   | 6557     | Add edges to shown_edges at the first oportunity.           |
   | zmedico  |                                                             |
   |----------+-------------------------------------------------------------|
   | 6558     | For bug #178378, make the default src_compile() check for   |
   | zmedico  | configure in ${ECONF_SOURCE:-.} (instead of just .) before  |
   |          | it calls econf. Thanks to James C. Georgas                  |
   |          | <jgeorgas@rogers.com>.                                      |
   |----------+-------------------------------------------------------------|
   | 6559     | Use device number and i-node number (like os.path.samefile  |
   | zmedico  | does) to check if the current directory is inside a given   |
   |          | overlay. This solves issues with path comparison and        |
   |          | symlinks.                                                   |
   |----------+-------------------------------------------------------------|
   | 6560     | For bug #179206, improve efficiency by using a containment  |
   | zmedico  | test instead of str.count inside update_dbentry. Thanks to  |
   |          | Jason Lai <jason.lai@gmail.com>.                            |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6594

19 years ago Merged from trunk 6539:6550
Fabian Groffen [Wed, 23 May 2007 16:27:03 +0000 (16:27 -0000)]
   Merged from trunk 6539:6550

   +------------------------------------------------------------------------+
   | 6540    | Don't protect USE_EXPAND variables from -* anymore because   |
   | zmedico | the really critical ones should all be in use.force now      |
   |         | (typically kernel_linux, elibc_glibc, and userland_GNU).     |
   |---------+--------------------------------------------------------------|
   | 6541    | For bug #162404, use a pseudo-terminal device pair (instead  |
   | zmedico | of a normal pipe) for moving ouput out of the sesandbox      |
   |         | domain.                                                      |
   |---------+--------------------------------------------------------------|
   | 6542    | wrap lines                                                   |
   | zmedico |                                                              |
   |---------+--------------------------------------------------------------|
   | 6543    | Check to see if I have svn.g.o fixed, no actual file         |
   | robbat2 | changes.                                                     |
   |---------+--------------------------------------------------------------|
   | 6544    | Check to see if I have svn.g.o fixed, no actual file         |
   | robbat2 | changes, pass #2                                             |
   |---------+--------------------------------------------------------------|
   | 6545    | Add registration support for preserved library objects, move |
   | genone  | the library->consumer map code out of vardbapi and fix a bug |
   |         | in the setup code for preserve-libs and collision-protect    |
   |         | caused by using relative paths with os.path.islink()         |
   |---------+--------------------------------------------------------------|
   | 6546    | - store newsid in unread file, not the path to the news item |
   | genone  | - use octal numbers to specify file permissions - use        |
   |         | descriptive exceptions when (not) creating NewsItem objects  |
   |         | - code style cleanups                                        |
   |---------+--------------------------------------------------------------|
   | 6547    | Display notification about unread news in all situations     |
   | genone  | specified by glep 42                                         |
   |---------+--------------------------------------------------------------|
   | 6548    | Enable elog functionality for the python side of portage     |
   | genone  |                                                              |
   |---------+--------------------------------------------------------------|
   | 6549    | Update for glep42, preserve-libs and elog                    |
   | genone  |                                                              |
   |---------+--------------------------------------------------------------|
   | 6550    | Catch a potential OSError if the child process has already   |
   | zmedico | died.                                                        |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6593

19 years ago Merged from trunk 6534:6535
Fabian Groffen [Tue, 15 May 2007 19:44:43 +0000 (19:44 -0000)]
   Merged from trunk 6534:6535

   +------------------------------------------------------------------------+
   | 6535    | For bug #178293, don't write digest-* files unnecessarily    |
   | zmedico | when SRC_URI is empty.                                       |
   +------------------------------------------------------------------------+

svn path=/main/branches/prefix/; revision=6539