portage.git
12 years ago_eapi0_src_test: remove redundant FEATURES checks
Zac Medico [Tue, 17 Jan 2012 15:30:11 +0000 (07:30 -0800)]
_eapi0_src_test: remove redundant FEATURES checks

12 years agoSupport repository dependencies in EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Sun, 15 Jan 2012 23:53:04 +0000 (00:53 +0100)]
Support repository dependencies in EAPI="4-python".

12 years agoportageq metadata: Support repository dependencies.
Arfrever Frehtes Taifersar Arahesis [Sun, 15 Jan 2012 21:44:17 +0000 (22:44 +0100)]
portageq metadata: Support repository dependencies.

12 years agocreate_world_atom: multi-repo portdbapi aux_get
Zac Medico [Sun, 15 Jan 2012 17:59:37 +0000 (09:59 -0800)]
create_world_atom: multi-repo portdbapi aux_get

This handles a KeyError raised from portdbapi.aux_get() when one of the
repositories has a corrupt ebuild.

12 years agoadd support for compressing debug sections to save space
Mike Frysinger [Fri, 13 Jan 2012 19:34:58 +0000 (14:34 -0500)]
add support for compressing debug sections to save space

Since binutils/gdb can compress the .debug* sections with zlib into
.zdebug*, we should be able to save quite a bit of space -- on my
system, I saw /usr/lib/debug/ go from ~20GB to ~7.5GB.

This requires binutils/gdb to be built with USE=zlib which is why
this defaults to off.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoprepstrip: add writable workaround for everyone
Mike Frysinger [Fri, 13 Jan 2012 19:29:06 +0000 (14:29 -0500)]
prepstrip: add writable workaround for everyone

The writable issue shows up when using `ebuild` as non-root users
in non-prefix setups.  So always do it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoegencache: escape newline instead of lstrip
Zac Medico [Sat, 14 Jan 2012 17:10:10 +0000 (09:10 -0800)]
egencache: escape newline instead of lstrip

12 years agoegencache: use textwrap.dedent
Zac Medico [Sat, 14 Jan 2012 17:01:38 +0000 (09:01 -0800)]
egencache: use textwrap.dedent

12 years agoApply INSTALL_MASK prior to collision-protect.
Zac Medico [Sat, 14 Jan 2012 15:29:08 +0000 (07:29 -0800)]
Apply INSTALL_MASK prior to collision-protect.

It may be useful to avoid collisions in some scenarios.

12 years agodyn_install: skip copy if possible
Zac Medico [Fri, 13 Jan 2012 16:21:31 +0000 (08:21 -0800)]
dyn_install: skip copy if possible

Also, fix EPREFIX breakage since commit
5d5364e982820fda56db5a40884e1c5f8e784b96.

12 years agodyn_package: portable cp args by Mike Frysinger
Zac Medico [Fri, 13 Jan 2012 16:06:20 +0000 (08:06 -0800)]
dyn_package: portable cp args by Mike Frysinger

12 years agodyn_package: remove stale PROOT if necessary
Zac Medico [Fri, 13 Jan 2012 14:14:12 +0000 (06:14 -0800)]
dyn_package: remove stale PROOT if necessary

12 years agoModify PKG_INSTALL_MASK to apply only to binpkg creation.
Brian Harring [Fri, 13 Jan 2012 12:18:48 +0000 (04:18 -0800)]
Modify PKG_INSTALL_MASK to apply only to binpkg creation.

Primarily useful for certain cases where cros needs to suppress debug
symbols being included for specific pkgs, and/or suppressing binpkgs
from carrying sensitive configuration data, but we still wish for it
to be installed.

BUG=chromium-os:25060
TEST=set PKG_INSTALL_MASK, check ${D} vs what's in the binpkg

Change-Id: I0f81a9e394b7b0b64dbbcbe8d189876cb8421dfa

12 years agotest_config: fix AttributeError: 'str'
Zac Medico [Fri, 13 Jan 2012 02:46:24 +0000 (18:46 -0800)]
test_config: fix AttributeError: 'str'

12 years agodepgraph: account for unevaluated_atom in cache
Zac Medico [Thu, 12 Jan 2012 16:59:40 +0000 (08:59 -0800)]
depgraph: account for unevaluated_atom in cache

12 years agodepgraph: unevaluated parent atom in debug output
Zac Medico [Thu, 12 Jan 2012 16:32:53 +0000 (08:32 -0800)]
depgraph: unevaluated parent atom in debug output

12 years agoAdd --human-readable to rsync opts for bug 269410
Zac Medico [Thu, 12 Jan 2012 11:26:13 +0000 (03:26 -0800)]
Add --human-readable to rsync opts for bug 269410

12 years agoread_corresponding_eapi_file: unicode, bug 398587
Zac Medico [Thu, 12 Jan 2012 01:34:49 +0000 (17:34 -0800)]
read_corresponding_eapi_file: unicode, bug 398587

12 years agoquickpkg: add leading ./ to names for bug 398543
Zac Medico [Wed, 11 Jan 2012 16:02:26 +0000 (08:02 -0800)]
quickpkg: add leading ./ to names for bug 398543

12 years agoDEVELOPING: add "Dependencies" section
Zac Medico [Wed, 11 Jan 2012 12:38:07 +0000 (04:38 -0800)]
DEVELOPING: add "Dependencies" section

12 years agoDEVELOPING: add "Python Version" section
Zac Medico [Wed, 11 Jan 2012 12:28:56 +0000 (04:28 -0800)]
DEVELOPING: add "Python Version" section

12 years agoDEVELOPING: remove section about string module
Zac Medico [Wed, 11 Jan 2012 12:18:20 +0000 (04:18 -0800)]
DEVELOPING: remove section about string module

The module no longer exists since Python 2.7, so by now it should be
obvious that it's obsolete.

12 years agoportage.debug.trace_handler.__init__(): Fix compatibility with Python 3.
Arfrever Frehtes Taifersar Arahesis [Wed, 11 Jan 2012 03:57:23 +0000 (04:57 +0100)]
portage.debug.trace_handler.__init__(): Fix compatibility with Python 3.

12 years agoExtendedAtomDict: fix for python-trace
Zac Medico [Tue, 10 Jan 2012 18:41:29 +0000 (10:41 -0800)]
ExtendedAtomDict: fix for python-trace

12 years agoenv_update: ldsoconf_update flag not reliable
Zac Medico [Tue, 10 Jan 2012 00:37:28 +0000 (16:37 -0800)]
env_update: ldsoconf_update flag not reliable

The ldsoconf_update flag was not a reliable indicator of whether
or not ldconfig needs to be called, since ld.so.conf can have lines
like "include ld.so.conf.d/*.conf" that pull in outside content which
may have changed without being detected.

12 years agoUpdate documentation of EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Sun, 8 Jan 2012 06:43:06 +0000 (07:43 +0100)]
Update documentation of EAPI="4-python".

12 years agoSet REPOSITORY variable in ebuild environment in EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Sun, 8 Jan 2012 06:19:06 +0000 (07:19 +0100)]
Set REPOSITORY variable in ebuild environment in EAPI="4-python".

12 years agoFix location of a comment.
Arfrever Frehtes Taifersar Arahesis [Sun, 8 Jan 2012 06:06:33 +0000 (07:06 +0100)]
Fix location of a comment.

12 years agoSet portage-1 as default profile format for repositories using EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Sun, 8 Jan 2012 03:06:31 +0000 (04:06 +0100)]
Set portage-1 as default profile format for repositories using EAPI="4-python".

12 years agoSet eapi attribute on portage.repository.config.RepoConfig objects.
Arfrever Frehtes Taifersar Arahesis [Sun, 8 Jan 2012 03:00:07 +0000 (04:00 +0100)]
Set eapi attribute on portage.repository.config.RepoConfig objects.

12 years agogetlibpaths: regex for include
Zac Medico [Tue, 3 Jan 2012 21:59:25 +0000 (13:59 -0800)]
getlibpaths: regex for include

12 years agoSupport include directives in ld.so.conf.
Michał Górny [Tue, 3 Jan 2012 21:28:47 +0000 (22:28 +0100)]
Support include directives in ld.so.conf.

12 years agoebuild.5: fix REQUIRED_USE sample for bug #397415
Gavin Pryke [Mon, 2 Jan 2012 23:01:30 +0000 (15:01 -0800)]
ebuild.5: fix REQUIRED_USE sample for bug #397415

12 years agorepoman: remove ebuild.allmasked check
Zac Medico [Mon, 2 Jan 2012 07:48:07 +0000 (23:48 -0800)]
repoman: remove ebuild.allmasked check

This check it pretty useless, since there packages don't necessarily
need to have any stable keywords, and nobody relies on this check to
decide when to keyword something. Also, remove references to the
ebuild.nostable which doesn't seem to exist anymore.

12 years agorepoman: discard xmatch caches from previous pkgs
Zac Medico [Mon, 2 Jan 2012 07:34:30 +0000 (23:34 -0800)]
repoman: discard xmatch caches from previous pkgs

This should help prevent repoman from consuming too much memory when
checking multiple packages or the whole tree.

12 years agoRepoConfigLoader: don't mix duplicate repo config v2.2.0_alpha84
Zac Medico [Wed, 28 Dec 2011 08:15:58 +0000 (00:15 -0800)]
RepoConfigLoader: don't mix duplicate repo config

RepoConfig.update() was being used to copy attributes from one instance
to another, possibly leading to inappropriate mixing of layout.conf
attributes from separate copies of the same repo. This is common with
repoman, for example, when temporarily overriding an rsync repo with
another copy of the same repo from CVS.

12 years agoRepoConfig.update(): copy more attributes
Zac Medico [Wed, 28 Dec 2011 07:13:41 +0000 (23:13 -0800)]
RepoConfig.update(): copy more attributes

This fixes a regression since commit
10246cd535f909dda8bd05de617c32d2b8a56b4a which caused layout.conf
settings such as thin-manifests to be ignored for repositories that
had repos.conf settings that did not specify the repository location.
In order to trigger this case, ResolverPlayground has been modified to
omit the location of each repository in the repos.conf file that it
generates.

13 years agorepoman: later --ask prompt for bug #395995
Zac Medico [Sun, 25 Dec 2011 20:05:08 +0000 (12:05 -0800)]
repoman: later --ask prompt for bug #395995

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