Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use sys.__std*.fileno() in case of overrides. | Zac Medico | 2012-08-22 | 7 | -37/+39 |
| | | | | | This fixes AttributeError exceptions for API consumers that override sys.std* streams pseudo-file objects. | ||||
* | EventLoop: handle EINTR IOError for epoll | Zac Medico | 2012-08-22 | 1 | -2/+4 |
| | |||||
* | EventLoop: use epoll when available | Zac Medico | 2012-08-21 | 1 | -7/+52 |
| | | | | This will fix bug #432024. | ||||
* | _apply_hash_filter: make hash_filter simpler | Zac Medico | 2012-08-21 | 5 | -5/+18 |
| | | | | | Now any callable object will work, which might be helpful for consumers of the Manifest.checkFileHashes() method. | ||||
* | Implement PORTAGE_CHECKSUM_FILTER for bug #432170 | Zac Medico | 2012-08-21 | 7 | -17/+89 |
| | |||||
* | PollScheduler: use timeout for loadavg checks | Zac Medico | 2012-08-20 | 1 | -6/+12 |
| | | | | | | | 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). | ||||
* | Scheduler: only use poll timeout when needed | Zac Medico | 2012-08-20 | 1 | -3/+6 |
| | | | | This avoids wasteful CPU consumption, as reported in bug #432024. | ||||
* | BashSyntaxTestCase: include new misc dir | Zac Medico | 2012-08-17 | 1 | -3/+9 |
| | |||||
* | emaint logs: simplify error output handlingv2.2.0_alpha121 | Zac Medico | 2012-08-11 | 2 | -20/+8 |
| | |||||
* | emaint: cleanup TaskHandler isatty logic | Zac Medico | 2012-08-11 | 1 | -2/+2 |
| | |||||
* | emaint binhost: support compress-index | Zac Medico | 2012-08-09 | 2 | -27/+27 |
| | |||||
* | repoman: remove IUSE.undefined check | Zac Medico | 2012-08-08 | 1 | -21/+1 |
| | | | | | | | 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 | ||||
* | bintree.inject(): write Packages.gz atomically | Zac Medico | 2012-08-08 | 1 | -3/+6 |
| | |||||
* | Portage writes a compressed copy of 'Packages' index file. | W-Mark Kubacki | 2012-08-08 | 2 | -7/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | WhirlpoolAdd: raise TypeError if not bytes | Zac Medico | 2012-08-04 | 1 | -0/+2 |
| | |||||
* | vardbapi: optimize pickle load for Python >=3.2 | Zac Medico | 2012-08-02 | 1 | -2/+3 |
| | |||||
* | parse_desktop_entry: fix python3 bug #429544 | Zac Medico | 2012-08-02 | 1 | -1/+5 |
| | |||||
* | _urlopen: fix python2 http password breakage | Zac Medico | 2012-08-01 | 1 | -29/+11 |
| | | | | | | | | 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. | ||||
* | Fix index file's mtime, which can differ from TIMESTAMP. | W-Mark Kubacki | 2012-08-01 | 1 | -1/+5 |
| | | | | | | | | | | | | 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). | ||||
* | Add support for HTTP compression (bzip2, gzip and deflate). | W-Mark Kubacki | 2012-08-01 | 1 | -1/+31 |
| | |||||
* | Use If-Modified-Since HTTP-header and avoid downloading a remote index if ↵ | W-Mark Kubacki | 2012-08-01 | 2 | -7/+62 |
| | | | | the local copy is recent enough. | ||||
* | Use nanosecond precision in cache for category directory mtimes | Arfrever Frehtes Taifersar Arahesis | 2012-08-01 | 1 | -2/+8 |
| | | | | and cache for cp_list results when using Python >=3.3. | ||||
* | Use nanosecond precision in portage.util.movefile.movefile(). | Arfrever Frehtes Taifersar Arahesis | 2012-08-01 | 2 | -22/+53 |
| | |||||
* | Check for desktop-file-validate binary. | Zac Medico | 2012-07-31 | 1 | -1/+4 |
| | |||||
* | Validate desktop entries after src_install. | Michael Palimaka | 2012-07-31 | 1 | -0/+26 |
| | |||||
* | get_term_size: handle missing stty command | Zac Medico | 2012-07-27 | 1 | -2/+9 |
| | |||||
* | get_term_size: pass fd to stty | Zac Medico | 2012-07-27 | 1 | -2/+6 |
| | |||||
* | get_term_size: pass fd to curses.setupterm() | Zac Medico | 2012-07-27 | 1 | -1/+2 |
| | |||||
* | get_term_size: handle temporary stdout overrides | Zac Medico | 2012-07-27 | 1 | -1/+3 |
| | |||||
* | _selinux/spawn_wrapper: setexec *after* fork | Zac Medico | 2012-07-26 | 1 | -14/+26 |
| | | | | | This avoids any interference with concurrent threads in the calling process. | ||||
* | output: allow to use stderr in TermProgressBar | Corentin Chary | 2012-07-23 | 1 | -6/+6 |
| | |||||
* | emaint: split into separate modules | Brian Dolbec | 2012-07-22 | 19 | -19/+1376 |
| | |||||
* | TermProgressBar: fix broken ref to "image" var | Zac Medico | 2012-07-22 | 1 | -1/+1 |
| | | | | Broken since commit 0623e44a500125064525413404948af9179747a9. | ||||
* | get_term_size: check if sys.stderr.isatty() | Federico "fox" Scrinzi | 2012-07-22 | 1 | -1/+1 |
| | |||||
* | slotmove: update comment about EAPI 4-slot-abiv2.2.0_alpha120 | Zac Medico | 2012-07-18 | 1 | -3/+1 |
| | |||||
* | Fix extended atom match for =* operator. | Zac Medico | 2012-07-18 | 1 | -7/+21 |
| | |||||
* | match_from_list: match slot for extended atoms | Zac Medico | 2012-07-18 | 2 | -1/+3 |
| | |||||
* | Support =*/*-*9999* wildcard atom, bug #402197. | Zac Medico | 2012-07-18 | 3 | -15/+66 |
| | |||||
* | depgraph: __auto_rebuild__ KeyError, bug #427036 | Zac Medico | 2012-07-18 | 2 | -3/+9 |
| | |||||
* | portage.update: use isvalidatom for EAPI check | Zac Medico | 2012-07-17 | 4 | -17/+34 |
| | |||||
* | tests/update: fix whitespacev2.2.0_alpha119 | Zac Medico | 2012-07-17 | 2 | -4/+4 |
| | |||||
* | move: respect EAPI wrt dots_in_PN, bug #426476 | Zac Medico | 2012-07-17 | 4 | -7/+203 |
| | |||||
* | Propagate EAPI for update_dbentry (bug #426476). | Zac Medico | 2012-07-17 | 7 | -11/+132 |
| | |||||
* | test_move_slot_ent: workaround for 1s timestamps | Zac Medico | 2012-07-13 | 1 | -0/+5 |
| | |||||
* | slotmove: fix handling for EAPI 4-slot-abiv2.2.0_alpha118 | Zac Medico | 2012-07-13 | 7 | -16/+206 |
| | | | | | | | | 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. | ||||
* | vardbapi: use float mtime for aux cachev2.2.0_alpha117 | Zac Medico | 2012-07-12 | 1 | -3/+9 |
| | |||||
* | manifest: remove unused mhashes variable | Zac Medico | 2012-07-12 | 1 | -1/+0 |
| | |||||
* | Skip whirlpool digest check when unaccelerated. | Zac Medico | 2012-07-12 | 3 | -8/+31 |
| | | | | | | | | If multiple digests are available and whirlpool is unaccelerated, then skip it. This allows extreme performance problems like bug #425046 to be avoided whenever practical, especially for cases like stage builds where acceleration may not be available for some hashes due to minimization of dependencies. | ||||
* | tests: support NOCOLOR env variable | Zac Medico | 2012-07-11 | 2 | -0/+6 |
| | |||||
* | Fix --complete-graph-if-new-use for --autounmask. | Zac Medico | 2012-07-10 | 1 | -2/+2 |
| |