portage.git
13 years agoportage.repository.config.RepoConfigLoader: Rename _add_overlays() to
Arfrever Frehtes Taifersar Arahesis [Sun, 25 Dec 2011 19:40:40 +0000 (20:40 +0100)]
portage.repository.config.RepoConfigLoader: Rename _add_overlays() to
_add_repositories().

13 years agoTweak CFLAGS scanelf loop. v2.2.0_alpha83
Zac Medico [Sat, 24 Dec 2011 11:52:56 +0000 (03:52 -0800)]
Tweak CFLAGS scanelf loop.

13 years agoUpdate date headers in man pages.
Zac Medico [Sat, 24 Dec 2011 11:30:30 +0000 (03:30 -0800)]
Update date headers in man pages.

13 years agoAdd FEATURES=config-protect-if-modified support.
Zac Medico [Sat, 24 Dec 2011 11:17:26 +0000 (03:17 -0800)]
Add FEATURES=config-protect-if-modified support.

This causes the CONFIG_PROTECT behavior to be skipped for files
that have not been modified since they were installed.

13 years agoFakeVartree: implement self.dbapi._aux_cache_keys
Zac Medico [Sat, 24 Dec 2011 10:23:30 +0000 (02:23 -0800)]
FakeVartree: implement self.dbapi._aux_cache_keys

This will fix bug #395879.

13 years agoDon't check .GCC.command.line for kernel modules.
Zac Medico [Sat, 24 Dec 2011 10:13:32 +0000 (02:13 -0800)]
Don't check .GCC.command.line for kernel modules.

Linux kernel modules trigger the following warning when compiled with
-frecord-gcc-switches:

WARNING: mod.o (.GCC.command.line): unexpected non-allocatable section.

13 years agoDo CFLAGS check before strip for bug #395877.
Zac Medico [Sat, 24 Dec 2011 09:07:39 +0000 (01:07 -0800)]
Do CFLAGS check before strip for bug #395877.

13 years agoFix a typo in a doc string.
Arfrever Frehtes Taifersar Arahesis [Sat, 24 Dec 2011 01:28:50 +0000 (02:28 +0100)]
Fix a typo in a doc string.

13 years agoAbstractPollTask: note PipeReaderArrayTestCase v2.2.0_alpha82
Zac Medico [Fri, 23 Dec 2011 18:07:35 +0000 (10:07 -0800)]
AbstractPollTask: note PipeReaderArrayTestCase

13 years agodepgraph.py: remove unused variables
Zac Medico [Fri, 23 Dec 2011 10:15:46 +0000 (02:15 -0800)]
depgraph.py: remove unused variables

13 years agoQA_FLAGS_IGNORED: include QA_PREBUILT
Zac Medico [Fri, 23 Dec 2011 00:26:56 +0000 (16:26 -0800)]
QA_FLAGS_IGNORED: include QA_PREBUILT

Also, QA_DT_HASH doesn't need to include QA_PREBUILT anymore, since
it's merged with QA_FLAGS_IGNORED.

13 years agoFix description of QA_FLAGS_IGNORED.
Arfrever Frehtes Taifersar Arahesis [Thu, 22 Dec 2011 23:56:37 +0000 (00:56 +0100)]
Fix description of QA_FLAGS_IGNORED.

13 years agoShare variables for CFLAGS and LDFLAGS checks.
Zac Medico [Thu, 22 Dec 2011 23:42:06 +0000 (15:42 -0800)]
Share variables for CFLAGS and LDFLAGS checks.

The rationale is that any exceptions to either of these checks will
probably apply to both checks. So, QA_CFLAGS_IGNORED and QA_DT_HASH
are merged into QA_FLAGS_IGNORED, and QA_STRICT_CFLAGS_IGNORED and
QA_STRICT_DT_HASH are merged into QA_STRICT_FLAGS_IGNORED.

13 years agoebuild-helpers/new*: QA warn for extra args
Zac Medico [Thu, 22 Dec 2011 22:15:43 +0000 (14:15 -0800)]
ebuild-helpers/new*: QA warn for extra args

13 years ago_pty.py: remove unused _tested_pty variable
Zac Medico [Thu, 22 Dec 2011 21:36:40 +0000 (13:36 -0800)]
_pty.py: remove unused _tested_pty variable

13 years ago_pty.py: remove _test_pty_eof()
Zac Medico [Thu, 22 Dec 2011 21:34:17 +0000 (13:34 -0800)]
_pty.py: remove _test_pty_eof()

If array.fromfile() is not used, then _test_pty_eof() is useless.
This function was for runtime detection of python issue 5380:

   http://bugs.python.org/issue5380

However, array.fromfile() use has since been abandoned due to
bugs that exist in all known versions of Python (including Python
2.7 and Python 3.2). See PipeReaderArrayTestCase, for example.

13 years agoconfig.setcpv(): use dbapi._aux_cache_keys
Zac Medico [Thu, 22 Dec 2011 20:06:45 +0000 (12:06 -0800)]
config.setcpv(): use dbapi._aux_cache_keys

This helps to avoid triggering the environment.bz2 extraction in
vardbapi.aux_get().

13 years ago_aux_env_search: decode unicode more
Zac Medico [Thu, 22 Dec 2011 19:43:11 +0000 (11:43 -0800)]
_aux_env_search: decode unicode more

13 years agofilter_readonly_variables: refactor binpkg logic
Zac Medico [Thu, 22 Dec 2011 19:39:32 +0000 (11:39 -0800)]
filter_readonly_variables: refactor binpkg logic

13 years agofetch: don't apply permissions to symlinks
Zac Medico [Thu, 22 Dec 2011 19:10:18 +0000 (11:10 -0800)]
fetch: don't apply permissions to symlinks

We don't want to modify anything outside of the primary DISTDIR,
and symlinks typically point to PORTAGE_RO_DISTDIRS. This will
fix bug #395705.

13 years agofilter_readonly_variables: don't trust binpkg var
Zac Medico [Thu, 22 Dec 2011 05:43:51 +0000 (21:43 -0800)]
filter_readonly_variables: don't trust binpkg var

13 years agomake.globals: don't define TMPDIR with EPREFIX
Zac Medico [Thu, 22 Dec 2011 04:29:51 +0000 (20:29 -0800)]
make.globals: don't define TMPDIR with EPREFIX

Same reason as commit e1c6bba8c26525cca498894237c6421f86c98dfb.

13 years agomake.globals: don't define PORTDIR with EPREFIX
Zac Medico [Thu, 22 Dec 2011 04:22:18 +0000 (20:22 -0800)]
make.globals: don't define PORTDIR with EPREFIX

We want make.globals defaults to evaluate the same, regardless of
the current prefix that we're using it for (bug #395633).

13 years agofilter_readonly_variables: preserve binpkg vars
Zac Medico [Thu, 22 Dec 2011 04:06:36 +0000 (20:06 -0800)]
filter_readonly_variables: preserve binpkg vars

13 years agosearch.py: use _aux_cache_keys more
Zac Medico [Thu, 22 Dec 2011 00:44:37 +0000 (16:44 -0800)]
search.py: use _aux_cache_keys more

This helps to avoid triggering the environment.bz2 extraction in
vardbapi.aux_get().

13 years agovardbapi._aux_get: unicode EAPI key
Zac Medico [Thu, 22 Dec 2011 00:32:48 +0000 (16:32 -0800)]
vardbapi._aux_get: unicode EAPI key

13 years agovardbapi._aux_get: search environment in one pass
Zac Medico [Thu, 22 Dec 2011 00:29:30 +0000 (16:29 -0800)]
vardbapi._aux_get: search environment in one pass

13 years agovardbapi._aux_get: account for _aux_cache_keys_re
Zac Medico [Wed, 21 Dec 2011 23:16:13 +0000 (15:16 -0800)]
vardbapi._aux_get: account for _aux_cache_keys_re

13 years agovardbapi.aux_get: search environment, bug 395463
Zac Medico [Wed, 21 Dec 2011 22:58:41 +0000 (14:58 -0800)]
vardbapi.aux_get: search environment, bug 395463

13 years agocnf/make.conf: fix ia64 and s390 diffs
Zac Medico [Wed, 21 Dec 2011 21:45:24 +0000 (13:45 -0800)]
cnf/make.conf: fix ia64 and s390 diffs

13 years agoUse *FLAGS for CFLAGS ignorance checks.
Zac Medico [Wed, 21 Dec 2011 21:28:47 +0000 (13:28 -0800)]
Use *FLAGS for CFLAGS ignorance checks.

Current *FLAGS variables include CFLAGS, CXXFLAGS, FFLAGS, and FCFLAGS.
Not that this check is only enabled if every one of these variables
contains -frecord-gcc-switches, since otherwise the check could result
in false positive results.

13 years agodata.py: stat EROOT for PORTAGE_GRPNAME/USERNAME
Zac Medico [Wed, 21 Dec 2011 20:55:56 +0000 (12:55 -0800)]
data.py: stat EROOT for PORTAGE_GRPNAME/USERNAME

The config class has equivalent code, but we also need to do it here if
_disable_legacy_globals() has been called.

13 years agos/QA_STRICT_DT_SWITCHES/QA_STRICT_CFLAGS_IGNORED/
Zac Medico [Wed, 21 Dec 2011 20:07:37 +0000 (12:07 -0800)]
s/QA_STRICT_DT_SWITCHES/QA_STRICT_CFLAGS_IGNORED/

13 years agos/QA_DT_SWITCHES/QA_CFLAGS_IGNORED/
Zac Medico [Wed, 21 Dec 2011 20:03:45 +0000 (12:03 -0800)]
s/QA_DT_SWITCHES/QA_CFLAGS_IGNORED/

13 years ago--ask is fine for --depclean as well.
Michał Górny [Sun, 23 Oct 2011 09:16:15 +0000 (11:16 +0200)]
--ask is fine for --depclean as well.

13 years agoinstall_qa_check: more RESTRICT=binchecks
Zac Medico [Wed, 21 Dec 2011 19:36:31 +0000 (11:36 -0800)]
install_qa_check: more RESTRICT=binchecks

13 years agoStrip .GCC.command.line from output files as well.
Michał Górny [Wed, 21 Dec 2011 16:20:38 +0000 (17:20 +0100)]
Strip .GCC.command.line from output files as well.

13 years agoSupport checking for ignored CFLAGS using -frecord-gcc-switches.
Michał Górny [Wed, 21 Dec 2011 16:10:17 +0000 (17:10 +0100)]
Support checking for ignored CFLAGS using -frecord-gcc-switches.

13 years agohashed_path: implement __repr__
Zac Medico [Tue, 20 Dec 2011 23:26:54 +0000 (15:26 -0800)]
hashed_path: implement __repr__

13 years agoSilently allow missing /var/cache/edb/counter.
Zac Medico [Tue, 20 Dec 2011 20:26:48 +0000 (12:26 -0800)]
Silently allow missing /var/cache/edb/counter.

Files under /var/cache/ are allowed to disappear.

13 years agoAdd some EAPI 4-python docs.
Zac Medico [Tue, 20 Dec 2011 20:14:05 +0000 (12:14 -0800)]
Add some EAPI 4-python docs.

13 years agoForce COLUMNS > 0 for bug #394091.
Zac Medico [Tue, 20 Dec 2011 07:24:38 +0000 (23:24 -0800)]
Force COLUMNS > 0 for bug #394091.

13 years agoprepstrip: merge diff from prefix branch
Zac Medico [Tue, 20 Dec 2011 00:00:38 +0000 (16:00 -0800)]
prepstrip: merge diff from prefix branch

NOTE: Debug files must be installed in
${EPREFIX}/usr/lib/debug/${EPREFIX} (note that ${EPREFIX} occurs twice
in this path) in order for gdb's debug-file-directory lookup to work
correctly.

13 years agoDisplay EROOT when ROOT != "/".
Zac Medico [Mon, 19 Dec 2011 20:44:47 +0000 (12:44 -0800)]
Display EROOT when ROOT != "/".

Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, the Package.root
and RootConfig.root attributes refer to EROOT instead of ROOT.
Therefore, adjust display code so that EROOT is only displayed when
ROOT != "/".

13 years agoDisallow some functions in global scope in EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Mon, 19 Dec 2011 01:33:27 +0000 (02:33 +0100)]
Disallow some functions in global scope in EAPI="4-python".

13 years ago_run_pkg_pretend: doebuild_environment for clean
Zac Medico [Mon, 19 Dec 2011 00:12:57 +0000 (16:12 -0800)]
_run_pkg_pretend: doebuild_environment for clean

13 years agoset_colors(): suppress "/dev/tty: No such device"
Zac Medico [Sun, 18 Dec 2011 22:13:30 +0000 (14:13 -0800)]
set_colors(): suppress "/dev/tty: No such device"

13 years agoDefine portage.repository.config.RepoConfig.__repr__().
Arfrever Frehtes Taifersar Arahesis [Sun, 18 Dec 2011 21:55:58 +0000 (22:55 +0100)]
Define portage.repository.config.RepoConfig.__repr__().

13 years agotest_poll: separate classes for pipe vs. pty
Zac Medico [Sun, 18 Dec 2011 21:47:07 +0000 (13:47 -0800)]
test_poll: separate classes for pipe vs. pty

Also, generate appropriate SKIP message if pty is not acquired.

13 years agoPipeReaderArrayTestCase: sleep for fast computers
Zac Medico [Sun, 18 Dec 2011 21:28:17 +0000 (13:28 -0800)]
PipeReaderArrayTestCase: sleep for fast computers

Allows reliable triggering of the failure mode on fast computers.

13 years agoRepoConfigLoader._add_overlays(): Rename a variable and add a comment.
Arfrever Frehtes Taifersar Arahesis [Sun, 18 Dec 2011 21:25:07 +0000 (22:25 +0100)]
RepoConfigLoader._add_overlays(): Rename a variable and add a comment.

13 years agoOptimize RepoConfigLoader._add_overlays().
Arfrever Frehtes Taifersar Arahesis [Sun, 18 Dec 2011 21:14:00 +0000 (22:14 +0100)]
Optimize RepoConfigLoader._add_overlays().

13 years agoset_colors(): Redirect input to `stty size` to make it work after
Arfrever Frehtes Taifersar Arahesis [Sun, 18 Dec 2011 20:43:51 +0000 (21:43 +0100)]
set_colors(): Redirect input to `stty size` to make it work after
commit a3797a63a30579be3ba5418aad7e76fd520f9aee.

13 years agoenvironment: don't save COLUMNS
Zac Medico [Sun, 18 Dec 2011 20:18:38 +0000 (12:18 -0800)]
environment: don't save COLUMNS

13 years agowhitelist COLUMNS
Zac Medico [Sun, 18 Dec 2011 20:15:13 +0000 (12:15 -0800)]
whitelist COLUMNS

13 years agoRELEASE-NOTES: revert --quiet-build default
Zac Medico [Sun, 18 Dec 2011 18:19:09 +0000 (10:19 -0800)]
RELEASE-NOTES: revert --quiet-build default

See commit 028f0b0e223861826747b531824319520ef26ddd.

13 years agoParse layout.conf files in portage.repository.config.RepoConfig.__init__()
Arfrever Frehtes Taifersar Arahesis [Sun, 18 Dec 2011 03:01:31 +0000 (04:01 +0100)]
Parse layout.conf files in portage.repository.config.RepoConfig.__init__()
instead of portage.repository.config.RepoConfigLoader.__init__().

13 years agoFix some warnings found by pylint.
Arfrever Frehtes Taifersar Arahesis [Sun, 18 Dec 2011 02:06:38 +0000 (03:06 +0100)]
Fix some warnings found by pylint.

13 years ago_show_unsatisfied_dep: avoid invalid, bug #394995
Zac Medico [Sat, 17 Dec 2011 19:32:59 +0000 (11:32 -0800)]
_show_unsatisfied_dep: avoid invalid, bug #394995

13 years agotests/emerge: PORTAGE_GRPNAME/USERNAME make.conf
Zac Medico [Fri, 16 Dec 2011 23:29:24 +0000 (15:29 -0800)]
tests/emerge: PORTAGE_GRPNAME/USERNAME make.conf

13 years ago_test_pty_eof: use os.read, not array.fromfile
Zac Medico [Fri, 16 Dec 2011 22:37:37 +0000 (14:37 -0800)]
_test_pty_eof: use os.read, not array.fromfile

We have abandoned array.fromfile() due to bugs that exist in all known
versions of Python (including Python 2.7 and Python 3.2). See
PipeReaderArrayTestCase, for example.

13 years agotest_poll: add note about unbuffered fdopen
Zac Medico [Fri, 16 Dec 2011 22:26:01 +0000 (14:26 -0800)]
test_poll: add note about unbuffered fdopen

13 years agotest_poll: fix array test
Zac Medico [Fri, 16 Dec 2011 21:56:03 +0000 (13:56 -0800)]
test_poll: fix array test

Since SpawnProcess no longer uses array, add conditional array support
to PipeReader and use that for tests.

13 years agoemerge.1: --changed-use/--selective interaction
Zac Medico [Fri, 16 Dec 2011 20:55:08 +0000 (12:55 -0800)]
emerge.1: --changed-use/--selective interaction

Also, swap all instances of --reinstall=changed-use with --changed-use.

13 years agoPipeReader: use AbstractPollTask._read_buf()
Zac Medico [Fri, 16 Dec 2011 19:56:01 +0000 (11:56 -0800)]
PipeReader: use AbstractPollTask._read_buf()

13 years agoSpawnProcess/AbstractPollTask: eliminate array
Zac Medico [Fri, 16 Dec 2011 19:32:39 +0000 (11:32 -0800)]
SpawnProcess/AbstractPollTask: eliminate array

Since commit 30d2d0a9db486c5a70848ad5d27b37a3ec48f271, we use os.read()
due to bugs in array.fromfile(). So, eliminate array usage entirely.

13 years agoSpawnProcess: remove obsolete fdopen
Zac Medico [Fri, 16 Dec 2011 19:18:20 +0000 (11:18 -0800)]
SpawnProcess: remove obsolete fdopen

Since commit 30d2d0a9db486c5a70848ad5d27b37a3ec48f271, we use os.read()
due to bugs in array.fromfile(), so there's no need to use fdopen.

13 years agoFix EIO handling for PollSelectAdapter.
Zac Medico [Fri, 16 Dec 2011 18:58:35 +0000 (10:58 -0800)]
Fix EIO handling for PollSelectAdapter.

In PipeReader and AbstractPollTask, we have to treat EIO as EOF, in
order to terminate the select loop at the correct time when using
PollSelectAdapter. This fixes a regression in EIO handling since
commits 915348ce34fc499ac295b8f0ffee9f0829803542 adn
30d2d0a9db486c5a70848ad5d27b37a3ec48f271.

13 years agoPtyEofFdopenUnBufferedTestCase: PyPy TODO
Zac Medico [Fri, 16 Dec 2011 03:23:38 +0000 (19:23 -0800)]
PtyEofFdopenUnBufferedTestCase: PyPy TODO

  https://bugs.pypy.org/issue956

13 years agodata.py: tweak getgrnam call for PyPy
Zac Medico [Fri, 16 Dec 2011 03:11:53 +0000 (19:11 -0800)]
data.py: tweak getgrnam call for PyPy

This makes it unnecessary to explicitly call portage.data._init() in
runTests, and fixes some other cases that trigger the same issue.

13 years agorunTests: initialize portage.data for PyPy
Zac Medico [Fri, 16 Dec 2011 02:41:45 +0000 (18:41 -0800)]
runTests: initialize portage.data for PyPy

13 years agoSpawnProcess: work around array.fromfile() bugs
Zac Medico [Fri, 16 Dec 2011 02:02:32 +0000 (18:02 -0800)]
SpawnProcess: work around array.fromfile() bugs

When I extended test_poll to test SpawnProcess array.fromfile() usage,
it exposed bugs in array.fromfile() that I couldn't find a way to
handle. So, use os.read() instead.

13 years agotest_poll: test different sizes, and pty too
Zac Medico [Thu, 15 Dec 2011 23:55:42 +0000 (15:55 -0800)]
test_poll: test different sizes, and pty too

13 years agoemerge.1: enumerate more --selective=n overrides
Zac Medico [Thu, 15 Dec 2011 18:49:00 +0000 (10:49 -0800)]
emerge.1: enumerate more --selective=n overrides

13 years agomake.conf.5: it's -> its
Zac Medico [Thu, 15 Dec 2011 18:04:47 +0000 (10:04 -0800)]
make.conf.5: it's -> its

13 years agoFix a typo in a comment. v2.2.0_alpha81
Arfrever Frehtes Taifersar Arahesis [Wed, 14 Dec 2011 20:13:54 +0000 (21:13 +0100)]
Fix a typo in a comment.

13 years agocreate_trees: pass __PORTAGE_TEST_HARDLINK_LOCKS
Zac Medico [Wed, 14 Dec 2011 17:54:22 +0000 (09:54 -0800)]
create_trees: pass __PORTAGE_TEST_HARDLINK_LOCKS

This allows testing of stage builds with __PORTAGE_TEST_HARDLINK_LOCKS
set in the environment, since __PORTAGE_TEST_HARDLINK_LOCKS needs to
propagate to childs processes for all ROOTs.

13 years agoFilter __PORTAGE_TEST_HARDLINK_LOCKS from env.
Zac Medico [Wed, 14 Dec 2011 09:42:56 +0000 (01:42 -0800)]
Filter __PORTAGE_TEST_HARDLINK_LOCKS from env.

13 years agotests/locks: save/restore global env state
Zac Medico [Wed, 14 Dec 2011 09:17:16 +0000 (01:17 -0800)]
tests/locks: save/restore global env state

This ensures that global __PORTAGE_TEST_HARDLINK_LOCKS overrides work
correctly for all tests.

13 years agohardlink_lockfile: preserve existing permissions
Zac Medico [Wed, 14 Dec 2011 09:11:07 +0000 (01:11 -0800)]
hardlink_lockfile: preserve existing permissions

13 years agolockfile: deprecate file object or fd parameters
Zac Medico [Wed, 14 Dec 2011 07:33:28 +0000 (23:33 -0800)]
lockfile: deprecate file object or fd parameters

Support for file object or integer file descriptor parameters is
deprecated due to ambiguity in whether or not it's safe to close
the file descriptor, making it prone to "Bad file descriptor" errors
or file descriptor leaks.

13 years agoemergelog: pass path to lockfile, not file object
Zac Medico [Wed, 14 Dec 2011 07:31:43 +0000 (23:31 -0800)]
emergelog: pass path to lockfile, not file object

13 years agoSpawnProcess: use /dev/null fd from subclass
Zac Medico [Wed, 14 Dec 2011 06:30:19 +0000 (22:30 -0800)]
SpawnProcess: use /dev/null fd from subclass

13 years agohardlink_lockfile: optimize away most link calls
Zac Medico [Wed, 14 Dec 2011 05:59:59 +0000 (21:59 -0800)]
hardlink_lockfile: optimize away most link calls

If fstat shows more than one hardlink, then it's extremely unlikely
that the following link call will result in a lock, so optimize away
the wasteful link call and sleep or raise TryAgain.

13 years agoebuild-ipc.py: return 2 when forked child crashes
Zac Medico [Wed, 14 Dec 2011 05:32:32 +0000 (21:32 -0800)]
ebuild-ipc.py: return 2 when forked child crashes

13 years agohardlink_is_mine: return False, never None
Zac Medico [Wed, 14 Dec 2011 05:26:17 +0000 (21:26 -0800)]
hardlink_is_mine: return False, never None

13 years agoemerge: disable --quiet-build by default
Zac Medico [Wed, 14 Dec 2011 04:47:22 +0000 (20:47 -0800)]
emerge: disable --quiet-build by default

This reverts the behavior change from commit
0cc174b6fc28feb26ea151d76f794e0ff2c2fa39, since Gentoo's council has
voted to revert it in their 20111213 meeting, as requested on the
gentoo-project mailing list:

http://archives.gentoo.org/gentoo-project/msg_4e282bb4e6ac2611de2a39171a803c48.xml

13 years agolocks.py: fix hardlink locks for bug #394195
Zac Medico [Wed, 14 Dec 2011 04:24:35 +0000 (20:24 -0800)]
locks.py: fix hardlink locks for bug #394195

This updates the hardlink locking code to support the non-blocking,
lockfile(wantnewlockfile=False), and lockfile(file_object) behaviors
which are used by portage code.

13 years agoebuils-ipc.py: _exit in finally block after fork
Zac Medico [Wed, 14 Dec 2011 04:06:10 +0000 (20:06 -0800)]
ebuils-ipc.py: _exit in finally block after fork

13 years agolocks.py: make hardlink lock files hidden
Zac Medico [Wed, 14 Dec 2011 02:02:23 +0000 (18:02 -0800)]
locks.py: make hardlink lock files hidden

This is for consistency with the behavior for normal lock files, since
commit ce44ea3e914098a52bc0d1d995e71661659e77ca (bug #142369).

13 years agoRepoConfigLoader: masters eclass override order
Zac Medico [Tue, 13 Dec 2011 22:19:05 +0000 (14:19 -0800)]
RepoConfigLoader: masters eclass override order

Only append the current repo to eclass_locations if it's not there
already. This allows masters to have more control over eclass override
order, which may be useful for scenarios in which there is a plan to
migrate eclasses to a master repo. Thanks to Brian Harring
<ferringb@gentoo.org) for suggesting this behavior.

13 years agoFifoIpcDaemon: use plain fd instead of fdopen
Zac Medico [Tue, 13 Dec 2011 20:01:23 +0000 (12:01 -0800)]
FifoIpcDaemon: use plain fd instead of fdopen

13 years agoAbstractEbuildProcess: interactive pkg_config
Zac Medico [Tue, 13 Dec 2011 18:35:19 +0000 (10:35 -0800)]
AbstractEbuildProcess: interactive pkg_config

13 years agoAbstractEbuildProcess: null in if not interactive
Zac Medico [Tue, 13 Dec 2011 17:27:38 +0000 (09:27 -0800)]
AbstractEbuildProcess: null in if not interactive

13 years agoconfig: use frozenset for _constant_keys lookup
Zac Medico [Tue, 13 Dec 2011 17:00:21 +0000 (09:00 -0800)]
config: use frozenset for _constant_keys lookup

13 years agoDon't nest sandbox in emerge/repoman tests.
Zac Medico [Sun, 11 Dec 2011 21:00:28 +0000 (13:00 -0800)]
Don't nest sandbox in emerge/repoman tests.

13 years agodata._init(): use 'portage' default in first call v2.2.0_alpha80
Zac Medico [Sun, 11 Dec 2011 08:15:16 +0000 (00:15 -0800)]
data._init(): use 'portage' default in first call

13 years agoload_emerge_config: change order of code back
Zac Medico [Sun, 11 Dec 2011 07:49:40 +0000 (23:49 -0800)]
load_emerge_config: change order of code back

A couple of recent commits touched this function, and code got moved
around unnecessarily.

13 years agoPORTAGE_OVERRIDE_EPREFIX: alphabetize vars
Zac Medico [Sun, 11 Dec 2011 07:24:12 +0000 (23:24 -0800)]
PORTAGE_OVERRIDE_EPREFIX: alphabetize vars

13 years agoRemove _SANDBOX_COMPAT_LEVEL.
Zac Medico [Sun, 11 Dec 2011 06:51:56 +0000 (22:51 -0800)]
Remove _SANDBOX_COMPAT_LEVEL.