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.
Zac Medico [Sat, 30 Jun 2012 20:50:01 +0000 (13:50 -0700)]
man/emerge.1: note that --resume re-uses options
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>
Zac Medico [Wed, 27 Jun 2012 22:45:19 +0000 (15:45 -0700)]
egencache: prune empty cache directories
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.
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.
Zac Medico [Mon, 25 Jun 2012 21:28:31 +0000 (14:28 -0700)]
_slot_abi: fix broken function refs
Zac Medico [Mon, 25 Jun 2012 17:41:11 +0000 (10:41 -0700)]
whitelist PORTAGE_DOHTML_WARN_ON_SKIPPED_FILES
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.
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".
Arfrever Frehtes Taifersar Arahesis [Mon, 25 Jun 2012 02:08:25 +0000 (04:08 +0200)]
Reformat documentation of EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Mon, 25 Jun 2012 01:25:10 +0000 (03:25 +0200)]
dohtml.py: Sort default list of extensions.
Zac Medico [Sun, 24 Jun 2012 21:01:26 +0000 (14:01 -0700)]
protected_symlinks: suggest course of action
See discussion in bug #423127.
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.
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.
Zac Medico [Sat, 23 Jun 2012 21:53:13 +0000 (14:53 -0700)]
test_slot_abi: fix atom == type
Zac Medico [Sat, 23 Jun 2012 20:39:27 +0000 (13:39 -0700)]
Skip unmerge of libdir symlinks for bug #423127.
Zac Medico [Sat, 23 Jun 2012 20:03:28 +0000 (13:03 -0700)]
Fix debug message wording of "to due".
Zac Medico [Sat, 23 Jun 2012 06:38:35 +0000 (23:38 -0700)]
slot_abi_mask_built: fix __eq__ for backtracking
Zac Medico [Sat, 23 Jun 2012 06:28:10 +0000 (23:28 -0700)]
Slot conflict "abi" backtrack nodes non-terminal.
Zac Medico [Sat, 23 Jun 2012 05:59:51 +0000 (22:59 -0700)]
slot_abi_mask_built: don't discard other masks
Zac Medico [Sat, 23 Jun 2012 05:10:14 +0000 (22:10 -0700)]
Fix success_without_autounmask logic wrt rebuilds
Zac Medico [Sat, 23 Jun 2012 03:01:43 +0000 (20:01 -0700)]
depgraph: fix broken _complete_mode assignment
Zac Medico [Sat, 23 Jun 2012 02:46:52 +0000 (19:46 -0700)]
_slot_abi_update_probe: respect --exclude
Zac Medico [Sat, 23 Jun 2012 02:35:42 +0000 (19:35 -0700)]
depgraph: fix bugs in force_reinstall handling
Zac Medico [Sat, 23 Jun 2012 01:23:20 +0000 (18:23 -0700)]
Package: save validated_atoms as tuple
Zac Medico [Sat, 23 Jun 2012 01:13:56 +0000 (18:13 -0700)]
treewalk: fix USE=multislot breakage
It broke in commit
e4ba8f36e6a4624f4fec61c7ce8bed0e3bd2fa01.
Zac Medico [Sat, 23 Jun 2012 01:01:29 +0000 (18:01 -0700)]
test_match_from_list: test slot-abi more
Zac Medico [Sat, 23 Jun 2012 00:52:20 +0000 (17:52 -0700)]
NEWS: 2.1.11: experimental EAPI 4-slot-abi
Zac Medico [Sat, 23 Jun 2012 00:45:32 +0000 (17:45 -0700)]
man/portage.5: profile-formats = portage-2
Zac Medico [Sat, 23 Jun 2012 00:38:45 +0000 (17:38 -0700)]
RELEASE-NOTES: 2.1.11: User-defined package sets
Zac Medico [Sat, 23 Jun 2012 00:29:39 +0000 (17:29 -0700)]
Document /etc/portage/sets and world_sets more.
Zac Medico [Fri, 22 Jun 2012 23:49:46 +0000 (16:49 -0700)]
Enable /etc/portage/sets for stable, bug #384061.
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.
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.
Zac Medico [Fri, 22 Jun 2012 09:45:36 +0000 (02:45 -0700)]
fakedbapi: use _pkg_str more
Zac Medico [Fri, 22 Jun 2012 07:18:11 +0000 (00:18 -0700)]
getportageversion: handle repo: in parent file
Zac Medico [Thu, 21 Jun 2012 22:32:16 +0000 (15:32 -0700)]
ResolverPlayground: fix repo for binpkgs
Zac Medico [Thu, 21 Jun 2012 21:58:02 +0000 (14:58 -0700)]
action_build: always display_problems
Zac Medico [Thu, 21 Jun 2012 04:42:49 +0000 (21:42 -0700)]
resolver/output: cleanup counters
Zac Medico [Thu, 21 Jun 2012 01:02:22 +0000 (18:02 -0700)]
InheritEclass: add user esethome func
Zac Medico [Wed, 20 Jun 2012 23:01:01 +0000 (16:01 -0700)]
depgraph._complete_graph: old virt sanity check
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.
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.
Zac Medico [Wed, 20 Jun 2012 10:05:26 +0000 (03:05 -0700)]
ResolverPlayground: distinguish uninstall merge
Zac Medico [Wed, 20 Jun 2012 09:51:32 +0000 (02:51 -0700)]
ResolverPlayground: distinguish binpkg merge
Zac Medico [Wed, 20 Jun 2012 09:02:55 +0000 (02:02 -0700)]
ResolverPlayground: support binary packages
Zac Medico [Wed, 20 Jun 2012 07:00:28 +0000 (00:00 -0700)]
Atom: cleanup str()/unicode() usage
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.
Zac Medico [Tue, 19 Jun 2012 21:27:11 +0000 (14:27 -0700)]
depgraph: optimize slot conflict backtrack order
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.
Zac Medico [Sun, 17 Jun 2012 19:44:56 +0000 (12:44 -0700)]
depgraph._add_pkg: preserve previous pkg depth
Zac Medico [Sun, 17 Jun 2012 17:52:28 +0000 (10:52 -0700)]
depgraph: use package sets for rebuild/reinstall
Zac Medico [Sun, 17 Jun 2012 16:16:15 +0000 (09:16 -0700)]
DependencyArg: add __slots__
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>
Zac Medico [Sun, 17 Jun 2012 15:22:00 +0000 (08:22 -0700)]
grabfile_package: show real file name in error
Zac Medico [Sun, 17 Jun 2012 04:58:38 +0000 (21:58 -0700)]
_process_slot_conflicts: do one slot at a time
This allows us to avoid redundant processing of slots that have
already been processed by a previous call.
Zac Medico [Sun, 17 Jun 2012 03:06:36 +0000 (20:06 -0700)]
depgraph: split out _handle_slot_conflict method
Zac Medico [Sat, 16 Jun 2012 20:27:30 +0000 (13:27 -0700)]
depgraph: simplify _select_pkg_highest_available
This hunk of code is no longer needed since the content of
_highest_pkg_cache is discarded each time a package is added to the
graph.
Zac Medico [Sat, 16 Jun 2012 20:24:12 +0000 (13:24 -0700)]
depgraph: _autounmask in _highest_pkg_cache key
Sergei Trofimovich [Fri, 15 Jun 2012 18:10:25 +0000 (21:10 +0300)]
repoman: warn about every 'pkgconfig' implementation in RDEPENDs
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Zac Medico [Fri, 15 Jun 2012 23:42:44 +0000 (16:42 -0700)]
Unmerge symlink listed as dir for bug #421165.
Zac Medico [Fri, 15 Jun 2012 23:03:59 +0000 (16:03 -0700)]
Add USE + license autounmask for bug #420847.
Zac Medico [Thu, 14 Jun 2012 00:23:54 +0000 (17:23 -0700)]
test_autounmask: add case for bug #420847
Arfrever Frehtes Taifersar Arahesis [Wed, 13 Jun 2012 17:44:44 +0000 (19:44 +0200)]
Fix test failure with Python 2.6.
Zac Medico [Wed, 13 Jun 2012 10:15:23 +0000 (03:15 -0700)]
runtests.sh: add pypy-1.9 to PYTHON_VERSIONS
Mike Frysinger [Tue, 12 Jun 2012 22:07:58 +0000 (18:07 -0400)]
repoman: handle trailing newlines better
Automatically strip trailing newlines from the ChangeLog, and be
better about not adding them in the first place (still not perfect,
but getting there).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 11 Jun 2012 20:16:59 +0000 (16:16 -0400)]
repoman: update cat/pkg info in header all the time
There are edge cases where repoman's changelog code is not as good as
the existing echangelog. Mostly related to out of date headers. Have
the code check the header in more cases not just for missing lines, but
also outdated values all the time.
While we're at it, write some tests!
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Zac Medico [Tue, 12 Jun 2012 07:21:57 +0000 (00:21 -0700)]
test_match_from_list: fix _pkg_str usage
Zac Medico [Tue, 12 Jun 2012 06:40:52 +0000 (23:40 -0700)]
dbapi: construct _pkg_str during match on-demand
Zac Medico [Tue, 12 Jun 2012 02:18:15 +0000 (19:18 -0700)]
repoman: tweak code for bug #420735
Zac Medico [Tue, 12 Jun 2012 02:00:09 +0000 (19:00 -0700)]
config: pass tolerant param to getconfig more
Zac Medico [Mon, 11 Jun 2012 23:23:59 +0000 (16:23 -0700)]
repoman: Manifest after ChangeLog, bug #420735
Zac Medico [Mon, 11 Jun 2012 23:08:21 +0000 (16:08 -0700)]
Move post_src_install metadata code to one func.
Zac Medico [Mon, 11 Jun 2012 22:37:30 +0000 (15:37 -0700)]
QueryCommand: add get_db() classmethod
Zac Medico [Mon, 11 Jun 2012 05:32:24 +0000 (22:32 -0700)]
Package: move SLOT validation to _pkg_str
Zac Medico [Mon, 11 Jun 2012 01:15:07 +0000 (18:15 -0700)]
Add a _get_slot_re() function.
Zac Medico [Mon, 11 Jun 2012 00:58:14 +0000 (17:58 -0700)]
Package: use _eapi_attrs
Zac Medico [Sun, 10 Jun 2012 23:41:25 +0000 (16:41 -0700)]
_get_pv_re: use _eapi_attrs
Zac Medico [Sun, 10 Jun 2012 23:18:15 +0000 (16:18 -0700)]
dep: remove old "DEPEND SYNTAX" comments
Zac Medico [Sun, 10 Jun 2012 23:16:25 +0000 (16:16 -0700)]
use_reduce: use _eapi_attrs
Zac Medico [Sun, 10 Jun 2012 23:05:21 +0000 (16:05 -0700)]
_get_eapi_attrs: move to eapi module
Zac Medico [Sun, 10 Jun 2012 22:43:40 +0000 (15:43 -0700)]
dep: move regex constants to top of file
Zac Medico [Sun, 10 Jun 2012 22:37:06 +0000 (15:37 -0700)]
_get_atom_wildcard_re: use _eapi_attrs
Zac Medico [Sun, 10 Jun 2012 22:20:23 +0000 (15:20 -0700)]
_get_atom_re: share cache between more EAPIs
Zac Medico [Sun, 10 Jun 2012 22:16:03 +0000 (15:16 -0700)]
_get_useflag_re: use _eapi_attrs
Zac Medico [Sun, 10 Jun 2012 21:51:25 +0000 (14:51 -0700)]
_get_usedep_re: use _eapi_attrs
Zac Medico [Sun, 10 Jun 2012 21:08:14 +0000 (14:08 -0700)]
Atom: use _eapi_attrs in constructor
Zac Medico [Sun, 10 Jun 2012 20:48:24 +0000 (13:48 -0700)]
_get_atom_re: handle many combinations
A namedtuple of _eapi_attrs is used to hash atom regular expressions,
making it easy to handle many different combinations, as will be
necessary for the addition of new features such as abi-slot deps.
Zac Medico [Sun, 10 Jun 2012 08:24:59 +0000 (01:24 -0700)]
cache/sqlite.py: dynamically add columns to table
Zac Medico [Sat, 9 Jun 2012 02:03:42 +0000 (19:03 -0700)]
InheritEclass: avoid false positive in func regex
Zac Medico [Fri, 8 Jun 2012 22:08:19 +0000 (15:08 -0700)]
depgraph: pass use_reduce result to dep_check
This allows us to avoid extraneous use_reduce/paren_enclose calls.
Zac Medico [Fri, 8 Jun 2012 02:51:48 +0000 (19:51 -0700)]
InheritEclass: avoid false positive in func regex
Zac Medico [Wed, 6 Jun 2012 01:35:35 +0000 (18:35 -0700)]
repoman: try to sign Manifest only if it exists
This case occurs with "thin-manifests = true" in metadata/layout.conf
when there are no distfiles (like for live ebuilds), as reported in
bug #419717.
Zac Medico [Wed, 6 Jun 2012 00:11:00 +0000 (17:11 -0700)]
parse_layout_conf: fix cache-formats pms fallback
This fixes an issue where egencache would not generate metadata/cache
unless the directory already existed.
Zac Medico [Mon, 4 Jun 2012 22:22:21 +0000 (15:22 -0700)]
helper-functions.sh: multijob support bash <4.1
The redirect_alloc_fd() compatibility function is borrowed from Mike
Frysinger's proposed multiprocessing.eclass:
http://archives.gentoo.org/gentoo-dev/msg_5ecd3b1dd0720522807c136d8fd2cd5f.xml
Zac Medico [Mon, 4 Jun 2012 21:59:12 +0000 (14:59 -0700)]
Handle more import exceptions involving xml.
See http://bugs.python.org/issue14988
Zac Medico [Mon, 4 Jun 2012 20:34:09 +0000 (13:34 -0700)]
repoman: fix _mask_manager assignment
This broke in commit
09980f19e584b644b9e2cf4d5e1e0369b6062ca1.
Zac Medico [Mon, 4 Jun 2012 04:06:10 +0000 (21:06 -0700)]
InheritEclass: exempt auto/libtool for multilib
Zac Medico [Mon, 4 Jun 2012 03:25:10 +0000 (20:25 -0700)]
InheritEclass: exempt autotools for libtool