portage.git
19 years agoAllow dbapi.aux_update() to prune empty metadata values from storage.
Zac Medico [Thu, 31 May 2007 07:15:18 +0000 (07:15 -0000)]
Allow dbapi.aux_update() to prune empty metadata values from storage.

svn path=/main/trunk/; revision=6689

19 years agoCreate one unified dbapi.move_slot_ent() method to replace the corresponding binarytr...
Zac Medico [Thu, 31 May 2007 07:00:45 +0000 (07:00 -0000)]
Create one unified dbapi.move_slot_ent() method to replace the corresponding binarytree and vardbapi methods.

svn path=/main/trunk/; revision=6688

19 years agoMake automatic "global updates" always use the config instance that's associated...
Zac Medico [Thu, 31 May 2007 05:43:41 +0000 (05:43 -0000)]
Make automatic "global updates" always use the config instance that's associated with /, since the rest of the code is targeted at /.

svn path=/main/trunk/; revision=6687

19 years agoCreate one unified dbapi.update_ents() method and use it for both fixpackages and...
Zac Medico [Thu, 31 May 2007 04:49:16 +0000 (04:49 -0000)]
Create one unified dbapi.update_ents() method and use it for both fixpackages and the emaint move{inst,bin} targets.

svn path=/main/trunk/; revision=6686

19 years agoOnly check ChangeLog if we're dealing with an ebuild (bug #170604)
Marius Mauch [Thu, 31 May 2007 01:36:22 +0000 (01:36 -0000)]
Only check ChangeLog if we're dealing with an ebuild (bug #170604)

svn path=/main/trunk/; revision=6685

19 years agocatch GetoptError
Marius Mauch [Thu, 31 May 2007 01:26:33 +0000 (01:26 -0000)]
catch GetoptError

svn path=/main/trunk/; revision=6684

19 years agoremove pointless $PORTDIR lock
Marius Mauch [Thu, 31 May 2007 00:22:06 +0000 (00:22 -0000)]
remove pointless $PORTDIR lock

svn path=/main/trunk/; revision=6682

19 years agoFix an IndexError in get_operator() that occurs when isvalidatom() passes it an empty...
Zac Medico [Wed, 30 May 2007 23:31:14 +0000 (23:31 -0000)]
Fix an IndexError in get_operator() that occurs when isvalidatom() passes it an empty string.

svn path=/main/trunk/; revision=6680

19 years agoFor bug #180399, raise an appropriate InvalidDependString exception if there is no...
Zac Medico [Wed, 30 May 2007 23:22:29 +0000 (23:22 -0000)]
For bug #180399, raise an appropriate InvalidDependString exception if there is no flag attached directly to a '?' token.

svn path=/main/trunk/; revision=6678

19 years agoShow deprecation warnings if the "clone" parameters are used for the binartree, vartr...
Zac Medico [Wed, 30 May 2007 22:33:10 +0000 (22:33 -0000)]
Show deprecation warnings if the "clone" parameters are used for the binartree, vartree, or portagetree constructors.

svn path=/main/trunk/; revision=6676

19 years agoReturn a copy of the cached result from match_from_list().
Zac Medico [Wed, 30 May 2007 05:45:06 +0000 (05:45 -0000)]
Return a copy of the cached result from match_from_list().

svn path=/main/trunk/; revision=6673

19 years agoFor bug #61732, support -flag in USE (instead of just +flag). Given the current...
Zac Medico [Wed, 30 May 2007 02:42:05 +0000 (02:42 -0000)]
For bug #61732, support -flag in USE (instead of just +flag).  Given the current default USE_ORDER, -flag in IUSE has no effect.

svn path=/main/trunk/; revision=6671

19 years agoFix slot handling at the beginning of match_from_list().
Zac Medico [Wed, 30 May 2007 02:23:36 +0000 (02:23 -0000)]
Fix slot handling at the beginning of match_from_list().

svn path=/main/trunk/; revision=6669

19 years agoFor bug #180222, make ecompressdir use -f for the automatic decompression phase.
Zac Medico [Wed, 30 May 2007 02:05:13 +0000 (02:05 -0000)]
For bug #180222, make ecompressdir use -f for the automatic decompression phase.

svn path=/main/trunk/; revision=6667

19 years agoFor bug #179870, correctly handle slot deps in the profile's package.* files.
Zac Medico [Tue, 29 May 2007 21:57:34 +0000 (21:57 -0000)]
For bug #179870, correctly handle slot deps in the profile's package.* files.

svn path=/main/trunk/; revision=6665

19 years agoFix get_operator() and best_match_to_list() so that slot deps mesh properly with...
Zac Medico [Tue, 29 May 2007 20:36:40 +0000 (20:36 -0000)]
Fix get_operator() and best_match_to_list() so that slot deps mesh properly with operators.

svn path=/main/trunk/; revision=6663

19 years agoFix dep_getcpv() so that it always properly removes the slot regardless of which...
Zac Medico [Tue, 29 May 2007 12:41:08 +0000 (12:41 -0000)]
Fix dep_getcpv() so that it always properly removes the slot regardless of which operator is present.

svn path=/main/trunk/; revision=6661

19 years agoDon't pass slotted packages into pkgsplit since it doesn't handle them.
Zac Medico [Tue, 29 May 2007 12:10:09 +0000 (12:10 -0000)]
Don't pass slotted packages into pkgsplit since it doesn't handle them.

svn path=/main/trunk/; revision=6659

19 years agoFor bug #179870, add support for cpv:slot in match_from_list() and use it to make...
Zac Medico [Tue, 29 May 2007 11:26:33 +0000 (11:26 -0000)]
For bug #179870, add support for cpv:slot in match_from_list() and use it to make config.setcpv() distinguish slot atoms in package.use.

svn path=/main/trunk/; revision=6657

19 years agoFix binarytree.gettbz2() so that it works without $PKGDIR/All/ and inserts the downlo...
Zac Medico [Mon, 28 May 2007 23:41:13 +0000 (23:41 -0000)]
Fix binarytree.gettbz2() so that it works without $PKGDIR/All/ and inserts the downloaded package into the local index.

svn path=/main/trunk/; revision=6656

19 years agoInclude IUSE in the Package index so that it can be used for --newuse calculations.
Zac Medico [Mon, 28 May 2007 22:16:36 +0000 (22:16 -0000)]
Include IUSE in the Package index so that it can be used for --newuse calculations.

svn path=/main/trunk/; revision=6655

19 years agoCap the progress bar columns at 80 since it looks ridiculous when it gets too wide.
Zac Medico [Mon, 28 May 2007 21:31:45 +0000 (21:31 -0000)]
Cap the progress bar columns at 80 since it looks ridiculous when it gets too wide.

svn path=/main/trunk/; revision=6654

19 years agoFix emaint world $ROOT handling.
Zac Medico [Mon, 28 May 2007 09:34:52 +0000 (09:34 -0000)]
Fix emaint world $ROOT handling.

svn path=/main/trunk/; revision=6653

19 years agoAdd new emaint targets called "moveinst" and "movebin" for applying package moves...
Zac Medico [Mon, 28 May 2007 09:31:26 +0000 (09:31 -0000)]
Add new emaint targets called "moveinst" and "movebin" for applying package moves from $PORTDIR/profiles/updates/ on installed packages and binary packages.

svn path=/main/trunk/; revision=6652

19 years agoFor bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config variable. The default...
Zac Medico [Mon, 28 May 2007 07:28:48 +0000 (07:28 -0000)]
For bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config variable.  The default is 15 seconds and it can be disabled by setting it to 0.

svn path=/main/trunk/; revision=6650

19 years agoFor bug #180079, fix a KeyError so that a search for the empty string will go ahead...
Zac Medico [Mon, 28 May 2007 07:11:01 +0000 (07:11 -0000)]
For bug #180079, fix a KeyError so that a search for the empty string will go ahead and match all packages.

svn path=/main/trunk/; revision=6648

19 years agoFix typo.
Zac Medico [Sun, 27 May 2007 22:00:56 +0000 (22:00 -0000)]
Fix typo.

svn path=/main/trunk/; revision=6647

19 years agoMake emaint prune stale entires from $PKGDIR/Packages.
Zac Medico [Sun, 27 May 2007 14:48:39 +0000 (14:48 -0000)]
Make emaint prune stale entires from $PKGDIR/Packages.

svn path=/main/trunk/; revision=6644

19 years agoAdd an emaint "binhost" target which does the time consuming population of $PKGDIR...
Zac Medico [Sun, 27 May 2007 13:59:47 +0000 (13:59 -0000)]
Add an emaint "binhost" target which does the time consuming 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.

svn path=/main/trunk/; revision=6643

19 years agoFix a typo.
Zac Medico [Sun, 27 May 2007 13:06:29 +0000 (13:06 -0000)]
Fix a typo.

svn path=/main/trunk/; revision=6642

19 years agoFix an UnboundLocalError when there's no tty.
Zac Medico [Sun, 27 May 2007 12:48:22 +0000 (12:48 -0000)]
Fix an UnboundLocalError when there's no tty.

svn path=/main/trunk/; revision=6641

19 years agoAdd SIGWINCH support so that the progress bar is resized if the xterm is resized.
Zac Medico [Sun, 27 May 2007 12:39:35 +0000 (12:39 -0000)]
Add SIGWINCH support so that the progress bar is resized if the xterm is resized.

svn path=/main/trunk/; revision=6640

19 years agoAdd progress support to emaint (similar to wget's progress bar).
Zac Medico [Sun, 27 May 2007 12:12:51 +0000 (12:12 -0000)]
Add progress support to emaint (similar to wget's progress bar).

svn path=/main/trunk/; revision=6639

19 years agoAdd a get_term_size() function that uses the curses module if available and otherwise...
Zac Medico [Sun, 27 May 2007 06:17:58 +0000 (06:17 -0000)]
Add a get_term_size() function that uses the curses module if available and otherwise falls back to parsing the output of `stty size`.

svn path=/main/trunk/; revision=6638

19 years agoIn the WorldHandler class, add support for an onProgress callback that can be used...
Zac Medico [Sun, 27 May 2007 02:10:23 +0000 (02:10 -0000)]
In the WorldHandler class, add support for an onProgress 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.

svn path=/main/trunk/; revision=6637

19 years agoFix logic for USE_EXPAND variables that are incremental (there are none currently).
Zac Medico [Sat, 26 May 2007 21:17:19 +0000 (21:17 -0000)]
Fix logic for USE_EXPAND variables that are incremental (there are none currently).

svn path=/main/trunk/; revision=6635

19 years agoFix broken dict.get logic.
Zac Medico [Sat, 26 May 2007 02:41:39 +0000 (02:41 -0000)]
Fix broken dict.get logic.

svn path=/main/trunk/; revision=6634

19 years agoCreate the Packages index whether or not $PKGDIR/All/ exists so that improved binaryt...
Zac Medico [Sat, 26 May 2007 02:13:51 +0000 (02:13 -0000)]
Create the Packages index whether or not $PKGDIR/All/ exists 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.

svn path=/main/trunk/; revision=6633

19 years agoxmlint can produce garbage output even on success, so only dump the ouput when it...
Zac Medico [Sat, 26 May 2007 01:26:20 +0000 (01:26 -0000)]
xmlint can produce garbage output even on success, so only dump the ouput when it fails.  See bug #179008.

svn path=/main/trunk/; revision=6631

19 years agoIn the econf die message, don't mention bugs.gentoo.org specifically.
Zac Medico [Sat, 26 May 2007 00:41:06 +0000 (00:41 -0000)]
In the econf die message, don't mention bugs.gentoo.org specifically.

svn path=/main/trunk/; revision=6630

19 years agos/filing a report to/seeking support at/ Thanks to marienz.
Zac Medico [Sat, 26 May 2007 00:36:27 +0000 (00:36 -0000)]
s/filing a report to/seeking support at/ Thanks to marienz.

svn path=/main/trunk/; revision=6629

19 years agoStore flags as a set inside the USE incremental loop.
Zac Medico [Fri, 25 May 2007 22:13:15 +0000 (22:13 -0000)]
Store flags as a set inside the USE incremental loop.

svn path=/main/trunk/; revision=6627

19 years agoCall tcgetattr and tcsetattr on the slave end of the pty in order to avoid an "invali...
Zac Medico [Fri, 25 May 2007 20:22:53 +0000 (20:22 -0000)]
Call tcgetattr and tcsetattr on the slave end of the pty in order to avoid an "invalid argument" error on Solaris.  Thanks to grobian.

svn path=/main/trunk/; revision=6625

19 years agoFor bug #179766, expand USE_EXPAND variables inside the USE incremental loop so that...
Zac Medico [Fri, 25 May 2007 19:14:11 +0000 (19:14 -0000)]
For bug #179766, expand USE_EXPAND variables inside the USE incremental loop so that USE"-*" will not always destroy them.

svn path=/main/trunk/; revision=6623

19 years agoTo ease the namespace transition, automatically translate cache.* to portage.cache...
Zac Medico [Fri, 25 May 2007 07:06:41 +0000 (07:06 -0000)]
To ease the namespace transition, automatically translate cache.* to portage.cache.* if an ImportError occurs.

svn path=/main/trunk/; revision=6620

19 years agoSkip fetching of metadata.dtd when mymode == "manifest".
Zac Medico [Fri, 25 May 2007 00:22:15 +0000 (00:22 -0000)]
Skip fetching of metadata.dtd when mymode == "manifest".

svn path=/main/trunk/; revision=6618

19 years agoDon't treat KEYWORDS="-*" like KEYWORDS="*", because it's never been that way and...
Zac Medico [Thu, 24 May 2007 22:11:41 +0000 (22:11 -0000)]
Don't treat KEYWORDS="-*" like KEYWORDS="*", because it's never been that way and the * behavior was already annoying enough.

svn path=/main/trunk/; revision=6617

19 years agoFix the ignore-previously-merged option so that it compares the original files, since...
Zac Medico [Thu, 24 May 2007 20:55:37 +0000 (20:55 -0000)]
Fix the ignore-previously-merged option so that it compares 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).

svn path=/main/trunk/; revision=6615

19 years agoMake PackageIndex.write() omit USE when appropriate.
Zac Medico [Thu, 24 May 2007 05:49:44 +0000 (05:49 -0000)]
Make PackageIndex.write() omit USE when appropriate.

svn path=/main/trunk/; revision=6613

19 years agoRemember to call the superclass constructor.
Zac Medico [Thu, 24 May 2007 05:17:31 +0000 (05:17 -0000)]
Remember to call the superclass constructor.

svn path=/main/trunk/; revision=6612

19 years agoMake PackageIndex.write() alphabetize the metadata keys.
Zac Medico [Thu, 24 May 2007 03:54:56 +0000 (03:54 -0000)]
Make PackageIndex.write() alphabetize the metadata keys.

svn path=/main/trunk/; revision=6611

19 years agoFix paren_normalize logic.
Zac Medico [Thu, 24 May 2007 03:36:01 +0000 (03:36 -0000)]
Fix paren_normalize logic.

svn path=/main/trunk/; revision=6610

19 years agoAdd more relevant package metadata to the Packages index, including dependencies...
Zac Medico [Thu, 24 May 2007 03:09:01 +0000 (03:09 -0000)]
Add more relevant package metadata to the Packages index, including dependencies with USE conditionals collapsed.

svn path=/main/trunk/; revision=6609

19 years agoAdd a 'ignore-previously-merged' config option which gives similar behavior to the...
Zac Medico [Wed, 23 May 2007 10:43:38 +0000 (10:43 -0000)]
Add a 'ignore-previously-merged' config option which gives similar behavior to the --noconfmem emerge option.

svn path=/main/trunk/; revision=6592

19 years agoPass a temporary file name to the package phase in the environment variable PORTAGE_B...
Zac Medico [Wed, 23 May 2007 04:47:36 +0000 (04:47 -0000)]
Pass a temporary file name to the package phase in the 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.

svn path=/main/trunk/; revision=6591

19 years agoSave memory by not holding a reference to the PackageIndex when it's not being used.
Zac Medico [Wed, 23 May 2007 00:55:58 +0000 (00:55 -0000)]
Save memory by not holding a reference to the PackageIndex when it's not being used.

svn path=/main/trunk/; revision=6590

19 years agoLock the Packages index while it's being updated with a packages that was just built.
Zac Medico [Wed, 23 May 2007 00:50:05 +0000 (00:50 -0000)]
Lock the Packages index while it's being updated with a packages that was just built.

svn path=/main/trunk/; revision=6589

19 years agoStore the path of $PKGDIR/Packages as binarytree._pkgindex_file.
Zac Medico [Wed, 23 May 2007 00:37:01 +0000 (00:37 -0000)]
Store the path of $PKGDIR/Packages as binarytree._pkgindex_file.

svn path=/main/trunk/; revision=6588

19 years agoLock $PKGDIR/Packages during population so that it won't get out of sync if another...
Zac Medico [Wed, 23 May 2007 00:28:36 +0000 (00:28 -0000)]
Lock $PKGDIR/Packages during population so that it won't get out of sync if another process updates it.

svn path=/main/trunk/; revision=6587

19 years agoUpdate /Packages as each package is built (MD5 is done here since it won't hurt perfo...
Zac Medico [Wed, 23 May 2007 00:05:30 +0000 (00:05 -0000)]
Update /Packages as each package is built (MD5 is done here since it won't hurt performance).

svn path=/main/trunk/; revision=6586

19 years agoDiscard metadata from the Packages file if there's no MTIME attribute.
Zac Medico [Tue, 22 May 2007 22:45:21 +0000 (22:45 -0000)]
Discard metadata from the Packages file if there's no MTIME attribute.

svn path=/main/trunk/; revision=6585

19 years agoSplit reading/writing of $PKGDIR/Packages into a PackageIndex class.
Zac Medico [Tue, 22 May 2007 22:38:27 +0000 (22:38 -0000)]
Split reading/writing of $PKGDIR/Packages into a PackageIndex class.

svn path=/main/trunk/; revision=6584

19 years agoFix missing red import.
Zac Medico [Tue, 22 May 2007 20:46:49 +0000 (20:46 -0000)]
Fix missing red import.

svn path=/main/trunk/; revision=6583

19 years agoPunt the portdbapi.getsize() function since it's unused and broken (mysum referenced...
Zac Medico [Tue, 22 May 2007 20:42:22 +0000 (20:42 -0000)]
Punt the portdbapi.getsize() function since it's unused and broken (mysum referenced before assignment).

svn path=/main/trunk/; revision=6582

19 years agoMore namespace fixes.
Zac Medico [Tue, 22 May 2007 20:37:43 +0000 (20:37 -0000)]
More namespace fixes.

svn path=/main/trunk/; revision=6581

19 years agoFix namespace for S_ISUID and S_ISGID.
Zac Medico [Tue, 22 May 2007 20:27:25 +0000 (20:27 -0000)]
Fix namespace for S_ISUID and S_ISGID.

svn path=/main/trunk/; revision=6580

19 years ago- cleaner version of the hardlink basic suid protection. actually check that the...
Ned Ludd [Tue, 22 May 2007 18:19:21 +0000 (18:19 -0000)]
- cleaner version of the hardlink basic suid protection. actually check that the file is setXid

svn path=/main/trunk/; revision=6579

19 years agoHandle a KeyError if an MTIME is missing from the Packages index.
Zac Medico [Tue, 22 May 2007 12:26:12 +0000 (12:26 -0000)]
Handle a KeyError if an MTIME is missing from the Packages index.

svn path=/main/trunk/; revision=6571

19 years agoFix size comparison logic.
Zac Medico [Tue, 22 May 2007 11:22:36 +0000 (11:22 -0000)]
Fix size comparison logic.

svn path=/main/trunk/; revision=6570

19 years agoCache xpak metadata in ${PKGDIR}/Packages in order to minimize disk load when binaryt...
Zac Medico [Tue, 22 May 2007 11:16:50 +0000 (11:16 -0000)]
Cache xpak metadata in ${PKGDIR}/Packages in order to 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).

svn path=/main/trunk/; revision=6569

19 years agoWhen ${PKGDIR}/All/ doesn't exist, put packages in ${PKGDIR}/${CATEGORY}/ instead...
Zac Medico [Tue, 22 May 2007 06:27:32 +0000 (06:27 -0000)]
When ${PKGDIR}/All/ doesn't exist, put packages in ${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.

svn path=/main/trunk/; revision=6568

19 years agoFix src_compile() ECONF_SOURCE logic to make sure it behaves properly.
Zac Medico [Tue, 22 May 2007 05:38:12 +0000 (05:38 -0000)]
Fix src_compile() ECONF_SOURCE logic to make sure it behaves properly.

svn path=/main/trunk/; revision=6567

19 years agoUse bash to spawn FETCHCOMMAND under selinux since most other binaries are forbidden...
Zac Medico [Tue, 22 May 2007 05:26:33 +0000 (05:26 -0000)]
Use bash to spawn FETCHCOMMAND under selinux since most other binaries are forbidden as entrypoints into the fetch domain. Thanks to Justin Heesemann <jh@ionium.org> for reporting.

svn path=/main/trunk/; revision=6566

19 years agoFor bug #179380, make support for ECONF_SOURCE in the default src_compile() condition...
Zac Medico [Tue, 22 May 2007 05:15:39 +0000 (05:15 -0000)]
For bug #179380, make support for ECONF_SOURCE in the default src_compile() conditional on EAPI != 0.

svn path=/main/trunk/; revision=6565

19 years agoAdd a missing newline to the writemsg output.
Zac Medico [Mon, 21 May 2007 19:55:31 +0000 (19:55 -0000)]
Add a missing newline to the writemsg output.

svn path=/main/trunk/; revision=6564

19 years ago- blind chmod 0 before unlinking files to avoid anybody doing sneaky stuff via hardlinks
Ned Ludd [Mon, 21 May 2007 19:27:28 +0000 (19:27 -0000)]
- blind chmod 0 before unlinking files to avoid anybody doing sneaky stuff via hardlinks

svn path=/main/trunk/; revision=6563

19 years agoFor bug #179008, just use metadata.dtd directly from $DISTDIR.
Zac Medico [Sun, 20 May 2007 22:53:27 +0000 (22:53 -0000)]
For bug #179008, just use metadata.dtd directly from $DISTDIR.

svn path=/main/trunk/; revision=6562

19 years agoIn fetch(), don't try to parse digests unless the "O" variable is defined.
Zac Medico [Sun, 20 May 2007 21:28:53 +0000 (21:28 -0000)]
In fetch(), don't try to parse digests unless the "O" variable is defined.

svn path=/main/trunk/; revision=6561

19 years agoFor bug #179206, improve efficiency by using a containment test instead of str.count...
Zac Medico [Sun, 20 May 2007 19:59:53 +0000 (19:59 -0000)]
For bug #179206, improve efficiency by using a containment test instead of str.count inside update_dbentry.  Thanks to Jason Lai <jason.lai@gmail.com>.

svn path=/main/trunk/; revision=6560

19 years agoUse device number and i-node number (like os.path.samefile does) to check if the...
Zac Medico [Sat, 19 May 2007 22:57:23 +0000 (22:57 -0000)]
Use device number and i-node number (like os.path.samefile does) to check if the current directory is inside a given overlay.  This solves issues with path comparison and symlinks.

svn path=/main/trunk/; revision=6559

19 years agoFor bug #178378, make the default src_compile() check for configure in ${ECONF_SOURCE...
Zac Medico [Sat, 19 May 2007 18:20:29 +0000 (18:20 -0000)]
For bug #178378, make the default src_compile() check for configure in ${ECONF_SOURCE:-.} (instead of just .) before it calls econf.  Thanks to James C. Georgas <jgeorgas@rogers.com>.

svn path=/main/trunk/; revision=6558

19 years agoAdd edges to shown_edges at the first oportunity.
Zac Medico [Sat, 19 May 2007 08:25:12 +0000 (08:25 -0000)]
Add edges to shown_edges at the first oportunity.

svn path=/main/trunk/; revision=6557

19 years agoIn --tree output, keep track of which graph edges have already been displayed and...
Zac Medico [Sat, 19 May 2007 08:16:59 +0000 (08:16 -0000)]
In --tree output, keep track of which graph edges have already been displayed and try not to display a given edge more than once.

svn path=/main/trunk/; revision=6556

19 years agoAvoid permission errors when trying to lock repo_path. Note that the lock file shoul...
Zac Medico [Sat, 19 May 2007 07:56:24 +0000 (07:56 -0000)]
Avoid permission errors when trying to lock repo_path.  Note that the lock file should be mapped into /var somewhere.

svn path=/main/trunk/; revision=6555

19 years agoFor bug #176539, add a "manifest" target to repoman so that there's a simple way...
Zac Medico [Sat, 19 May 2007 04:36:36 +0000 (04:36 -0000)]
For bug #176539, add a "manifest" target to repoman so that there's a simple way to just generate a Manifest.

svn path=/main/trunk/; revision=6554

19 years agofix from James C. Georgas to not modify EXTRA_EINSTALL #178544
Mike Frysinger [Sat, 19 May 2007 04:09:20 +0000 (04:09 -0000)]
fix from James C. Georgas to not modify EXTRA_EINSTALL #178544

svn path=/main/trunk/; revision=6553

19 years agoFall back to pickle if cPickle is unavailable. Thanks to Michael Haubenwallner ...
Zac Medico [Fri, 18 May 2007 22:37:45 +0000 (22:37 -0000)]
Fall back to pickle if cPickle is unavailable.  Thanks to Michael Haubenwallner <michael.haubenwallner@salomon.at> for reporting.

svn path=/main/trunk/; revision=6552

19 years agoOnly show extra whitespace where there are some news items to display.
Zac Medico [Fri, 18 May 2007 22:17:33 +0000 (22:17 -0000)]
Only show extra whitespace where there are some news items to display.

svn path=/main/trunk/; revision=6551

19 years agoCatch a potential OSError if the child process has already died.
Zac Medico [Fri, 18 May 2007 17:48:07 +0000 (17:48 -0000)]
Catch a potential OSError if the child process has already died.

svn path=/main/trunk/; revision=6550

19 years agoUpdate for glep42, preserve-libs and elog
Marius Mauch [Fri, 18 May 2007 17:41:27 +0000 (17:41 -0000)]
Update for glep42, preserve-libs and elog

svn path=/main/trunk/; revision=6549

19 years agoEnable elog functionality for the python side of portage
Marius Mauch [Fri, 18 May 2007 17:16:55 +0000 (17:16 -0000)]
Enable elog functionality for the python side of portage

svn path=/main/trunk/; revision=6548

19 years agoDisplay notification about unread news in all situations specified by glep 42
Marius Mauch [Fri, 18 May 2007 14:58:10 +0000 (14:58 -0000)]
Display notification about unread news in all situations specified by glep 42

svn path=/main/trunk/; revision=6547

19 years ago- store newsid in unread file, not the path to the news item
Marius Mauch [Fri, 18 May 2007 13:00:28 +0000 (13:00 -0000)]
- store newsid in unread file, not the path to the news item
- use octal numbers to specify file permissions
- use descriptive exceptions when (not) creating NewsItem objects
- code style cleanups

svn path=/main/trunk/; revision=6546

19 years agoAdd registration support for preserved library objects, move the library->consumer
Marius Mauch [Fri, 18 May 2007 12:58:27 +0000 (12:58 -0000)]
Add registration support for preserved library objects, move 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()

svn path=/main/trunk/; revision=6545

19 years agoCheck to see if I have svn.g.o fixed, no actual file changes, pass #2
Robin H. Johnson [Fri, 18 May 2007 06:52:18 +0000 (06:52 -0000)]
Check to see if I have svn.g.o fixed, no actual file changes, pass #2

svn path=/main/trunk/; revision=6544

19 years agoCheck to see if I have svn.g.o fixed, no actual file changes.
Robin H. Johnson [Fri, 18 May 2007 06:52:01 +0000 (06:52 -0000)]
Check to see if I have svn.g.o fixed, no actual file changes.

svn path=/main/trunk/; revision=6543

19 years agowrap lines
Zac Medico [Thu, 17 May 2007 09:28:38 +0000 (09:28 -0000)]
wrap lines

svn path=/main/trunk/; revision=6542

19 years agoFor bug #162404, use a pseudo-terminal device pair (instead of a normal pipe) for...
Zac Medico [Thu, 17 May 2007 09:13:00 +0000 (09:13 -0000)]
For bug #162404, use a pseudo-terminal device pair (instead of a normal pipe) for moving ouput out of the sesandbox domain.

svn path=/main/trunk/; revision=6541

19 years agoDon't protect USE_EXPAND variables from -* anymore because the really critical ones...
Zac Medico [Wed, 16 May 2007 17:05:39 +0000 (17:05 -0000)]
Don't protect USE_EXPAND variables from -* anymore because the really critical ones should all be in use.force now (typically kernel_linux, elibc_glibc, and userland_GNU).

svn path=/main/trunk/; revision=6540

19 years agofix syntax (merged from branches/prefix r6534)
Zac Medico [Mon, 14 May 2007 11:35:01 +0000 (11:35 -0000)]
fix syntax (merged from branches/prefix r6534)

svn path=/main/trunk/; revision=6537