summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* emaint cleanconfmem: fix writedict breakagev2.2.0_alpha124Zac Medico2012-09-021-9/+2
| | | | Use grabdict so the values are stored as lists like writedict expects.
* Rename _slot_abi.py to _slot_operator.py.Zac Medico2012-09-024-3/+3
|
* DateSet: only allow one format option in configZac Medico2012-09-021-18/+22
|
* emaint cleanconfmem: handle ROOTZac Medico2012-09-021-3/+11
|
* Add DateSet, bug #433704.Martin Väth2012-09-021-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | Allow sets of packages installed before or after a specific date. The date may be specified explicitly (in dateformat which defaults to "%x %X") or seconds since Epoch, or implicitly as an installation date or a filestamp. For example, the following sets can be specified in /etc/portage/sets.conf: [date1] class = portage.sets.dbapi.DateSet mode = older date = 08/31/12 10:00:00 dateformat = %%x %%X [date2] class = portage.sets.dbapi.DateSet mode = newer seconds = 1346400000 [date3] class = portage.sets.dbapi.DateSet package = sys-devel/gcc:4.7 [date4] class = portage.sets.dbapi.DateSet filestamp = /usr/bin/gcc
* emaint cleanconfmem: use writedictZac Medico2012-09-021-9/+5
|
* emaint cleanconfmem: ignore md5, bug #433694Zac Medico2012-09-021-26/+7
|
* validate_desktop_entry: handle emacs.desktopZac Medico2012-09-021-0/+14
| | | | See <https://bugs.freedesktop.org/show_bug.cgi?id=35844#c6>.
* Enable EAPI 5_pre1 for testing.Zac Medico2012-09-011-1/+1
|
* glsa.py: python3: ResourceWarning: unclosed fileZac Medico2012-09-011-1/+2
|
* ebuild-helpers/sed: move to bsd subdirectoryZac Medico2012-09-011-0/+3
| | | | | | This helps to prevent inappropriate use of the sed wrapper on GNU systems, which commonly occurs when users install portage manually during recovery situations.
* Eliminate bin/ebuild-helpers/4 directory.Zac Medico2012-09-012-3/+1
| | | | | Instead, just use conditionals where appropriate inside bin/ebuild-helpers/* scripts.
* _prepare_self_update: ignore installed versionZac Medico2012-09-012-16/+6
| | | | | | | | Now portage will unconditionally make a temporary copy of itself during updates. This is safer, since it provides maximum protection against any possible incompatibilities. For example, suppose that the ebuild has been updated to change the location of installed files (such as libdir change) without a revision bump.
* Enable @module-rebuild for 2.1 branch.Zac Medico2012-08-311-0/+5
|
* config.setcpv: fix early ret for IUSE_EFFECTIVEZac Medico2012-08-301-1/+3
|
* Remove FEATURES=parse-eapi-ebuild-headZac Medico2012-08-294-19/+3
| | | | | | | | It's already been enabled by default in stable portage for awhile now, so it should be safe to enable it unconditionally. The PMS eapi-5 branch also says that it's mandatory to parse the EAPI: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=91d1e1e39b034bde7e5b981a5616a127135f37fa
* EAPI 5: enable slot-operator-depsZac Medico2012-08-291-1/+1
|
* Rename slot-abi stuff to refer to slot-operator.Zac Medico2012-08-2919-198/+198
| | | | | This makes it consistent with the language in the PMS eapi-5 branch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=5d6749ac9e5ddc5b1daaad7737b65fa81c6ece47
* EAPI 5: EBUILD_PHASE_FUNC variableZac Medico2012-08-294-3/+34
| | | | | See bug #390765 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=76ddca560da42fd968c53a2a0c38a6ac840a7ad4
* Blacklist IUSE_EFFECTIVE from external env.Zac Medico2012-08-291-1/+1
|
* EAPI 5: Profile IUSE injectionZac Medico2012-08-297-18/+125
| | | | | See bug #176467 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=d9040ab3482af5f790368bac5d053bf1cd760ba8
* Package: skip REQUIRED_USE validation if builtZac Medico2012-08-271-1/+1
|
* Pass eapi to check_required_use more.Zac Medico2012-08-273-13/+27
|
* EAPI 5: REQUIRED_USE at-most-one-of ?? operatorZac Medico2012-08-275-19/+56
| | | | | See bug #354219 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=1c2dff2df2305aff88a734e3a2716de1bb69f3b6
* _get_eapi_attrs: handle unsupported eapi as Nonev2.2.0_alpha123Zac Medico2012-08-261-1/+10
|
* validate_desktop_entry: filter more kde noiseZac Medico2012-08-261-14/+46
| | | | This will fix bug #432862.
* KeywordsManager: fix isStable commentZac Medico2012-08-251-1/+1
|
* EAPI 5 stable use.mask/force for bug #431078Zac Medico2012-08-245-7/+122
|
* _pkg_str: pass in config + metadata with KEYWORDSZac Medico2012-08-2410-46/+59
| | | | | This will be needed in order to support stable use.mask/force for bug #431078.
* config: _eapi_cache.clear() after setcpvZac Medico2012-08-231-1/+4
|
* read_corresponding_eapi_file: cache resultsZac Medico2012-08-232-1/+9
|
* 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.