portage.git
11 years agoconfig: fix typo maid -> main
Brandon Philips [Wed, 20 Mar 2013 18:13:21 +0000 (11:13 -0700)]
config: fix typo maid -> main

this looks like a typo. maid_repo should be main_repo.

11 years agoprepallman: avoid temp file indirection
Mike Frysinger [Wed, 20 Mar 2013 08:29:23 +0000 (04:29 -0400)]
prepallman: avoid temp file indirection

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agoportageq: fix envvar -v, bug #462412 v2.2.0_alpha168
Zac Medico [Wed, 20 Mar 2013 03:30:32 +0000 (20:30 -0700)]
portageq: fix envvar -v, bug #462412

11 years agomanifest2MiscfileFilter: remove redundant checks v2.2.0_alpha167
Zac Medico [Tue, 19 Mar 2013 21:56:46 +0000 (14:56 -0700)]
manifest2MiscfileFilter: remove redundant checks

Checks for directory names are not needed since only regular files
are passed in here.

11 years ago_iter_similar_available: do built checks together
Zac Medico [Tue, 19 Mar 2013 21:38:33 +0000 (14:38 -0700)]
_iter_similar_available: do built checks together

11 years agoUse autounmask for subslot conflict, bug #461464.
Zac Medico [Tue, 19 Mar 2013 21:05:57 +0000 (14:05 -0700)]
Use autounmask for subslot conflict, bug #461464.

11 years agoTask.__repr__: handle python-trace
Zac Medico [Tue, 19 Mar 2013 20:21:43 +0000 (13:21 -0700)]
Task.__repr__: handle python-trace

11 years agoconfig: make circular vartree import lazy
Zac Medico [Tue, 19 Mar 2013 20:10:28 +0000 (13:10 -0700)]
config: make circular vartree import lazy

11 years agorepoman: export GNUPGHOME to git, bug #462362
Zac Medico [Tue, 19 Mar 2013 19:55:50 +0000 (12:55 -0700)]
repoman: export GNUPGHOME to git, bug #462362

11 years ago_get_slot_re: relocate due to circular import
Zac Medico [Tue, 19 Mar 2013 19:33:57 +0000 (12:33 -0700)]
_get_slot_re: relocate due to circular import

11 years agoautounmask: remove faulty reset_pkg() function
Zac Medico [Tue, 19 Mar 2013 18:47:31 +0000 (11:47 -0700)]
autounmask: remove faulty reset_pkg() function

This function did not work as intended, due to the pkg variable being
updated in the wrong scope.

11 years agoTask: implement __repr__
Zac Medico [Tue, 19 Mar 2013 18:36:44 +0000 (11:36 -0700)]
Task: implement __repr__

11 years agorepoman: exempt multilib-minimal for get_libdir
Zac Medico [Tue, 19 Mar 2013 16:49:22 +0000 (09:49 -0700)]
repoman: exempt multilib-minimal for get_libdir

This will fix bug #461944.

11 years agotests.main(): disable colors when appropriate
Zac Medico [Tue, 19 Mar 2013 08:35:40 +0000 (01:35 -0700)]
tests.main(): disable colors when appropriate

11 years agoappend_repo: use Atom.with_repo()
Zac Medico [Tue, 19 Mar 2013 08:00:00 +0000 (01:00 -0700)]
append_repo: use Atom.with_repo()

11 years agoappend_repo: preserve existing repo atom
Zac Medico [Tue, 19 Mar 2013 06:37:52 +0000 (23:37 -0700)]
append_repo: preserve existing repo atom

This will fix bug #461948.

11 years agocmp_sort_key: reference functools.cmp_to_key()
Zac Medico [Tue, 19 Mar 2013 06:22:32 +0000 (23:22 -0700)]
cmp_sort_key: reference functools.cmp_to_key()

11 years agograbfile_package: unicode(), not str() for py2
Zac Medico [Tue, 19 Mar 2013 05:55:57 +0000 (22:55 -0700)]
grabfile_package: unicode(), not str() for py2

11 years agodisplay_preserved_libs: distinguish prsvd cnsmrs
Zac Medico [Mon, 18 Mar 2013 23:35:38 +0000 (16:35 -0700)]
display_preserved_libs: distinguish prsvd cnsmrs

This will fix bug #461908.

11 years agoDisplay._blockers(): distinguish hard blocking
Zac Medico [Mon, 18 Mar 2013 21:27:57 +0000 (14:27 -0700)]
Display._blockers(): distinguish hard blocking

11 years agoresolver/output: rename Display._blockers() param
Zac Medico [Mon, 18 Mar 2013 21:12:26 +0000 (14:12 -0700)]
resolver/output: rename Display._blockers() param

11 years agoresolver/output: unicode(), not str() for python2
Zac Medico [Mon, 18 Mar 2013 20:57:50 +0000 (13:57 -0700)]
resolver/output: unicode(), not str() for python2

11 years agoportageq: optimize pquery --no-version
Zac Medico [Mon, 18 Mar 2013 19:39:02 +0000 (12:39 -0700)]
portageq: optimize pquery --no-version

11 years agoportageq: fix visiblity filter with no atoms
Zac Medico [Mon, 18 Mar 2013 12:01:24 +0000 (05:01 -0700)]
portageq: fix visiblity filter with no atoms

11 years agoportageq: add pquery to global command list
Zac Medico [Mon, 18 Mar 2013 11:06:41 +0000 (04:06 -0700)]
portageq: add pquery to global command list

11 years agoinsert_category_into_atom: handle wildcard
Zac Medico [Mon, 18 Mar 2013 10:21:42 +0000 (03:21 -0700)]
insert_category_into_atom: handle wildcard

11 years agoportageq: optimize cat/name expansion for pquery
Zac Medico [Mon, 18 Mar 2013 10:09:22 +0000 (03:09 -0700)]
portageq: optimize cat/name expansion for pquery

11 years agoportageq: visiblity filter for pquery mode
Zac Medico [Mon, 18 Mar 2013 08:32:41 +0000 (01:32 -0700)]
portageq: visiblity filter for pquery mode

11 years agoportageq: support atoms for pquery mode
Zac Medico [Mon, 18 Mar 2013 06:26:53 +0000 (23:26 -0700)]
portageq: support atoms for pquery mode

11 years agoportageq: emulate subset of Pkgcore's pquery
Zac Medico [Sun, 17 Mar 2013 22:36:54 +0000 (15:36 -0700)]
portageq: emulate subset of Pkgcore's pquery

Pkgcore pquery compatible options:

Repository matching options:
  --repo=REPO           repo to use (default is PORTDIR if omitted)
  --all-repos           search all repos

Package matching options:
  --herd=HERD           exact match on a herd
  --maintainer-email=MAINTAINER_EMAIL
                        comma-separated list of maintainer email regexes to
                        search for

Output formatting:
  -n, --no-version      collapse multiple matching versions together

11 years agoportageq: remove unused imports
Zac Medico [Sun, 17 Mar 2013 20:02:17 +0000 (13:02 -0700)]
portageq: remove unused imports

11 years agoportage.update.update_config_files(): Add handling of /etc/portage/sets.
Arfrever Frehtes Taifersar Arahesis [Sun, 17 Mar 2013 04:32:22 +0000 (05:32 +0100)]
portage.update.update_config_files(): Add handling of /etc/portage/sets.

11 years agoportage.update.update_config_files(): Add handling of:
Arfrever Frehtes Taifersar Arahesis [Sun, 17 Mar 2013 03:29:26 +0000 (04:29 +0100)]
portage.update.update_config_files(): Add handling of:
/etc/portage/profile/packages
/etc/portage/profile/package.use.force
/etc/portage/profile/package.use.mask
/etc/portage/profile/package.use.stable.force
/etc/portage/profile/package.use.stable.mask

11 years agoUse lexists for symlink target checks.
Zac Medico [Sat, 16 Mar 2013 05:39:38 +0000 (22:39 -0700)]
Use lexists for symlink target checks.

11 years agoWarn when merging broken symlinks for bug #446.
Tom Wijsman [Sat, 16 Mar 2013 05:28:03 +0000 (22:28 -0700)]
Warn when merging broken symlinks for bug #446.

11 years agoFix NameError introduced in commit 473caf415603e0b69ac29b0f0e59761b3c583ed8.
Arfrever Frehtes Taifersar Arahesis [Fri, 15 Mar 2013 03:29:17 +0000 (04:29 +0100)]
Fix NameError introduced in commit 473caf415603e0b69ac29b0f0e59761b3c583ed8.

11 years agorepoman checks: include BUILD_DIR in quoting checks.
Michał Górny [Thu, 14 Mar 2013 17:12:34 +0000 (18:12 +0100)]
repoman checks: include BUILD_DIR in quoting checks.

11 years agoprepstrip: skip redundant build ID ln -s calls
Alphat-PC [Thu, 14 Mar 2013 03:29:23 +0000 (20:29 -0700)]
prepstrip: skip redundant build ID ln -s calls

11 years agoprepstrip: strip .note.gnu.gold-version sections
Alphat-PC [Thu, 14 Mar 2013 03:26:44 +0000 (20:26 -0700)]
prepstrip: strip .note.gnu.gold-version sections

11 years agoprepstrip: fix readelf Build ID for bug #460510
Alphat-PC [Thu, 14 Mar 2013 03:23:58 +0000 (20:23 -0700)]
prepstrip: fix readelf Build ID for bug #460510

11 years agoUse writemsg for unicode safety in set messages.
Zac Medico [Wed, 13 Mar 2013 15:19:06 +0000 (08:19 -0700)]
Use writemsg for unicode safety in set messages.

11 years agoexpand_set_arguments: fix expansion breakage
Zac Medico [Wed, 13 Mar 2013 15:10:03 +0000 (08:10 -0700)]
expand_set_arguments: fix expansion breakage

This broke in commit 16e1f2185bb7ed36d3119b29a50ca0ff75fa8b71.

11 years agoiter_owners: event loop for spinner, bug #461412
Zac Medico [Wed, 13 Mar 2013 05:56:43 +0000 (22:56 -0700)]
iter_owners: event loop for spinner, bug #461412

11 years agoexpand_set_arguments: defer set load for depgraph
Zac Medico [Wed, 13 Mar 2013 05:10:08 +0000 (22:10 -0700)]
expand_set_arguments: defer set load for depgraph

This allows the depgraph to display the "Calculating dependencies"
message before sets are loaded, as discussed in bug #461412.

11 years agoportage.tests.getTestDirs(): Delete obsolete handling of .svn directories.
Arfrever Frehtes Taifersar Arahesis [Wed, 13 Mar 2013 04:09:01 +0000 (05:09 +0100)]
portage.tests.getTestDirs(): Delete obsolete handling of .svn directories.

11 years agoDefine portage.const.VCS_DIRS and use it in some modules.
Arfrever Frehtes Taifersar Arahesis [Wed, 13 Mar 2013 03:43:15 +0000 (04:43 +0100)]
Define portage.const.VCS_DIRS and use it in some modules.

11 years agoebuild: reformat user error message to be a bit more readable
Mike Frysinger [Tue, 12 Mar 2013 00:43:09 +0000 (20:43 -0400)]
ebuild: reformat user error message to be a bit more readable

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agoRepoConfig: always map unaliased when available
Zac Medico [Sun, 10 Mar 2013 08:07:21 +0000 (00:07 -0800)]
RepoConfig: always map unaliased when available

This fixes get_name_for_location so that it always returns the
unaliased repo name, rather than (randomly) returning aliases.

11 years agoemaint: Clean and standardize package docstrings and module descriptions
W. Trevor King [Sat, 9 Mar 2013 19:28:11 +0000 (14:28 -0500)]
emaint: Clean and standardize package docstrings and module descriptions

11 years agoRemove stray quotes in emaint docstrings.
Zac Medico [Sat, 9 Mar 2013 19:04:56 +0000 (11:04 -0800)]
Remove stray quotes in emaint docstrings.

11 years agoinstall_qa_check_prefix: drop removal of etc/{init,conf}.d files
Fabian Groffen [Sun, 12 Aug 2012 07:43:34 +0000 (09:43 +0200)]
install_qa_check_prefix: drop removal of etc/{init,conf}.d files

This allows to use OpenRC on Prefix systems.

Signed-off-by: XU Benda <heroxbd@gmail.com>
11 years agoClarify "Excessive files" QA die message.
Zac Medico [Wed, 6 Mar 2013 22:16:34 +0000 (14:16 -0800)]
Clarify "Excessive files" QA die message.

11 years ago_add_dep: remove questionable need_restart logic v2.2.0_alpha166
Zac Medico [Tue, 5 Mar 2013 01:38:48 +0000 (17:38 -0800)]
_add_dep: remove questionable need_restart logic

This need_restart logic was apparently intended to interact with
want_restart_for_use_change, but doesn't appear to be necessary
anymore. We really don't want the need_restart flag to prevent
"missing dependency" backtracking.

11 years agoUse endswith(tuple).
Zac Medico [Tue, 5 Mar 2013 01:21:03 +0000 (17:21 -0800)]
Use endswith(tuple).

11 years agoDon't use splitext for .ebuild/.tbz2 check.
Zac Medico [Tue, 5 Mar 2013 01:07:39 +0000 (17:07 -0800)]
Don't use splitext for .ebuild/.tbz2 check.

11 years agoFix bug #460304.
Zac Medico [Tue, 5 Mar 2013 00:56:28 +0000 (16:56 -0800)]
Fix bug #460304.

11 years agoAdd test for bug #460304.
Zac Medico [Mon, 4 Mar 2013 23:37:18 +0000 (15:37 -0800)]
Add test for bug #460304.

11 years agorepoman: check metadata.xml xml decl, bug #328113 v2.2.0_alpha165
Zac Medico [Sun, 3 Mar 2013 17:59:21 +0000 (09:59 -0800)]
repoman: check metadata.xml xml decl, bug #328113

11 years agorepoman: skip doctype check for python 2.6 or 3.1
Zac Medico [Sun, 3 Mar 2013 08:12:25 +0000 (00:12 -0800)]
repoman: skip doctype check for python 2.6 or 3.1

11 years agorepoman: remove unused grouplist function v2.2.0_alpha164
Zac Medico [Sat, 2 Mar 2013 03:44:34 +0000 (19:44 -0800)]
repoman: remove unused grouplist function

11 years agorepoman: check metadata.xml doctype, bug #328113
Zac Medico [Sat, 2 Mar 2013 03:23:47 +0000 (19:23 -0800)]
repoman: check metadata.xml doctype, bug #328113

11 years agodepgraph._set_args: fix atom_arg_map for refs > 1
Zac Medico [Sat, 2 Mar 2013 02:55:25 +0000 (18:55 -0800)]
depgraph._set_args: fix atom_arg_map for refs > 1

Due to an indentation error, atom_arg_map only preserved a single
set reference, preventing slot-operator rebuilds from triggering
for atoms that were also pulled in via another set such as world.

11 years agoFix autounmask/sub-slot interference, bug #459832
Zac Medico [Sat, 2 Mar 2013 00:57:56 +0000 (16:57 -0800)]
Fix autounmask/sub-slot interference, bug #459832

11 years agoportage(5): document multiple parents in the parent file
Mike Frysinger [Fri, 1 Mar 2013 03:42:02 +0000 (22:42 -0500)]
portage(5): document multiple parents in the parent file

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years ago_display_use: use local variables
Zac Medico [Thu, 28 Feb 2013 00:24:54 +0000 (16:24 -0800)]
_display_use: use local variables

11 years agoDisplay: unsplit _display_use method parts
Zac Medico [Thu, 28 Feb 2013 00:12:42 +0000 (16:12 -0800)]
Display: unsplit _display_use method parts

11 years agoDisplay: eliminate duplicate vardb.match() calls
Zac Medico [Wed, 27 Feb 2013 23:39:33 +0000 (15:39 -0800)]
Display: eliminate duplicate vardb.match() calls

11 years agoconfig: unset LINGUAS if appropriate, bug #459350
Zac Medico [Wed, 27 Feb 2013 00:27:40 +0000 (16:27 -0800)]
config: unset LINGUAS if appropriate, bug #459350

11 years agoEventLoop: qemu-user epoll quirk, bug #451326
Zac Medico [Mon, 25 Feb 2013 23:52:44 +0000 (15:52 -0800)]
EventLoop: qemu-user epoll quirk, bug #451326

The epoll implementation in qemu-user-1.2.2 appears to generate events
for file descriptors that are no longer registered. Handle it, since it
appears to be harmless (see bug #451326).

11 years agoman/ru/env-update.1: fix some bold and italics
Vladimir Romanov [Sun, 24 Feb 2013 18:54:34 +0000 (10:54 -0800)]
man/ru/env-update.1: fix some bold and italics

11 years agoman/ru/ebuild.1: translate OPTIONS
Vladimir Romanov [Sun, 24 Feb 2013 18:53:11 +0000 (10:53 -0800)]
man/ru/ebuild.1: translate OPTIONS

11 years agoemerge --help: remove [--verbose], bug #458730
Zac Medico [Sat, 23 Feb 2013 19:13:53 +0000 (11:13 -0800)]
emerge --help: remove [--verbose], bug #458730

Since commit f127d25373a42f3200a331b7f2641a1cf0e90b50, --verbose has no
effect.

11 years agoFix a typo.
Arfrever Frehtes Taifersar Arahesis [Fri, 22 Feb 2013 18:51:52 +0000 (19:51 +0100)]
Fix a typo.

11 years ago_world_atom: avoid world set lock reentrance
Zac Medico [Thu, 21 Feb 2013 22:23:57 +0000 (14:23 -0800)]
_world_atom: avoid world set lock reentrance

This fixes a case with FEATURE=parallel-install, where a call from
_world_atom to the global event loop could result in reentrace and
lock interference.

11 years agoRemove "Starting parallel fetch" msg, bug #368297
Zac Medico [Thu, 21 Feb 2013 14:28:50 +0000 (06:28 -0800)]
Remove "Starting parallel fetch" msg, bug #368297

11 years agotestCompileModules(): Use builtins.compile() instead of py_compile.compile()
Arfrever Frehtes Taifersar Arahesis [Wed, 20 Feb 2013 19:53:53 +0000 (20:53 +0100)]
testCompileModules(): Use builtins.compile() instead of py_compile.compile()
to avoid replacing /dev/null character device with a regular file when
using Python 3.4 (http://bugs.python.org/issue17222).

11 years agodepgraph: tweak "required by" message format
Mike Frysinger [Mon, 18 Feb 2013 02:19:04 +0000 (21:19 -0500)]
depgraph: tweak "required by" message format

The current output format for listing a chain of dependencies produces
one long flat line that can be hard to read.  For example, if you mask
dev-lang/ruby and then try to install dev-ruby/json, you'll see:
 The following mask changes are necessary to proceed:
  (see "package.unmask" in the portage(5) man page for more details)
 #required by dev-ruby/rdoc-3.12.1[ruby_targets_ruby19]
 # /etc/portage/package.mask/misc:
 =dev-lang/ruby-1.9.3_p385
 #required by dev-ruby/rubygems-1.8.24[ruby_targets_ruby18], required by virtual/rubygems-1, required by dev-ruby/racc-1.4.9[-test,ruby_targets_ruby18], required by dev-ruby/rdoc-3.12.1[ruby_targets_ruby18], required by dev-lang/ruby-1.9.3_p385[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/json-1.7.7[-test,-doc,ruby_targets_ruby19]
 # /etc/portage/package.mask/misc:
 =dev-lang/ruby-1.8.7_p371

Tracing your way through that list is not easy.  Instead, let's use
newlines and now we get:
 The following mask changes are necessary to proceed:
  (see "package.unmask" in the portage(5) man page for more details)
 # required by dev-ruby/rdoc-3.12.1[ruby_targets_ruby19]
 # /etc/portage/package.mask/misc:
 =dev-lang/ruby-1.9.3_p385
 # required by dev-ruby/rubygems-1.8.24[ruby_targets_ruby18]
 # required by virtual/rubygems-1
 # required by dev-ruby/racc-1.4.9[-test,ruby_targets_ruby18]
 # required by dev-ruby/rdoc-3.12.1[ruby_targets_ruby18]
 # required by dev-lang/ruby-1.9.3_p385[rdoc]
 # required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19]
 # required by dev-ruby/json-1.7.7[-test,-doc,ruby_targets_ruby19]
 # /etc/portage/package.mask/misc:
 =dev-lang/ruby-1.8.7_p371

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agoebuild: delete useless indent
Mike Frysinger [Mon, 18 Feb 2013 02:07:40 +0000 (21:07 -0500)]
ebuild: delete useless indent

Should be no functional change here.  The code was indented one too many
times, and the if check is pointless -- the for loop will already skip
if there are no elements in the list.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agorepoman: clean up style in a lot of places
Mike Frysinger [Mon, 18 Feb 2013 02:02:09 +0000 (21:02 -0500)]
repoman: clean up style in a lot of places

Shouldn't be any functional changes in here.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agoUpdate GNU-stack URLs.
Zac Medico [Sun, 17 Feb 2013 23:38:58 +0000 (15:38 -0800)]
Update GNU-stack URLs.

11 years agoportageq: fix 'Unicode equal comparison failed'
Zac Medico [Sun, 17 Feb 2013 22:53:03 +0000 (14:53 -0800)]
portageq: fix 'Unicode equal comparison failed'

11 years ago_exec: avoid UnicodeEncodeError for execve args
Zac Medico [Sun, 17 Feb 2013 22:12:29 +0000 (14:12 -0800)]
_exec: avoid UnicodeEncodeError for execve args

11 years agopreplib: remove for bug #102297
Zac Medico [Fri, 15 Feb 2013 23:39:57 +0000 (15:39 -0800)]
preplib: remove for bug #102297

11 years agoabssymlink: clarify docs, bug #225821
Zac Medico [Fri, 15 Feb 2013 22:34:36 +0000 (14:34 -0800)]
abssymlink: clarify docs, bug #225821

11 years agoEXTRA_ECONF: support quoted args, bug #457136
Zac Medico [Thu, 14 Feb 2013 16:47:41 +0000 (08:47 -0800)]
EXTRA_ECONF: support quoted args, bug #457136

11 years agorepoman: warn if not FEATURES=sign, bug #457034 v2.2.0_alpha163
Zac Medico [Thu, 14 Feb 2013 05:32:48 +0000 (21:32 -0800)]
repoman: warn if not FEATURES=sign, bug #457034

11 years agoslot_operator_replace_installed: check available
Zac Medico [Thu, 14 Feb 2013 04:45:40 +0000 (20:45 -0800)]
slot_operator_replace_installed: check available

This fixes a case where it could try to pull in an unavailable SLOT.

11 years ago_slot_operator_update_probe: handle slot conflict
Zac Medico [Thu, 14 Feb 2013 03:40:19 +0000 (19:40 -0800)]
_slot_operator_update_probe: handle slot conflict

The "insignificant change" detection from commit
0240b8b754ab5f642c50c863d4bec1dc3636ba29 is only valid when we are
not trying to resolve a slot conflict (see bug #457142).

11 years ago--complete-graph-if-new-ver: test slot change
Zac Medico [Thu, 14 Feb 2013 01:20:34 +0000 (17:20 -0800)]
--complete-graph-if-new-ver: test slot change

11 years ago--complete-if-new-ver: check for slot change
Zac Medico [Thu, 14 Feb 2013 00:45:45 +0000 (16:45 -0800)]
--complete-if-new-ver: check for slot change

11 years agoemerge: don't traceback or invalid *.ebuild args
Zac Medico [Wed, 13 Feb 2013 04:44:31 +0000 (20:44 -0800)]
emerge: don't traceback or invalid *.ebuild args

11 years ago_get_dep_chain: include repo names v2.2.0_alpha162
Zac Medico [Tue, 12 Feb 2013 03:24:57 +0000 (19:24 -0800)]
_get_dep_chain: include repo names

11 years agoSlotOperatorUnsolvedTestCase: add unwanted binpkg
Zac Medico [Tue, 12 Feb 2013 03:03:16 +0000 (19:03 -0800)]
SlotOperatorUnsolvedTestCase: add unwanted binpkg

11 years agoBacktrack unsatisfied slot-operator, bug #456340.
Zac Medico [Tue, 12 Feb 2013 02:50:36 +0000 (18:50 -0800)]
Backtrack unsatisfied slot-operator, bug #456340.

11 years agoAdd test case for bug #456340.
Zac Medico [Tue, 12 Feb 2013 01:35:48 +0000 (17:35 -0800)]
Add test case for bug #456340.

The problem here results from poor handling of the unsatisfied built
slot operator dep inside _add_dep, where it aborts the graph and tries
to backtrack immediately. We really want it to queue a rebuild here,
and continue filling out the graph.

11 years ago_slot_operator_update_probe: detect insignificant
Zac Medico [Mon, 11 Feb 2013 23:43:39 +0000 (15:43 -0800)]
_slot_operator_update_probe: detect insignificant

This avoids rebuilding of two packages due to a sub-slot change in the
child package without revision bump. The sub-slot change is considered
insignificant until one of its parent packages needs to be rebuilt.

11 years ago_add_pkg: fix existing_node early return
Zac Medico [Mon, 11 Feb 2013 22:51:09 +0000 (14:51 -0800)]
_add_pkg: fix existing_node early return

This fixes a case where it would return early, before calling
_add_slot_operator_dep, which could prevent slot-operator backtracking
from working properly. This makes SlotChangeWithoutRevBumpTestCase work
properly when we add an undesirable app-arch/libarchive-3.1.1 binary
package.

11 years agoDisable IUSE check for binary pkg API consumers.
Zac Medico [Mon, 11 Feb 2013 19:19:30 +0000 (11:19 -0800)]
Disable IUSE check for binary pkg API consumers.

In the use() IUSE QA check, exempt binary packages for API consumers
like Entropy which do not require a full profile with IUSE_IMPLICIT and
stuff (see bug #456830).

11 years agodeprecated_profile_check: show eselect command
Zac Medico [Mon, 11 Feb 2013 15:28:50 +0000 (07:28 -0800)]
deprecated_profile_check: show eselect command

11 years agonowarn syntax for repoman to ignore
Heather [Mon, 11 Feb 2013 07:41:04 +0000 (11:41 +0400)]
nowarn syntax for repoman to ignore