portage.git
12 years agoRemove extended package set configuration docs. v2.1.11.9
Zac Medico [Fri, 3 Jun 2011 12:28:16 +0000 (05:28 -0700)]
Remove extended package set configuration docs.

Extended package sets configuration is disabled in the stable branch.

12 years agoRemove FEATURES=preserve-libs config/docs.
Zac Medico [Fri, 3 Jun 2011 12:15:50 +0000 (05:15 -0700)]
Remove FEATURES=preserve-libs config/docs.

Support for FEATURES=preserve-libs is disabled in the stable branch.

12 years agoportage.const: toggle constants for stable branch
Zac Medico [Sat, 2 Jun 2012 07:18:25 +0000 (00:18 -0700)]
portage.const: toggle constants for stable branch

12 years agoslotmove: update comment about EAPI 4-slot-abi v2.2.0_alpha120
Zac Medico [Wed, 18 Jul 2012 22:31:07 +0000 (15:31 -0700)]
slotmove: update comment about EAPI 4-slot-abi

12 years agoFix extended atom match for =* operator.
Zac Medico [Wed, 18 Jul 2012 21:38:09 +0000 (14:38 -0700)]
Fix extended atom match for =* operator.

12 years agomatch_from_list: match slot for extended atoms
Zac Medico [Wed, 18 Jul 2012 21:07:09 +0000 (14:07 -0700)]
match_from_list: match slot for extended atoms

12 years agoetc-update: fix --automode -5, bug #427068
Zac Medico [Wed, 18 Jul 2012 20:23:38 +0000 (13:23 -0700)]
etc-update: fix --automode -5, bug #427068

12 years agoSupport =*/*-*9999* wildcard atom, bug #402197.
Zac Medico [Wed, 18 Jul 2012 19:55:16 +0000 (12:55 -0700)]
Support =*/*-*9999* wildcard atom, bug #402197.

12 years agodepgraph: __auto_rebuild__ KeyError, bug #427036
Zac Medico [Wed, 18 Jul 2012 17:19:07 +0000 (10:19 -0700)]
depgraph: __auto_rebuild__ KeyError, bug #427036

12 years agoportage.update: use isvalidatom for EAPI check
Zac Medico [Wed, 18 Jul 2012 01:42:10 +0000 (18:42 -0700)]
portage.update: use isvalidatom for EAPI check

12 years agotests/update: fix whitespace v2.2.0_alpha119
Zac Medico [Wed, 18 Jul 2012 00:05:31 +0000 (17:05 -0700)]
tests/update: fix whitespace

12 years agomove: respect EAPI wrt dots_in_PN, bug #426476
Zac Medico [Tue, 17 Jul 2012 23:52:48 +0000 (16:52 -0700)]
move: respect EAPI wrt dots_in_PN, bug #426476

12 years agoPropagate EAPI for update_dbentry (bug #426476).
Zac Medico [Tue, 17 Jul 2012 22:21:04 +0000 (15:21 -0700)]
Propagate EAPI for update_dbentry (bug #426476).

12 years agoprepstrip: avoid rm warning about cwd
Zac Medico [Sun, 15 Jul 2012 21:29:20 +0000 (14:29 -0700)]
prepstrip: avoid rm warning about cwd

12 years agotest_move_slot_ent: workaround for 1s timestamps
Zac Medico [Sat, 14 Jul 2012 01:40:20 +0000 (18:40 -0700)]
test_move_slot_ent: workaround for 1s timestamps

12 years agoslotmove: fix handling for EAPI 4-slot-abi v2.2.0_alpha118
Zac Medico [Fri, 13 Jul 2012 23:33:49 +0000 (16:33 -0700)]
slotmove: fix handling for EAPI 4-slot-abi

This is just a really minimal fix, in order to prevent slotmove from
behaving incorrectly with packages that use EAPI 4-slot-abi. Any
slotmove commands that try so specify a sub-slot are treated as invalid
for now, since that will required additional EAPI conditional logic, as
reported in bug #426476.

12 years agovardbapi: use float mtime for aux cache v2.2.0_alpha117
Zac Medico [Thu, 12 Jul 2012 20:58:30 +0000 (13:58 -0700)]
vardbapi: use float mtime for aux cache

12 years agomanifest: remove unused mhashes variable
Zac Medico [Thu, 12 Jul 2012 19:54:06 +0000 (12:54 -0700)]
manifest: remove unused mhashes variable

12 years agoSkip whirlpool digest check when unaccelerated.
Zac Medico [Thu, 12 Jul 2012 19:48:49 +0000 (12:48 -0700)]
Skip whirlpool digest check when unaccelerated.

If multiple digests are available and whirlpool is unaccelerated, then
skip it. This allows extreme performance problems like bug #425046 to
be avoided whenever practical, especially for cases like stage builds
where acceleration may not be available for some hashes due to
minimization of dependencies.

12 years agotests: support NOCOLOR env variable
Zac Medico [Wed, 11 Jul 2012 22:13:18 +0000 (15:13 -0700)]
tests: support NOCOLOR env variable

12 years agoFix --complete-graph-if-new-use for --autounmask.
Zac Medico [Tue, 10 Jul 2012 22:50:36 +0000 (15:50 -0700)]
Fix --complete-graph-if-new-use for --autounmask.

12 years agoemerge: add --complete-graph-if-new-use < y | n >
Zac Medico [Tue, 10 Jul 2012 22:45:12 +0000 (15:45 -0700)]
emerge: add --complete-graph-if-new-use < y | n >

Trigger the --complete-graph behavior if USE or IUSE will change for
an installed package. This option is enabled by default. This will fix
bug #425558.

12 years agoebuild(5): note that keepdir/dodir accept multiple paths
Mike Frysinger [Tue, 10 Jul 2012 05:41:48 +0000 (01:41 -0400)]
ebuild(5): note that keepdir/dodir accept multiple paths

Current documentation indicates these only take one path, but they both
accept an arbitrary number of paths.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agomigrate emaint to use the new title and label features of the progressbar.
Brian Dolbec [Tue, 10 Jul 2012 00:04:58 +0000 (17:04 -0700)]
migrate emaint to use the new title and label features of the progressbar.

12 years agofix a couple more inconsistancies in the progessbar title, label changes.
Brian Dolbec [Tue, 10 Jul 2012 00:04:14 +0000 (17:04 -0700)]
fix a couple more inconsistancies in the progessbar title, label changes.

12 years agoTermProgressBar: Fix to do 80 chars (not 81)
Brian Dolbec [Mon, 9 Jul 2012 21:49:55 +0000 (14:49 -0700)]
TermProgressBar: Fix to do 80 chars (not 81)

12 years agoPORTAGE_GPG_SIGNING_COMMAND: --digest-algo SHA256
Zac Medico [Mon, 9 Jul 2012 21:03:01 +0000 (14:03 -0700)]
PORTAGE_GPG_SIGNING_COMMAND: --digest-algo SHA256

12 years agoapply Federico "fox" Scrinzi progressbar additions of title and label display. Fix...
Brian Dolbec [Mon, 9 Jul 2012 20:34:26 +0000 (13:34 -0700)]
apply Federico "fox" Scrinzi progressbar additions of title and label display. Fix a couple bugs and add max_desc_length param.

12 years agoPORTAGE_GPG_SIGNING_COMMAND: --digest-algo SHA512
Zac Medico [Fri, 6 Jul 2012 06:43:43 +0000 (23:43 -0700)]
PORTAGE_GPG_SIGNING_COMMAND: --digest-algo SHA512

12 years agoSlotAbiEmergeTestCase: test new downgrade code
Zac Medico [Thu, 5 Jul 2012 08:45:10 +0000 (01:45 -0700)]
SlotAbiEmergeTestCase: test new downgrade code

12 years agovartree.py: fix stutter in comment v2.2.0_alpha116
Zac Medico [Thu, 5 Jul 2012 03:28:42 +0000 (20:28 -0700)]
vartree.py: fix stutter in comment

12 years agoRebuild for slot-abi downgrades, bug #424651.
Zac Medico [Thu, 5 Jul 2012 03:16:40 +0000 (20:16 -0700)]
Rebuild for slot-abi downgrades, bug #424651.

12 years agoConfigTestCase: fix warning about manifest-hashes
Zac Medico [Thu, 5 Jul 2012 00:38:34 +0000 (17:38 -0700)]
ConfigTestCase: fix warning about manifest-hashes

12 years agoconst: Adjust MANIFEST2_* for new defaults
Zac Medico [Thu, 5 Jul 2012 00:20:27 +0000 (17:20 -0700)]
const: Adjust MANIFEST2_* for new defaults

12 years agoemerge: more helpful "non-existent set" message
Zac Medico [Tue, 3 Jul 2012 21:52:20 +0000 (14:52 -0700)]
emerge: more helpful "non-existent set" message

12 years agoemaint: remove obsolete world category check
Zac Medico [Tue, 3 Jul 2012 21:35:19 +0000 (14:35 -0700)]
emaint: remove obsolete world category check

The reason for this check, as discussed in bug #166785, is no longer
relevant since emerge does not suggest to run `emaint --check world` in
this case anymore.

12 years agoAtom: tweak indent for slot logic
Zac Medico [Mon, 2 Jul 2012 23:11:45 +0000 (16:11 -0700)]
Atom: tweak indent for slot logic

12 years agoFix unmerge-backup/preserve-libs interaction.
Zac Medico [Mon, 2 Jul 2012 22:27:28 +0000 (15:27 -0700)]
Fix unmerge-backup/preserve-libs interaction.

12 years ago_pre_unmerge_backup: show failure message v2.2.0_alpha115
Zac Medico [Mon, 2 Jul 2012 21:41:19 +0000 (14:41 -0700)]
_pre_unmerge_backup: show failure message

12 years agoportage.const: tweak preserve-libs conditional
Zac Medico [Mon, 2 Jul 2012 21:34:40 +0000 (14:34 -0700)]
portage.const: tweak preserve-libs conditional

12 years agoAtom: evaluate_conditionals slot-abi, bug #424489
Zac Medico [Mon, 2 Jul 2012 20:27:57 +0000 (13:27 -0700)]
Atom: evaluate_conditionals slot-abi, bug #424489

12 years agoDon't use SIGUSR1 under Jython, bug #424259.
Zac Medico [Mon, 2 Jul 2012 19:13:54 +0000 (12:13 -0700)]
Don't use SIGUSR1 under Jython, bug #424259.

12 years ago_quickpkg_dblink: set PYTHONPATH for quickpkg
Zac Medico [Sun, 1 Jul 2012 20:07:27 +0000 (13:07 -0700)]
_quickpkg_dblink: set PYTHONPATH for quickpkg

12 years agoFix bugs in binarytree.invalids usage.
Zac Medico [Sun, 1 Jul 2012 08:11:12 +0000 (01:11 -0700)]
Fix bugs in binarytree.invalids usage.

12 years agoSupport FEATURES={downgrade,unmerge}-backup
Zac Medico [Sun, 1 Jul 2012 07:53:52 +0000 (00:53 -0700)]
Support FEATURES={downgrade,unmerge}-backup

This will fix bug #156282 and bug #424275.

12 years agoman/emerge.1: note that --resume re-uses options
Zac Medico [Sat, 30 Jun 2012 20:50:01 +0000 (13:50 -0700)]
man/emerge.1: note that --resume re-uses options

12 years agoebuild(5): add missing bold around EAPI {3,4} mention
Mike Frysinger [Fri, 29 Jun 2012 20:41:17 +0000 (16:41 -0400)]
ebuild(5): add missing bold around EAPI {3,4} mention

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoegencache: prune empty cache directories v2.2.0_alpha114
Zac Medico [Wed, 27 Jun 2012 22:45:19 +0000 (15:45 -0700)]
egencache: prune empty cache directories

12 years agoBacktrackParameter: fix runtime_pkg_mask copy
Zac Medico [Wed, 27 Jun 2012 21:55:49 +0000 (14:55 -0700)]
BacktrackParameter: fix runtime_pkg_mask copy

This caused the backtracker to bail out too early sometimes.

12 years agoslot_conflict_handler: handle slot_abi
Zac Medico [Wed, 27 Jun 2012 17:19:36 +0000 (10:19 -0700)]
slot_conflict_handler: handle slot_abi

We have to distinguish this from the "version" conflict, in order to
avoid invalid vercmp calls when there's not version.

12 years ago_slot_abi: fix broken function refs v2.2.0_alpha113
Zac Medico [Mon, 25 Jun 2012 21:28:31 +0000 (14:28 -0700)]
_slot_abi: fix broken function refs

12 years agowhitelist PORTAGE_DOHTML_WARN_ON_SKIPPED_FILES
Zac Medico [Mon, 25 Jun 2012 17:41:11 +0000 (10:41 -0700)]
whitelist PORTAGE_DOHTML_WARN_ON_SKIPPED_FILES

12 years agodohtml: Support PORTAGE_DOHTML_WARN_ON_SKIPPED_FILES environmental variable.
Arfrever Frehtes Taifersar Arahesis [Mon, 25 Jun 2012 04:12:01 +0000 (06:12 +0200)]
dohtml: Support PORTAGE_DOHTML_WARN_ON_SKIPPED_FILES environmental variable.

12 years agodohtml: Add .ico, .svg, .xhtml and .xml extensions to default list in EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Mon, 25 Jun 2012 02:37:27 +0000 (04:37 +0200)]
dohtml: Add .ico, .svg, .xhtml and .xml extensions to default list in EAPI="4-python".

12 years agoReformat documentation of EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Mon, 25 Jun 2012 02:08:25 +0000 (04:08 +0200)]
Reformat documentation of EAPI="4-python".

12 years agodohtml.py: Sort default list of extensions.
Arfrever Frehtes Taifersar Arahesis [Mon, 25 Jun 2012 01:25:10 +0000 (03:25 +0200)]
dohtml.py: Sort default list of extensions.

12 years agoprotected_symlinks: suggest course of action
Zac Medico [Sun, 24 Jun 2012 21:01:26 +0000 (14:01 -0700)]
protected_symlinks: suggest course of action

See discussion in bug #423127.

12 years agoprotected_symlinks: change eerror to elog
Zac Medico [Sun, 24 Jun 2012 19:16:34 +0000 (12:16 -0700)]
protected_symlinks: change eerror to elog

Since bug #421165, this code will trigger more often (see bug #423127),
and eerror is too harsh because the symlinks will never be orphaned.

12 years agoPollScheduler: schedule inside loop if max_load
Zac Medico [Sun, 24 Jun 2012 08:18:12 +0000 (01:18 -0700)]
PollScheduler: schedule inside loop if max_load

This will fix a case like that reported in bug #403895, triggered when
the --load-average option is used.

12 years agotest_slot_abi: fix atom == type
Zac Medico [Sat, 23 Jun 2012 21:53:13 +0000 (14:53 -0700)]
test_slot_abi: fix atom == type

12 years agoSkip unmerge of libdir symlinks for bug #423127. v2.2.0_alpha112
Zac Medico [Sat, 23 Jun 2012 20:39:27 +0000 (13:39 -0700)]
Skip unmerge of libdir symlinks for bug #423127.

12 years agoFix debug message wording of "to due".
Zac Medico [Sat, 23 Jun 2012 20:03:28 +0000 (13:03 -0700)]
Fix debug message wording of "to due".

12 years agoslot_abi_mask_built: fix __eq__ for backtracking v2.2.0_alpha111
Zac Medico [Sat, 23 Jun 2012 06:38:35 +0000 (23:38 -0700)]
slot_abi_mask_built: fix __eq__ for backtracking

12 years agoSlot conflict "abi" backtrack nodes non-terminal.
Zac Medico [Sat, 23 Jun 2012 06:28:10 +0000 (23:28 -0700)]
Slot conflict "abi" backtrack nodes non-terminal.

12 years agoslot_abi_mask_built: don't discard other masks
Zac Medico [Sat, 23 Jun 2012 05:59:51 +0000 (22:59 -0700)]
slot_abi_mask_built: don't discard other masks

12 years agoFix success_without_autounmask logic wrt rebuilds
Zac Medico [Sat, 23 Jun 2012 05:10:14 +0000 (22:10 -0700)]
Fix success_without_autounmask logic wrt rebuilds

12 years agodepgraph: fix broken _complete_mode assignment
Zac Medico [Sat, 23 Jun 2012 03:01:43 +0000 (20:01 -0700)]
depgraph: fix broken _complete_mode assignment

12 years ago_slot_abi_update_probe: respect --exclude
Zac Medico [Sat, 23 Jun 2012 02:46:52 +0000 (19:46 -0700)]
_slot_abi_update_probe: respect --exclude

12 years agodepgraph: fix bugs in force_reinstall handling
Zac Medico [Sat, 23 Jun 2012 02:35:42 +0000 (19:35 -0700)]
depgraph: fix bugs in force_reinstall handling

12 years agoPackage: save validated_atoms as tuple
Zac Medico [Sat, 23 Jun 2012 01:23:20 +0000 (18:23 -0700)]
Package: save validated_atoms as tuple

12 years agotreewalk: fix USE=multislot breakage
Zac Medico [Sat, 23 Jun 2012 01:13:56 +0000 (18:13 -0700)]
treewalk: fix USE=multislot breakage

It broke in commit e4ba8f36e6a4624f4fec61c7ce8bed0e3bd2fa01.

12 years agotest_match_from_list: test slot-abi more
Zac Medico [Sat, 23 Jun 2012 01:01:29 +0000 (18:01 -0700)]
test_match_from_list: test slot-abi more

12 years agoNEWS: 2.1.11: experimental EAPI 4-slot-abi
Zac Medico [Sat, 23 Jun 2012 00:52:20 +0000 (17:52 -0700)]
NEWS: 2.1.11: experimental EAPI 4-slot-abi

12 years agoman/portage.5: profile-formats = portage-2
Zac Medico [Sat, 23 Jun 2012 00:45:32 +0000 (17:45 -0700)]
man/portage.5: profile-formats = portage-2

12 years agoRELEASE-NOTES: 2.1.11: User-defined package sets
Zac Medico [Sat, 23 Jun 2012 00:38:45 +0000 (17:38 -0700)]
RELEASE-NOTES: 2.1.11: User-defined package sets

12 years agoDocument /etc/portage/sets and world_sets more.
Zac Medico [Sat, 23 Jun 2012 00:29:39 +0000 (17:29 -0700)]
Document /etc/portage/sets and world_sets more.

12 years agoEnable /etc/portage/sets for stable, bug #384061.
Zac Medico [Fri, 22 Jun 2012 23:49:46 +0000 (16:49 -0700)]
Enable /etc/portage/sets for stable, bug #384061.

12 years agoAdd UNINSTALL_IGNORE variable for bug #421659.
Zac Medico [Fri, 22 Jun 2012 22:33:07 +0000 (15:33 -0700)]
Add UNINSTALL_IGNORE variable for bug #421659.

UNINSTALL_IGNORE = [space delimited list of fnmatch patterns]

This variable prevents uninstallation of files that match
specific fnmatch(3) patterns. In order to ignore file collisions
with these files at install time, the same patterns can be
added to the COLLISION_IGNORE variable.

12 years agoAdd experimental EAPI 4-slot-abi support.
Zac Medico [Fri, 22 Jun 2012 09:59:53 +0000 (02:59 -0700)]
Add experimental EAPI 4-slot-abi support.

Refer to 4-slot-abi.docbook for a full description.

12 years agofakedbapi: use _pkg_str more
Zac Medico [Fri, 22 Jun 2012 09:45:36 +0000 (02:45 -0700)]
fakedbapi: use _pkg_str more

12 years agogetportageversion: handle repo: in parent file
Zac Medico [Fri, 22 Jun 2012 07:18:11 +0000 (00:18 -0700)]
getportageversion: handle repo: in parent file

12 years agoResolverPlayground: fix repo for binpkgs
Zac Medico [Thu, 21 Jun 2012 22:32:16 +0000 (15:32 -0700)]
ResolverPlayground: fix repo for binpkgs

12 years agoaction_build: always display_problems
Zac Medico [Thu, 21 Jun 2012 21:58:02 +0000 (14:58 -0700)]
action_build: always display_problems

12 years agoresolver/output: cleanup counters
Zac Medico [Thu, 21 Jun 2012 04:42:49 +0000 (21:42 -0700)]
resolver/output: cleanup counters

12 years agoInheritEclass: add user esethome func
Zac Medico [Thu, 21 Jun 2012 01:02:22 +0000 (18:02 -0700)]
InheritEclass: add user esethome func

12 years agodepgraph._complete_graph: old virt sanity check
Zac Medico [Wed, 20 Jun 2012 23:01:01 +0000 (16:01 -0700)]
depgraph._complete_graph: old virt sanity check

12 years agomisc-functions.sh: unwrap die messages
Zac Medico [Wed, 20 Jun 2012 21:56:49 +0000 (14:56 -0700)]
misc-functions.sh: unwrap die messages

Jeremy Olexa <darkside@gentoo.org> complained that die was not handling
these line continuations as it's supposed to. Maybe there's a bug in
die's line continuation sed expression, but it won't hurt to unwrap
these particular messages.

12 years agobacktracking: only feedback first slot conflict
Zac Medico [Wed, 20 Jun 2012 21:23:47 +0000 (14:23 -0700)]
backtracking: only feedback first slot conflict

Only create BacktrackNode instances for the first conflict which
occurred, since the conflicts that occurred later may have been
caused by the first conflict.

12 years agoResolverPlayground: distinguish uninstall merge
Zac Medico [Wed, 20 Jun 2012 10:05:26 +0000 (03:05 -0700)]
ResolverPlayground: distinguish uninstall merge

12 years agoResolverPlayground: distinguish binpkg merge
Zac Medico [Wed, 20 Jun 2012 09:51:32 +0000 (02:51 -0700)]
ResolverPlayground: distinguish binpkg merge

12 years agoResolverPlayground: support binary packages
Zac Medico [Wed, 20 Jun 2012 09:02:55 +0000 (02:02 -0700)]
ResolverPlayground: support binary packages

12 years agoAtom: cleanup str()/unicode() usage
Zac Medico [Wed, 20 Jun 2012 07:00:28 +0000 (00:00 -0700)]
Atom: cleanup str()/unicode() usage

12 years agodepgraph._iter_atoms_for_pkg: fix for --rebuild-*
Zac Medico [Wed, 20 Jun 2012 04:30:00 +0000 (21:30 -0700)]
depgraph._iter_atoms_for_pkg: fix for --rebuild-*

The SetArg instances that are generated for --rebuild-if-* behvior need
to be passed into _set_args() in order for _iter_atoms_for_pkg to be
aware of these arguments.

12 years agodepgraph: optimize slot conflict backtrack order
Zac Medico [Tue, 19 Jun 2012 21:27:11 +0000 (14:27 -0700)]
depgraph: optimize slot conflict backtrack order

12 years agodepgraph: defer slot conflict backtracking
Zac Medico [Tue, 19 Jun 2012 00:40:04 +0000 (17:40 -0700)]
depgraph: defer slot conflict backtracking

Defer slot conflict backtracking until after _complete_graph is used to
complete the graph, so that all relevant reverse dependencies are
available for making informed backtracking decisions.

12 years agodepgraph._add_pkg: preserve previous pkg depth
Zac Medico [Sun, 17 Jun 2012 19:44:56 +0000 (12:44 -0700)]
depgraph._add_pkg: preserve previous pkg depth

12 years agodepgraph: use package sets for rebuild/reinstall
Zac Medico [Sun, 17 Jun 2012 17:52:28 +0000 (10:52 -0700)]
depgraph: use package sets for rebuild/reinstall

12 years agoDependencyArg: add __slots__
Zac Medico [Sun, 17 Jun 2012 16:16:15 +0000 (09:16 -0700)]
DependencyArg: add __slots__

12 years agorepoman: add 'VIRTUAL.suspect' class of warnings
Sergei Trofimovich [Sun, 17 Jun 2012 08:42:51 +0000 (11:42 +0300)]
repoman: add 'VIRTUAL.suspect' class of warnings

Searches all the *DEPENDS against static
map of:
    { 'package' : 'virtual' }

Example output:

>  VIRTUAL.suspect               1
>   dev-haskell/cabal/cabal-1.15.0_pre20120608.ebuild: consider using 'virtual/pkgconfig' insted of 'dev-util/pkgconf'

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
12 years agograbfile_package: show real file name in error
Zac Medico [Sun, 17 Jun 2012 15:22:00 +0000 (08:22 -0700)]
grabfile_package: show real file name in error