portage.git
19 years agoRevert the workaround for bug #192341 since it will be much cleaner if we fall back...
Zac Medico [Sat, 15 Sep 2007 17:32:05 +0000 (17:32 -0000)]
Revert the workaround for bug #192341 since it will be much cleaner if we fall back to spawning the chflags command when the freebsd module is unavailable.

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

19 years agoBug #192341 - Make emerge bail out on FreeBSD if the freebsd python module
Zac Medico [Thu, 13 Sep 2007 23:41:10 +0000 (23:41 -0000)]
Bug #192341 - Make emerge bail out on FreeBSD if the freebsd python module
fails to import. Display a notification that "ignore-missing-freebsd-module"
can be added to FEATURES in order to bypass the error. If that feature is
enabled but the freebsd python module imported successfully, show a warning
message since the user should remove if from FEATURES asap.

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

19 years agoBug #192346 - The emerge --help shows a -i option that does not exist.
Zac Medico [Thu, 13 Sep 2007 18:21:28 +0000 (18:21 -0000)]
Bug #192346 - The emerge --help shows a -i option that does not exist.

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

19 years agoBug #191645 - Cross-reference the `ebuild --force digest` docs with the
Zac Medico [Thu, 13 Sep 2007 18:12:10 +0000 (18:12 -0000)]
Bug #191645 -  Cross-reference the `ebuild --force digest` docs with the
FEATURES=assume-digests docs.

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

19 years agoAdd some additional notes about the behavior of FEATURES=assume-digests under
Zac Medico [Thu, 13 Sep 2007 17:40:39 +0000 (17:40 -0000)]
Add some additional notes about the behavior of FEATURES=assume-digests under
various conditions.

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

19 years agoBug #191645 - Document the --force option.
Zac Medico [Thu, 13 Sep 2007 17:19:21 +0000 (17:19 -0000)]
Bug #191645 - Document the --force option.

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

19 years agoBug #110443 - Add a KEYWORDS.stable check for ebuilds that are added directly
Zac Medico [Thu, 13 Sep 2007 16:55:26 +0000 (16:55 -0000)]
Bug #110443 - Add a KEYWORDS.stable check for ebuilds that are added directly
with stable KEYWORDS.

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

19 years agoBug #192321 - Clean dir.old cruft so that they don't prevent unmerge of
Zac Medico [Thu, 13 Sep 2007 16:48:05 +0000 (16:48 -0000)]
Bug #192321 - Clean dir.old cruft so that they don't prevent unmerge of
otherwise empty directories.

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

19 years agoBug #191645 - Document the --force option.
Zac Medico [Wed, 12 Sep 2007 19:36:03 +0000 (19:36 -0000)]
Bug #191645 - Document the --force option.

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

19 years agoBug #187795 - remove pointless digest.disjointed and digest.notadded warnings
Zac Medico [Wed, 12 Sep 2007 18:40:02 +0000 (18:40 -0000)]
Bug #187795 - remove pointless digest.disjointed and digest.notadded warnings
since they are always added to cvs automatically anyway.

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

19 years agoBug #192195 - In dir_get_list(), append a trailing / to the address when
Zac Medico [Wed, 12 Sep 2007 18:29:08 +0000 (18:29 -0000)]
Bug #192195 - In dir_get_list(), append a trailing / to the address when
necessary in order to avoid getting a 400 error from the http server.

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

19 years agoCatch errno.ENOTDIR instead of using os.path.isdir().
Zac Medico [Wed, 12 Sep 2007 15:27:40 +0000 (15:27 -0000)]
Catch errno.ENOTDIR instead of using os.path.isdir().

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

19 years agoBug #192298 - Handle PermissionDenied error in cache.update_eclasses().
Zac Medico [Wed, 12 Sep 2007 14:59:04 +0000 (14:59 -0000)]
Bug #192298 - Handle PermissionDenied error in cache.update_eclasses().

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

19 years agoAdjust for r7767
Marius Mauch [Tue, 11 Sep 2007 06:11:13 +0000 (06:11 -0000)]
Adjust for r7767

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

19 years agoRemove name from PackageSet, it's pointless as the caller has to keep track of the...
Marius Mauch [Tue, 11 Sep 2007 06:06:24 +0000 (06:06 -0000)]
Remove name from PackageSet, it's pointless as the caller has to keep track of the name himself anyway

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

19 years agoor I was right the first time :(
Alec Warner [Sun, 9 Sep 2007 00:36:21 +0000 (00:36 -0000)]
or I was right the first time :(

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

19 years agosigh, or, not and
Alec Warner [Sun, 9 Sep 2007 00:33:57 +0000 (00:33 -0000)]
sigh, or, not and

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

19 years agocompress two loop iterations into one
Alec Warner [Sat, 8 Sep 2007 21:52:55 +0000 (21:52 -0000)]
compress two loop iterations into one

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

19 years agoIn depgraph.altlist(), try to merge asap_nodes sooner by giving them an exemption...
Zac Medico [Sat, 8 Sep 2007 08:33:02 +0000 (08:33 -0000)]
In depgraph.altlist(), try to merge asap_nodes sooner by giving them an exemption from the accept_root_node flag. (branches/2.1.2 r7762)

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

19 years agoFix a typo.
Zac Medico [Sat, 8 Sep 2007 07:07:01 +0000 (07:07 -0000)]
Fix a typo.

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

19 years agoBug #190268 - Avoid unwanted sandbox violations in src_test().
Zac Medico [Sat, 8 Sep 2007 06:51:59 +0000 (06:51 -0000)]
Bug #190268 - Avoid unwanted sandbox violations in src_test().
  - Allow SANDBOX_* variables to pass through.
  - Don't try to create an sandbox instance inside a test case in order to
    interaction with SANDBOX_* variables in src_test().

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

19 years agoImplement/fix testcases for some PackageSet subclasses
Marius Mauch [Fri, 7 Sep 2007 12:30:53 +0000 (12:30 -0000)]
Implement/fix testcases for some PackageSet subclasses

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

19 years agoFix incorrect parse check as value lists in KeyListFileLoader might be empty, add...
Marius Mauch [Fri, 7 Sep 2007 12:30:00 +0000 (12:30 -0000)]
Fix incorrect parse check as value lists in KeyListFileLoader might be empty, add support for value validators in relevant Loaders

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

19 years agoUndo some unwanted changes
Marius Mauch [Fri, 7 Sep 2007 11:51:13 +0000 (11:51 -0000)]
Undo some unwanted changes

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

19 years agoreturn the full path, not just the filename
Marius Mauch [Fri, 7 Sep 2007 11:49:56 +0000 (11:49 -0000)]
return the full path, not just the filename

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

19 years agofix errors in call logic
Marius Mauch [Fri, 7 Sep 2007 11:41:25 +0000 (11:41 -0000)]
fix errors in call logic

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

19 years agoFix minor issues with loaders in the static file loader, fix quoting and import style...
Alec Warner [Fri, 7 Sep 2007 10:17:26 +0000 (10:17 -0000)]
Fix minor issues with loaders in the static file loader, fix quoting and import style in news.py.  Add TextFileLoader and EnvLoader loaders

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

19 years agodbapi currently depends on being subclassed and having the subclasses impelement...
Alec Warner [Fri, 7 Sep 2007 10:14:12 +0000 (10:14 -0000)]
dbapi currently depends on being subclassed and having the subclasses impelement certain functions (that aren't even implemented IN dbapi, so a particular child has no idea what functions are actually required).  Try to make this cleared by adding stubs in dbapi.  There should be no behavior change here because these cases would be Attribute errors in the current scheme.  Also add a horribly bad testdbapi with stub funcs to use in testing code.  Remove regexes with possibly faster string comparisons.

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

19 years agotest news item filtering
Alec Warner [Fri, 7 Sep 2007 10:08:18 +0000 (10:08 -0000)]
test news item filtering

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

19 years agoLast commit added more tests for sets and taught me what I was doing wrong ;) This...
Alec Warner [Fri, 7 Sep 2007 09:47:43 +0000 (09:47 -0000)]
Last commit added more tests for sets and taught me what I was doing wrong ;)  This commit adds yet more tests

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

19 years agofighting with svn over weirdness
Alec Warner [Fri, 7 Sep 2007 09:46:49 +0000 (09:46 -0000)]
fighting with svn over weirdness

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

19 years agoRewrite testing to use __test__ instead of hardcoded dirs
Alec Warner [Fri, 7 Sep 2007 09:40:39 +0000 (09:40 -0000)]
Rewrite testing to use __test__ instead of hardcoded dirs

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

19 years agoFor bug #190268, filter SANDBOX_* from the calling environment so that they can't...
Zac Medico [Fri, 7 Sep 2007 03:09:48 +0000 (03:09 -0000)]
For bug #190268, filter SANDBOX_* from the calling environment so that they can't interfere with ebuild.sh.

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

19 years agoFix a typo.
Zac Medico [Thu, 6 Sep 2007 01:33:01 +0000 (01:33 -0000)]
Fix a typo.

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

19 years agoIn the topological sort for merge order, try to avoid selecting root nodes
Zac Medico [Wed, 5 Sep 2007 23:09:21 +0000 (23:09 -0000)]
In the topological sort for merge order, try to avoid selecting root nodes
whenever possible. This helps ensure that the maximimum possible number of
soft dependencies  have been removed from the graph before their parent nodes
have been selected. This is especially important when those dependencies are
going to be rebuilt by revdep-rebuild or `emerge -e system` after the CHOST
has been changed (like when building a stage3 from a stage2). With this patch,
`emerge -e system` properly rebuilds dev-lang/python before sys-apps/file,
which helps to avoid a potential build failure.

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

19 years agoMove the note about not needing pycrypto with python-2.5 to the 2.1.3 section.
Zac Medico [Tue, 4 Sep 2007 20:41:32 +0000 (20:41 -0000)]
Move the note about not needing pycrypto with python-2.5 to the 2.1.3 section.

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

19 years agoReformat collision-protect output so that the list of file collisions is shown below...
Zac Medico [Thu, 30 Aug 2007 22:03:50 +0000 (22:03 -0000)]
Reformat collision-protect output so that the list of file 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/trunk/; revision=7720

19 years agoMove some of the less expensive QA checks before dep_check() so that they're still...
Zac Medico [Tue, 28 Aug 2007 15:36:18 +0000 (15:36 -0000)]
Move some of the less expensive QA checks before dep_check() so that they're still done even in --force mode.

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

19 years agoConvert myoptions from a list to a dict.
Zac Medico [Tue, 28 Aug 2007 03:42:45 +0000 (03:42 -0000)]
Convert myoptions from a list to a dict.

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

19 years agoSkip the most expensive QA tests when --force in enabled since there's no point in...
Zac Medico [Tue, 28 Aug 2007 03:28:32 +0000 (03:28 -0000)]
Skip the most expensive QA tests when --force in enabled since there's no point in wasting time on them when the user is intent on forcing the commit anyway.

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

19 years agoMake the commit message indicate when the --force option is used.
Zac Medico [Tue, 28 Aug 2007 03:15:34 +0000 (03:15 -0000)]
Make the commit message indicate when the --force option is used.

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

19 years agoFix RepoMan's grammar.
Zac Medico [Mon, 27 Aug 2007 23:08:10 +0000 (23:08 -0000)]
Fix RepoMan's grammar.

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

19 years agoBug #110443 - Add a KEYWORDS.stable check for ebuilds that are added directly with...
Zac Medico [Mon, 27 Aug 2007 22:41:22 +0000 (22:41 -0000)]
Bug #110443 - Add a KEYWORDS.stable check for ebuilds that are added directly with stable KEYWORDS.

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

19 years agoAdd a --force option that forces commit to proceed. This is useful for cases like...
Zac Medico [Mon, 27 Aug 2007 21:02:47 +0000 (21:02 -0000)]
Add a --force option that forces commit to proceed. This is useful for cases like bug #110443 where the commit normally isn't allowed but there are exceptional circumstances where it may be acceptable.

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

19 years agoBug #190406 - Filter the myheaders list so that it doesn't include binary blobs added...
Zac Medico [Mon, 27 Aug 2007 17:54:13 +0000 (17:54 -0000)]
Bug #190406 - Filter the myheaders list so that it doesn't include binary blobs added to cvs with the -kb option.

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

19 years agochange directory to / in case $PWD doesnt exist
Mike Frysinger [Sun, 26 Aug 2007 01:35:33 +0000 (01:35 -0000)]
change directory to / in case $PWD doesnt exist

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

19 years agoMove blocker handling from depgraph.create() to select_dep().
Zac Medico [Sat, 25 Aug 2007 23:02:53 +0000 (23:02 -0000)]
Move blocker handling from depgraph.create() to select_dep().

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

19 years agoBug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.
Zac Medico [Sat, 25 Aug 2007 19:41:15 +0000 (19:41 -0000)]
Bug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.
Bug #190144 - Use the realpath of DISTDIR so that things like subversion.eclass are compatible with sandbox.

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

19 years agoremove $Id$ as it gives us nothing useful
Mike Frysinger [Sat, 25 Aug 2007 14:48:41 +0000 (14:48 -0000)]
remove $Id$ as it gives us nothing useful

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

19 years agoRemove pointless information from --info output
Marius Mauch [Sat, 25 Aug 2007 09:32:48 +0000 (09:32 -0000)]
Remove pointless information from --info output

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

19 years agoDon't cache results from match_from_list() since *dbapi.match() caches do the job.
Zac Medico [Fri, 24 Aug 2007 21:57:28 +0000 (21:57 -0000)]
Don't cache results from match_from_list() since *dbapi.match() caches do the job.

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

19 years agoCall config.regenerate() after config.reload() so that the incrementals are restacked.
Zac Medico [Fri, 24 Aug 2007 03:26:46 +0000 (03:26 -0000)]
Call config.regenerate() after config.reload() so that the incrementals are restacked.

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

19 years agoUse a config.reload() method to explicitly reload /etc/profile.env when setting up...
Zac Medico [Fri, 24 Aug 2007 03:15:01 +0000 (03:15 -0000)]
Use a config.reload() method to explicitly reload /etc/profile.env when setting up the ebuild environment.

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

19 years agoFix another typo.
Zac Medico [Fri, 24 Aug 2007 02:28:37 +0000 (02:28 -0000)]
Fix another typo.

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

19 years agoFix a typo.
Zac Medico [Fri, 24 Aug 2007 01:18:59 +0000 (01:18 -0000)]
Fix a typo.

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

19 years agoAdd * and ~* to the list of valid values for ACCEPT_KEYWORDS.
Zac Medico [Thu, 23 Aug 2007 20:28:37 +0000 (20:28 -0000)]
Add * and ~* to the list of valid values for ACCEPT_KEYWORDS.

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

19 years agoMake depgraph.select_dep() node reuse work when in --usepkgonly mode.
Zac Medico [Thu, 23 Aug 2007 18:29:45 +0000 (18:29 -0000)]
Make depgraph.select_dep() node reuse work when in --usepkgonly mode.

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

19 years agoBug #189791 - Define EBUILD_PHASE=unpack during the nofetch phase since otherwise...
Zac Medico [Thu, 23 Aug 2007 09:11:03 +0000 (09:11 -0000)]
Bug #189791 - Define EBUILD_PHASE=unpack during the nofetch phase since otherwise we get EBUILD_PHASE=merge which isn't in our list of valid EBUILD_PHASES recognized by elog.

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

19 years agoIn config.regenerate(), skip loading /etc/profile.env if it's mtime hasn't changed.
Zac Medico [Thu, 23 Aug 2007 08:40:53 +0000 (08:40 -0000)]
In config.regenerate(), skip loading /etc/profile.env if it's mtime hasn't changed.

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

19 years agoMake depgraph.create() avoid metadata lookups for binary packages and ebuilds in...
Zac Medico [Thu, 23 Aug 2007 08:11:14 +0000 (08:11 -0000)]
Make depgraph.create() avoid metadata lookups for binary 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.

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

19 years agoBug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}...
Zac Medico [Thu, 23 Aug 2007 06:54:18 +0000 (06:54 -0000)]
Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}/eclass-debug.log.

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

19 years agoFix a typo from r7663.
Zac Medico [Thu, 23 Aug 2007 04:00:07 +0000 (04:00 -0000)]
Fix a typo from r7663.

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

19 years agoUse INFORM to colorize the package name.
Zac Medico [Wed, 22 Aug 2007 22:55:46 +0000 (22:55 -0000)]
Use INFORM to colorize the package name.

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

19 years agoPrevent output from being flushed to the console too frequently in dir_get_metadata().
Zac Medico [Wed, 22 Aug 2007 22:38:39 +0000 (22:38 -0000)]
Prevent output from being flushed to the console too frequently in dir_get_metadata().

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

19 years agoSkip --newuse checks for nodes that have already been added to the graph as "merge...
Zac Medico [Wed, 22 Aug 2007 22:09:18 +0000 (22:09 -0000)]
Skip --newuse checks for nodes that have already been added to the graph as "merge" nodes.

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

19 years agoMake depgraph.select_dep() reuse cached metadata from nodes that have already been...
Zac Medico [Wed, 22 Aug 2007 21:31:00 +0000 (21:31 -0000)]
Make depgraph.select_dep() reuse cached metadata from nodes that have already been added to the graph.

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

19 years agoFix update_dbentry() to process version components properly before passing them into...
Zac Medico [Wed, 22 Aug 2007 20:58:45 +0000 (20:58 -0000)]
Fix update_dbentry() to process version components properly before passing them into ververify().

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

19 years agoMake best() return early when it's only given one packages.
Zac Medico [Wed, 22 Aug 2007 20:40:37 +0000 (20:40 -0000)]
Make best() return early when it's only given one packages.

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

19 years agoPass complete package metadata from depgraph.select_dep() into create() in order...
Zac Medico [Wed, 22 Aug 2007 19:05:41 +0000 (19:05 -0000)]
Pass complete package metadata from depgraph.select_dep() into create() in order to minimize aux_get calls.

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

19 years agoBug #188703 - Don't adjust permissions in ${T} unless userpriv is enabled.
Zac Medico [Wed, 22 Aug 2007 15:29:47 +0000 (15:29 -0000)]
Bug #188703 - Don't adjust permissions in ${T} unless userpriv is enabled.

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

19 years agoMake --info detect more /etc/*-release files as suggested by grobian.
Zac Medico [Wed, 22 Aug 2007 04:50:54 +0000 (04:50 -0000)]
Make --info detect more /etc/*-release files as suggested by grobian.

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

19 years agoSend cache hit/miss status updates to stdout instead of stderr and add some more...
Zac Medico [Wed, 22 Aug 2007 04:21:59 +0000 (04:21 -0000)]
Send cache hit/miss status updates to stdout instead of stderr and add some more flush() calls.

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

19 years agoShow cache miss/hit counts all on one line, using \r to return to the beginning of...
Zac Medico [Wed, 22 Aug 2007 04:05:38 +0000 (04:05 -0000)]
Show cache miss/hit counts all on one line, using \r to 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).

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

19 years agoBug #189743 - Add .jpeg to the list of extensions supported by dohtml.
Zac Medico [Wed, 22 Aug 2007 03:39:14 +0000 (03:39 -0000)]
Bug #189743 - Add .jpeg to the list of extensions supported by dohtml.

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

19 years agoTry harder to figure out what OS we are running
Alec Warner [Tue, 21 Aug 2007 07:47:36 +0000 (07:47 -0000)]
Try harder to figure out what OS we are running

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

19 years agoJust use os.listdir() since portage.listdir() is unnecessary.
Zac Medico [Tue, 21 Aug 2007 07:36:11 +0000 (07:36 -0000)]
Just use os.listdir() since portage.listdir() is unnecessary.

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

19 years agoFix ACCEPT_KEYWORDS validation so that ** is valid.
Zac Medico [Sun, 19 Aug 2007 16:48:50 +0000 (16:48 -0000)]
Fix ACCEPT_KEYWORDS validation so that ** is valid.

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

19 years agofilter out kernel modules from ELF QA checks #184443
Mike Frysinger [Fri, 17 Aug 2007 23:30:36 +0000 (23:30 -0000)]
filter out kernel modules from ELF QA checks #184443

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

19 years agoremove "risky" message about -O2
Mike Frysinger [Fri, 17 Aug 2007 23:27:15 +0000 (23:27 -0000)]
remove "risky" message about -O2

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

19 years agoFor bug #189219, use pkgcmp() to sort versions in selected/protected/omitted unmerge...
Zac Medico [Fri, 17 Aug 2007 18:17:14 +0000 (18:17 -0000)]
For bug #189219, use pkgcmp() to sort versions in selected/protected/omitted unmerge display.

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

19 years agoMake etc-update copy owner and group bits when it merges config files.
Zac Medico [Thu, 16 Aug 2007 21:49:34 +0000 (21:49 -0000)]
Make etc-update copy owner and group bits when it merges config files.

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

19 years agomake -f/-F distinction clearer
Mike Frysinger [Thu, 16 Aug 2007 19:07:23 +0000 (19:07 -0000)]
make -f/-F distinction clearer

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

19 years agoFix existing_node logic inside depgraph.create().
Zac Medico [Thu, 16 Aug 2007 06:34:33 +0000 (06:34 -0000)]
Fix existing_node logic inside depgraph.create().

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

19 years agoCombine 2 locations in depgraph.create() where nodes are added to the digraph. This...
Zac Medico [Thu, 16 Aug 2007 05:53:51 +0000 (05:53 -0000)]
Combine 2 locations in depgraph.create() where nodes are added to the digraph. This ensures that dependencies on "rebuild" nodes always have their priority increased.

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

19 years agoAlways assign higher priority to dependencies on packages that are being rebuilt...
Zac Medico [Thu, 16 Aug 2007 05:00:54 +0000 (05:00 -0000)]
Always assign higher priority to dependencies on packages 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.

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

19 years agoAdd some floating point vercmp cases.
Zac Medico [Wed, 15 Aug 2007 22:12:27 +0000 (22:12 -0000)]
Add some floating point vercmp cases.

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

19 years agoFor bug #188807, add nocreate and delaycompress options for logrotate.
Zac Medico [Wed, 15 Aug 2007 04:37:36 +0000 (04:37 -0000)]
For bug #188807, add nocreate and delaycompress options for logrotate.

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

19 years agoFor bug #188449, since python floats have limited range, we multiply both floating...
Zac Medico [Wed, 15 Aug 2007 02:48:46 +0000 (02:48 -0000)]
For bug #188449, since python floats have limited range, we 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.

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

19 years agoFor bug #188782, dependencies on packages specified as arguments are given higher...
Zac Medico [Wed, 15 Aug 2007 01:37:17 +0000 (01:37 -0000)]
For bug #188782, dependencies on packages specified as 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.

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

19 years agoMake sure to skip info dir files with the .old extension.
Zac Medico [Tue, 14 Aug 2007 20:15:51 +0000 (20:15 -0000)]
Make sure to skip info dir files with the .old extension.

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

19 years agoFor bug #188782, keep "nomerge" nodes in the graph during the merge order calculation...
Zac Medico [Tue, 14 Aug 2007 06:30:09 +0000 (06:30 -0000)]
For bug #188782, keep "nomerge" nodes in the graph during the merge order calculation so that merge order is better in cases where installed packages have unsatisfied dependencies.

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

19 years ago- revert a few -O2 when they should of remained -O3 in comments
Ned Ludd [Mon, 13 Aug 2007 06:58:36 +0000 (06:58 -0000)]
- revert a few -O2 when they should of remained -O3 in comments

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

19 years ago'decent' CFLAGS should not feature -O3. Bug 188619
Ned Ludd [Sun, 12 Aug 2007 18:18:35 +0000 (18:18 -0000)]
'decent' CFLAGS should not feature -O3. Bug 188619

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

19 years agoFor bug #33585, leave the old info dir file in place if there is nothing to generate.
Zac Medico [Sun, 12 Aug 2007 15:12:43 +0000 (15:12 -0000)]
For bug #33585, leave the old info dir file in place if there is nothing to generate.

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

19 years agoFor bug #188559, invalidate dblink._contents_inodes as necessary to prevent FEATURES...
Zac Medico [Sun, 12 Aug 2007 11:43:27 +0000 (11:43 -0000)]
For bug #188559, invalidate dblink._contents_inodes as necessary to prevent FEATURES=unmerge-orphans from unmerging anything that belongs to the package that has just been merged.

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

19 years agoOptimize config.setcpv() so that it doesn't call regenerate() unnecessarily when...
Zac Medico [Sat, 11 Aug 2007 05:46:41 +0000 (05:46 -0000)]
Optimize config.setcpv() so that it doesn't call regenerate() unnecessarily when there are no USE wildcards to expand.

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

19 years agoDon't generate a QA Notice if the ${S} directory doesn't exist since it might be...
Zac Medico [Fri, 10 Aug 2007 21:02:17 +0000 (21:02 -0000)]
Don't generate a QA Notice if the ${S} directory doesn't exist since it might be irrelevant for some ebuilds.

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

19 years agoUpdate emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar Arahesis...
Zac Medico [Mon, 6 Aug 2007 19:49:23 +0000 (19:49 -0000)]
Update emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar Arahesis in bug #137483.

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

19 years agoDocument FEATURES=webrsync-gpg. Thanks to Arfrever Frehtes Taifersar Arahesis in...
Zac Medico [Mon, 6 Aug 2007 19:42:43 +0000 (19:42 -0000)]
Document FEATURES=webrsync-gpg. Thanks to Arfrever Frehtes Taifersar Arahesis in bug #130039.

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

19 years agoFor bug #187795, remove pointless digest.disjointed and digest.notadded warnings...
Zac Medico [Mon, 6 Aug 2007 19:29:40 +0000 (19:29 -0000)]
For bug #187795, remove pointless digest.disjointed and digest.notadded warnings since they are always added to cvs automatically anyway.

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