summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Optimize sys.std* flush code.v2.2.0_alpha122Zac Medico2012-08-222-4/+6
|
* Use sys.__std*.fileno() in case of overrides.Zac Medico2012-08-227-37/+39
| | | | | This fixes AttributeError exceptions for API consumers that override sys.std* streams pseudo-file objects.
* EventLoop: handle EINTR IOError for epollZac Medico2012-08-221-2/+4
|
* EventLoop: use epoll when availableZac Medico2012-08-211-7/+52
| | | | This will fix bug #432024.
* _apply_hash_filter: make hash_filter simplerZac Medico2012-08-215-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 #432170Zac Medico2012-08-217-17/+89
|
* PollScheduler: use timeout for loadavg checksZac Medico2012-08-201-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 neededZac Medico2012-08-201-3/+6
| | | | This avoids wasteful CPU consumption, as reported in bug #432024.
* BashSyntaxTestCase: include new misc dirZac Medico2012-08-171-3/+9
|
* emaint logs: simplify error output handlingv2.2.0_alpha121Zac Medico2012-08-112-20/+8
|
* emaint: cleanup TaskHandler isatty logicZac Medico2012-08-111-2/+2
|
* emaint binhost: support compress-indexZac Medico2012-08-092-27/+27
|
* repoman: remove IUSE.undefined checkZac Medico2012-08-081-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 atomicallyZac Medico2012-08-081-3/+6
|
* Portage writes a compressed copy of 'Packages' index file.W-Mark Kubacki2012-08-082-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 bytesZac Medico2012-08-041-0/+2
|
* vardbapi: optimize pickle load for Python >=3.2Zac Medico2012-08-021-2/+3
|
* parse_desktop_entry: fix python3 bug #429544Zac Medico2012-08-021-1/+5
|
* _urlopen: fix python2 http password breakageZac Medico2012-08-011-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 Kubacki2012-08-011-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 Kubacki2012-08-011-1/+31
|
* Use If-Modified-Since HTTP-header and avoid downloading a remote index if ↵W-Mark Kubacki2012-08-012-7/+62
| | | | the local copy is recent enough.
* Use nanosecond precision in cache for category directory mtimesArfrever Frehtes Taifersar Arahesis2012-08-011-2/+8
| | | | and cache for cp_list results when using Python >=3.3.
* Use nanosecond precision in portage.util.movefile.movefile().Arfrever Frehtes Taifersar Arahesis2012-08-012-22/+53
|
* Check for desktop-file-validate binary.Zac Medico2012-07-311-1/+4
|
* Validate desktop entries after src_install.Michael Palimaka2012-07-311-0/+26
|
* get_term_size: handle missing stty commandZac Medico2012-07-271-2/+9
|
* get_term_size: pass fd to sttyZac Medico2012-07-271-2/+6
|
* get_term_size: pass fd to curses.setupterm()Zac Medico2012-07-271-1/+2
|
* get_term_size: handle temporary stdout overridesZac Medico2012-07-271-1/+3
|
* _selinux/spawn_wrapper: setexec *after* forkZac Medico2012-07-261-14/+26
| | | | | This avoids any interference with concurrent threads in the calling process.
* output: allow to use stderr in TermProgressBarCorentin Chary2012-07-231-6/+6
|
* emaint: split into separate modulesBrian Dolbec2012-07-2219-19/+1376
|
* TermProgressBar: fix broken ref to "image" varZac Medico2012-07-221-1/+1
| | | | Broken since commit 0623e44a500125064525413404948af9179747a9.
* get_term_size: check if sys.stderr.isatty()Federico "fox" Scrinzi2012-07-221-1/+1
|
* slotmove: update comment about EAPI 4-slot-abiv2.2.0_alpha120Zac Medico2012-07-181-3/+1
|
* Fix extended atom match for =* operator.Zac Medico2012-07-181-7/+21
|
* match_from_list: match slot for extended atomsZac Medico2012-07-182-1/+3
|
* Support =*/*-*9999* wildcard atom, bug #402197.Zac Medico2012-07-183-15/+66
|
* depgraph: __auto_rebuild__ KeyError, bug #427036Zac Medico2012-07-182-3/+9
|
* portage.update: use isvalidatom for EAPI checkZac Medico2012-07-174-17/+34
|
* tests/update: fix whitespacev2.2.0_alpha119Zac Medico2012-07-172-4/+4
|
* move: respect EAPI wrt dots_in_PN, bug #426476Zac Medico2012-07-174-7/+203
|
* Propagate EAPI for update_dbentry (bug #426476).Zac Medico2012-07-177-11/+132
|
* test_move_slot_ent: workaround for 1s timestampsZac Medico2012-07-131-0/+5
|
* slotmove: fix handling for EAPI 4-slot-abiv2.2.0_alpha118Zac Medico2012-07-137-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_alpha117Zac Medico2012-07-121-3/+9
|
* manifest: remove unused mhashes variableZac Medico2012-07-121-1/+0
|
* Skip whirlpool digest check when unaccelerated.Zac Medico2012-07-123-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 variableZac Medico2012-07-112-0/+6
|