Zac Medico [Sun, 26 Aug 2012 22:31:01 +0000 (15:31 -0700)]
_get_eapi_attrs: handle unsupported eapi as None
Zac Medico [Sun, 26 Aug 2012 21:45:05 +0000 (14:45 -0700)]
validate_desktop_entry: filter more kde noise
This will fix bug #432862.
Ulrich Müller [Sat, 25 Aug 2012 21:21:12 +0000 (23:21 +0200)]
Whitespace.
Zac Medico [Sat, 25 Aug 2012 20:40:10 +0000 (13:40 -0700)]
KeywordsManager: fix isStable comment
Ulrich Müller [Sat, 25 Aug 2012 20:00:51 +0000 (13:00 -0700)]
EAPI 5: new* commands can read from stdin, bug 263565.
Zac Medico [Sat, 25 Aug 2012 19:45:21 +0000 (12:45 -0700)]
new*: symlink to generic newins implementation
Zac Medico [Sat, 25 Aug 2012 19:42:28 +0000 (12:42 -0700)]
newins: become generic so new* can be symlinks
Zac Medico [Sat, 25 Aug 2012 04:11:04 +0000 (21:11 -0700)]
EAPI 5 stable use.mask/force for bug #431078
Zac Medico [Sat, 25 Aug 2012 04:08:47 +0000 (21:08 -0700)]
_pkg_str: pass in config + metadata with KEYWORDS
This will be needed in order to support stable use.mask/force for
bug #431078.
Zac Medico [Thu, 23 Aug 2012 22:29:35 +0000 (15:29 -0700)]
prepstrip: avoid debugedit/strip interference
This will fix bug #421099.
Zac Medico [Thu, 23 Aug 2012 17:10:38 +0000 (10:10 -0700)]
config: _eapi_cache.clear() after setcpv
Zac Medico [Thu, 23 Aug 2012 16:55:19 +0000 (09:55 -0700)]
read_corresponding_eapi_file: cache results
Zac Medico [Wed, 22 Aug 2012 21:12:31 +0000 (14:12 -0700)]
Optimize sys.std* flush code.
Zac Medico [Wed, 22 Aug 2012 20:32:28 +0000 (13:32 -0700)]
make.conf.5: s/Hash functions/Hash function/
Zac Medico [Wed, 22 Aug 2012 19:46:04 +0000 (12:46 -0700)]
Use sys.__std*.fileno() in case of overrides.
This fixes AttributeError exceptions for API consumers that override
sys.std* streams pseudo-file objects.
Zac Medico [Wed, 22 Aug 2012 16:23:18 +0000 (09:23 -0700)]
EventLoop: handle EINTR IOError for epoll
Zac Medico [Wed, 22 Aug 2012 05:38:57 +0000 (22:38 -0700)]
EventLoop: use epoll when available
This will fix bug #432024.
Zac Medico [Wed, 22 Aug 2012 04:01:24 +0000 (21:01 -0700)]
_apply_hash_filter: make hash_filter simpler
Now any callable object will work, which might be helpful for
consumers of the Manifest.checkFileHashes() method.
Zac Medico [Tue, 21 Aug 2012 20:22:19 +0000 (13:22 -0700)]
Implement PORTAGE_CHECKSUM_FILTER for bug #432170
Zac Medico [Tue, 21 Aug 2012 03:29:04 +0000 (20:29 -0700)]
PollScheduler: use timeout for loadavg checks
This ensures that the code from commit
fe03b5fd790fc09bd6594c55bb174e80aaac1e5a behaves correctly even when
there are no poll events arriving for a long time (which might happen
if the running builds don't produce output for a long time).
Zac Medico [Mon, 20 Aug 2012 20:37:53 +0000 (13:37 -0700)]
Scheduler: only use poll timeout when needed
This avoids wasteful CPU consumption, as reported in bug #432024.
Dave Kemper [Sun, 19 Aug 2012 21:33:44 +0000 (14:33 -0700)]
make.conf.5: warn about PORTAGE_TMPDIR in PORTDIR
This will fix bug #392565.
Zac Medico [Sun, 19 Aug 2012 05:44:35 +0000 (22:44 -0700)]
emerge-delta-webrsync: tweak "recompressing" msg
FEATURES=webrsync-gpg forces it to recompress in the foreground.
Zac Medico [Sun, 19 Aug 2012 05:21:40 +0000 (22:21 -0700)]
emerge-delta-webrsync: improve date calculations
This borrows some code from emerge-webrsync, and will fix bug #153513.
Zac Medico [Sun, 19 Aug 2012 04:03:11 +0000 (21:03 -0700)]
emerge-webrsync: fix date usage for BSD
Zac Medico [Sat, 18 Aug 2012 23:59:41 +0000 (16:59 -0700)]
emerge-webrsync: use ${PORTAGE_TMPDIR}/portage
For consistency with commit
83e677766650e73071813c0d46547647e5f66029.
Zac Medico [Sat, 18 Aug 2012 23:20:06 +0000 (16:20 -0700)]
emerge-*webrsync: use ${PORTAGE_BIN_PATH}/emerge
Zac Medico [Sat, 18 Aug 2012 23:12:33 +0000 (16:12 -0700)]
emerge-*webrsync: fix post_sync for prefix
Zac Medico [Sat, 18 Aug 2012 22:50:53 +0000 (15:50 -0700)]
emerge-delta-webrsync: mktemp in PORTAGE_TMPDIR
This will fix bug #198362.
Zac Medico [Sat, 18 Aug 2012 20:51:28 +0000 (13:51 -0700)]
emerge-delta-webrsync: fix make.globals path
Zac Medico [Sat, 18 Aug 2012 20:32:00 +0000 (13:32 -0700)]
emerge-delta-webrsync: rm -f for non-interactive
This prevents interactive mode as reported in bug #176008.
Zac Medico [Sat, 18 Aug 2012 01:44:59 +0000 (18:44 -0700)]
emerge-delta-webrsync: normalize fetch URI
This will fix bug #124072.
Zac Medico [Sat, 18 Aug 2012 01:27:58 +0000 (18:27 -0700)]
emerge-delta-webrsync: PORTAGE_RSYNC_OPTS
Zac Medico [Sat, 18 Aug 2012 01:12:41 +0000 (18:12 -0700)]
emerge-delta-webrsync: add -q/--quiet option
Zac Medico [Sat, 18 Aug 2012 01:07:15 +0000 (18:07 -0700)]
emerge-delta-webrsync: check write permission
This will fix bug #176008.
Zac Medico [Sat, 18 Aug 2012 00:57:19 +0000 (17:57 -0700)]
emerge-delta-webrsync: handle FEATURES=usersync
Zac Medico [Sat, 18 Aug 2012 00:47:57 +0000 (17:47 -0700)]
emerge-delta-webrsync: support gpg verification
This will fix bug #286373.
BUG: Signature verification will fail if the local bzip2 program does
not produce output that is perfectly identical to the bzip2 program
used to compress the signed tar file.
Alexey Solovyev [Sat, 18 Aug 2012 00:32:52 +0000 (17:32 -0700)]
emerge-delta-webrsync: remove umd5sum
This will fix bug #189084.
Zac Medico [Sat, 18 Aug 2012 00:27:18 +0000 (17:27 -0700)]
emerge-delta-webrsync: call portageq for config
Zac Medico [Fri, 17 Aug 2012 23:52:45 +0000 (16:52 -0700)]
mkrelease.sh: include new misc dir
Zac Medico [Fri, 17 Aug 2012 23:48:22 +0000 (16:48 -0700)]
BashSyntaxTestCase: include new misc dir
Zac Medico [Fri, 17 Aug 2012 23:38:40 +0000 (16:38 -0700)]
emerge-delta-webrsync: import version 3.5.1-r3
Zac Medico [Fri, 17 Aug 2012 21:35:00 +0000 (14:35 -0700)]
metadata.dtd: update to latest
Mike Frysinger [Thu, 16 Aug 2012 21:46:58 +0000 (17:46 -0400)]
egencache: add a standard -j flags for --jobs
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ulrich Müller [Wed, 15 Aug 2012 20:50:29 +0000 (22:50 +0200)]
Remove tests for deprecated 3_pre2 EAPI.
Jan Pobrislo [Wed, 15 Aug 2012 03:03:23 +0000 (20:03 -0700)]
emerge-webrsync: PORTAGE_RSYNC_OPTS, bug #364105
Zac Medico [Wed, 15 Aug 2012 02:55:19 +0000 (19:55 -0700)]
emerge-webrsync: preserve ownership for usersync
Zac Medico [Wed, 15 Aug 2012 02:00:35 +0000 (19:00 -0700)]
emerge-webrsync: check permission, bug #142202
Zac Medico [Wed, 15 Aug 2012 01:03:22 +0000 (18:03 -0700)]
emerge-webrsync: add -k/--keep option
Zac Medico [Tue, 14 Aug 2012 04:07:42 +0000 (21:07 -0700)]
emerge-webrsync: adjust for 00:45 snapshots
The time changed from 01:45 to 00:45 some time ago.
Zac Medico [Sat, 11 Aug 2012 22:52:30 +0000 (15:52 -0700)]
emaint logs: simplify error output handling
Zac Medico [Sat, 11 Aug 2012 21:36:34 +0000 (14:36 -0700)]
emaint: cleanup TaskHandler isatty logic
Nico Roeser [Sat, 11 Aug 2012 19:11:06 +0000 (12:11 -0700)]
installsources: fix file permissions, bug #430962
Zac Medico [Thu, 9 Aug 2012 20:34:44 +0000 (13:34 -0700)]
emaint binhost: support compress-index
Zac Medico [Thu, 9 Aug 2012 01:59:21 +0000 (18:59 -0700)]
repoman: remove IUSE.undefined check
This was suggested in the "Don't require assignment of empty variables
in ebuilds?" thread on the gentoo-dev mailing list:
http://thread.gmane.org/gmane.linux.gentoo.devel/78806
Zac Medico [Wed, 8 Aug 2012 20:34:15 +0000 (13:34 -0700)]
bintree.inject(): write Packages.gz atomically
W-Mark Kubacki [Wed, 8 Aug 2012 16:49:36 +0000 (18:49 +0200)]
Portage writes a compressed copy of 'Packages' index file.
This behaviour is enabled by FEATURES="compress-index". The
resulting file is 'Packages.gz' and its modification time will
match that of 'Packages'.
Web-servers use that copy to avoid repeated on-the-fly compression.
In order to re-use 'atomic_ofstream' usage of 'codecs.zlib_codec'
has been considered and discarded, because 'GzipFile' yields
smaller files. (According to Mark's tests 62% smaller.)
Example usage, Nginx:
location =/Packages {
gzip_static on;
default_type text/plain;
}
Apache httpd (use with caution):
RewriteRule ^(.*)/Packages$ $1/Packages.gz [T=text/plain,E=GZIP:gzip,L]
<FilesMatch "Packages\.gz$">
Header set Content-Encoding gzip
</FilesMatch>
Zac Medico [Tue, 7 Aug 2012 21:04:34 +0000 (14:04 -0700)]
Revert "econf: add --disable-silent-rules, bug #379497#c6"
This reverts commit
1cc39de72ac5311db748341ef9183586556719d9.
It may be unsafe to call configure --help with some configure scripts,
as noted in bug #379497, comment #34.
Zac Medico [Sun, 5 Aug 2012 20:34:55 +0000 (13:34 -0700)]
man/portage.5: note GLEP 37 virtuals, bug #429978
Samuli Suominen [Sun, 5 Aug 2012 20:10:26 +0000 (13:10 -0700)]
repoman: libusb virtual.suspect, bug #417123
Zac Medico [Sun, 5 Aug 2012 08:13:03 +0000 (01:13 -0700)]
elog: enable save_summary:qa by default
QA warnings still won't be echoed by default, but they will be saved in
summary.log.
Zac Medico [Sat, 4 Aug 2012 21:18:38 +0000 (14:18 -0700)]
econf: add --disable-silent-rules, bug #379497#c6
Zac Medico [Sat, 4 Aug 2012 19:26:25 +0000 (12:26 -0700)]
WhirlpoolAdd: raise TypeError if not bytes
Zac Medico [Thu, 2 Aug 2012 20:22:02 +0000 (13:22 -0700)]
vardbapi: optimize pickle load for Python >=3.2
Zac Medico [Thu, 2 Aug 2012 19:55:09 +0000 (12:55 -0700)]
parse_desktop_entry: fix python3 bug #429544
Zac Medico [Thu, 2 Aug 2012 02:28:01 +0000 (19:28 -0700)]
_urlopen: fix python2 http password breakage
This broke in commit
e06cb6d66db37ac7ab77acf65038b1f770c13c96 since
CompressedResponseProcessor did not include password auth support.
BUG: The if_modified_since parameter appears to be ignored when using
http password authentication.
W-Mark Kubacki [Wed, 1 Aug 2012 19:12:24 +0000 (21:12 +0200)]
Fix index file's mtime, which can differ from TIMESTAMP.
This enables Portage to reliably query for remote indices with
HTTP-header If-Modified-Since.
Without this patch mtime is greater than TIMESTAMP for large
indices and slow storages - because writing a large file takes
time. If the difference spans a second (TIMESTAMP 08:00:00, mtime
08:00:01), then Portage will always fetch the remote index because
it will appear being modified (mtime is used there) after the copy
has been made (local copy's TIMESTAMP is used here).
W-Mark Kubacki [Wed, 1 Aug 2012 18:36:31 +0000 (20:36 +0200)]
Add support for HTTP compression (bzip2, gzip and deflate).
W-Mark Kubacki [Wed, 1 Aug 2012 17:49:34 +0000 (19:49 +0200)]
Use If-Modified-Since HTTP-header and avoid downloading a remote index if the local copy is recent enough.
Arfrever Frehtes Taifersar Arahesis [Tue, 31 Jul 2012 23:11:27 +0000 (01:11 +0200)]
Use nanosecond precision in chpathtool when using Python >=3.3.
Arfrever Frehtes Taifersar Arahesis [Tue, 31 Jul 2012 23:07:31 +0000 (01:07 +0200)]
Use nanosecond precision in cache for category directory mtimes
and cache for cp_list results when using Python >=3.3.
Arfrever Frehtes Taifersar Arahesis [Tue, 31 Jul 2012 23:02:48 +0000 (01:02 +0200)]
Use nanosecond precision in portage.util.movefile.movefile().
Zac Medico [Tue, 31 Jul 2012 22:01:43 +0000 (15:01 -0700)]
Check for desktop-file-validate binary.
Michael Palimaka [Tue, 31 Jul 2012 10:18:01 +0000 (03:18 -0700)]
Validate desktop entries after src_install.
Zac Medico [Fri, 27 Jul 2012 22:46:47 +0000 (15:46 -0700)]
get_term_size: handle missing stty command
Zac Medico [Fri, 27 Jul 2012 22:40:16 +0000 (15:40 -0700)]
get_term_size: pass fd to stty
Zac Medico [Fri, 27 Jul 2012 22:22:47 +0000 (15:22 -0700)]
get_term_size: pass fd to curses.setupterm()
Zac Medico [Fri, 27 Jul 2012 22:09:58 +0000 (15:09 -0700)]
get_term_size: handle temporary stdout overrides
Zac Medico [Fri, 27 Jul 2012 02:42:51 +0000 (19:42 -0700)]
_selinux/spawn_wrapper: setexec *after* fork
This avoids any interference with concurrent threads in the calling
process.
Zac Medico [Tue, 24 Jul 2012 18:34:39 +0000 (11:34 -0700)]
Makefile: drop /etc/make.globals sym, bug #427862
Any consumers of /etc/make.globals can be fixed to use
/usr/share/portage/config/make.globals directly.
Zac Medico [Mon, 23 Jul 2012 17:45:28 +0000 (10:45 -0700)]
make.conf: clarify -frecord-gcc-switches
Corentin Chary [Mon, 23 Jul 2012 07:46:26 +0000 (09:46 +0200)]
output: allow to use stderr in TermProgressBar
Brian Dolbec [Mon, 23 Jul 2012 00:50:39 +0000 (17:50 -0700)]
emaint: split into separate modules
Zac Medico [Sun, 22 Jul 2012 22:05:53 +0000 (15:05 -0700)]
TermProgressBar: fix broken ref to "image" var
Broken since commit
0623e44a500125064525413404948af9179747a9.
Federico "fox" Scrinzi [Sun, 22 Jul 2012 21:52:01 +0000 (14:52 -0700)]
get_term_size: check if sys.stderr.isatty()
Ian Stakenvicius [Fri, 20 Jul 2012 20:15:57 +0000 (13:15 -0700)]
ebuild.5: fix (-) use dep example for bug #427384
Zac Medico [Wed, 18 Jul 2012 22:31:07 +0000 (15:31 -0700)]
slotmove: update comment about EAPI 4-slot-abi
Zac Medico [Wed, 18 Jul 2012 21:38:09 +0000 (14:38 -0700)]
Fix extended atom match for =* operator.
Zac Medico [Wed, 18 Jul 2012 21:07:09 +0000 (14:07 -0700)]
match_from_list: match slot for extended atoms
Zac Medico [Wed, 18 Jul 2012 20:23:38 +0000 (13:23 -0700)]
etc-update: fix --automode -5, bug #427068
Zac Medico [Wed, 18 Jul 2012 19:55:16 +0000 (12:55 -0700)]
Support =*/*-*9999* wildcard atom, bug #402197.
Zac Medico [Wed, 18 Jul 2012 17:19:07 +0000 (10:19 -0700)]
depgraph: __auto_rebuild__ KeyError, bug #427036
Zac Medico [Wed, 18 Jul 2012 01:42:10 +0000 (18:42 -0700)]
portage.update: use isvalidatom for EAPI check
Zac Medico [Wed, 18 Jul 2012 00:05:31 +0000 (17:05 -0700)]
tests/update: fix whitespace
Zac Medico [Tue, 17 Jul 2012 23:52:48 +0000 (16:52 -0700)]
move: respect EAPI wrt dots_in_PN, bug #426476
Zac Medico [Tue, 17 Jul 2012 22:21:04 +0000 (15:21 -0700)]
Propagate EAPI for update_dbentry (bug #426476).
Zac Medico [Sun, 15 Jul 2012 21:29:20 +0000 (14:29 -0700)]
prepstrip: avoid rm warning about cwd
Zac Medico [Sat, 14 Jul 2012 01:40:20 +0000 (18:40 -0700)]
test_move_slot_ent: workaround for 1s timestamps
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.
Zac Medico [Thu, 12 Jul 2012 20:58:30 +0000 (13:58 -0700)]
vardbapi: use float mtime for aux cache