summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* portage.const: toggle constants for stable branchZac Medico2013-01-241-4/+4
|
* config: raise PermissionDenied morev2.2.0_alpha161Zac Medico2013-01-242-10/+12
| | | | | | This enables clear reporting of "Permission Denied" when appropriate, instead of triggering nonsensical messages about invalid profiles or repositories.
* RepoConfigLoader: raise PermissionDenied moreZac Medico2013-01-242-12/+31
|
* RepoConfigLoader: raise PermissionDeniedZac Medico2013-01-241-1/+10
|
* _new_backup_path: fix TypeError, bug #453892Zac Medico2013-01-241-1/+1
|
* Package._init_use: always sync _metadatav2.2.0_alpha160Zac Medico2013-01-231-2/+3
|
* Add debug output for cases like bug #453400.Zac Medico2013-01-231-0/+20
|
* Package: avoid redundant splitting of USEZac Medico2013-01-231-4/+3
|
* Package: filter built USE for bug #453400Zac Medico2013-01-232-28/+41
| | | | | The enabled flags must be consistent with implicit IUSE, in order to avoid potential inconsistencies in USE dep matching (see bug #453400).
* Fix default use match for implicit IUSE.v2.2.0_alpha159Zac Medico2013-01-213-9/+22
| | | | | | This will fix bug #453400, which was triggered by inconsistency between the enabled USE and the effective missing_disabled set used in matching logic, due to implicit IUSE.
* repoman: fix stable mask to use correct profilev2.2.0_alpha157Zac Medico2013-01-193-16/+33
| | | | | We can't rely on the internal config instance from the given package instance, since it does not refer to the correct profile.
* isStable: fix * logic for repomanZac Medico2013-01-191-1/+5
|
* isStable: handle * for repoman moreZac Medico2013-01-191-1/+1
|
* isStable: handle * for repomanv2.2.0_alpha156Zac Medico2013-01-191-1/+1
|
* tests/repoman: add dev and exp profilesZac Medico2013-01-191-0/+15
|
* Fix stable mask logic for repoman.Zac Medico2013-01-192-10/+23
| | | | | | For repoman, if the package has an effective stable keyword that intersects with the effective ACCEPT_KEYWORDS for the current profile, then consider it stable.
* FindVCS: add debug infoZac Medico2013-01-191-8/+30
|
* test_security_set: detect missing xml supportv2.2.0_alpha155Zac Medico2013-01-181-0/+13
|
* Enable glsa @security set for stable, and test.Zac Medico2013-01-184-0/+137
|
* glsa.py: fix misc breakageZac Medico2013-01-181-2/+3
|
* Fix unicode vs. bytes issue in glsa-check (#341293)Andy Kittner2013-01-181-0/+1
| | | | http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=01d40ffed91033119bae05dac5c9cea86b94aa2e
* sync with genscripts rev 343. This adds the initial py3k support and the ↵Paul Varner2013-01-181-6/+7
| | | | | | | | analyse utility to gentoolkit svn path=/trunk/gentoolkit/; revision=751 http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=2f90a4b9ceff920f793541376da21d313af083d9
* Merge rev 113 from djanderson's genscripts repoPaul Varner2013-01-181-74/+68
| | | | | | svn path=/trunk/gentoolkit/; revision=703 http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=acdf616efa73b77936963eaa8b5c715db97646d2
* getminupgrade: fix documentation and backtraceRobert Buchholz2013-01-181-16/+22
| | | | | | | | | | | | | Bug 281101: Fix a backtrace introduced in r647. in getminupgrade the rValue variable was still leftover and was used in a check when glsa-check was run in --emergelike mode and more than one upgrade atoms existed. Also, update the API documentation to reflect changes back then. svn path=/trunk/gentoolkit/; revision=671 http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=2419943820ac8fb90bdf9bb5d2064a6ccdfec804
* Do not inject GLSAs into the checkfile when fixing themPaul Varner2013-01-181-9/+12
| | | | | | | | | | | | | | | | | | | | | There is no reason applied GLSAs must be stored in a checkfile. In the current glsa-check GUI this will make it impossible to determine whether the system is still affected by the GLSA (e.g. by re-emerging, or when a GLSA is changed afterwards). The current place for the checkfile (/var/cache) is not persistent per FHS, meaning that people might clean out the contents of their injected GLSAs. Since glsa.py is moving to portage anyway, we can use /var/lib/portage as a place to store the injected GLSAs. Documentation has been updated accordingly. Note that the old checkfile should not be moved to the previous location on upgrade since this will cause false negatives due to the above arguments. A message should appear on upgrade (pkg_postinst or similar). svn path=/trunk/gentoolkit/; revision=649 http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=4138f5b1b6dbcf1042663a45b3eae1e652bfc9be
* Restructure system affection detection.Paul Varner2013-01-181-22/+39
| | | | | | | | | | Store "vulnerable" and "upgrade" packages in a table, and use that data to determine which packages cannot be upgraded, and which packages actually cause upgrades svn path=/trunk/gentoolkit/; revision=648 http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=b6a2a23926d54ccfa9a1ce331c1bc97dbe2c73d1
* Change behaviour of getMinUpgradePaul Varner2013-01-181-7/+8
| | | | | | | | | | | | This allows to differentiate between situations where the system is unaffected and unexistance of an upgrade path. Previously, the glsa-check would treat GLSAs that had no upgrade path (such as mask glsas) as not affecting the system. svn path=/trunk/gentoolkit/; revision=647 http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=ef38a394c5c2f5901173a53914705730850f9b3f
* Some python tweaks to speed glsa-checkPaul Varner2013-01-181-25/+12
| | | | | | svn path=/trunk/gentoolkit/; revision=646 http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=10e55d71bd5914fc7c9082adadf7bde2bec14ae3
* Handle unicode encoding when dumping to stdout and start migration to using ↵Paul Varner2013-01-181-19/+31
| | | | | | | | StringIO svn path=/trunk/gentoolkit/; revision=645 http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=88c18ffe936e602c45dcaa7500961623c49697ca
* Add workaround for Python 2.6.4 issue 4978Zac Medico2013-01-189-13/+32
| | | | | Avoid "TypeError: keywords must be strings" issue triggered by unicode_literals: http://bugs.python.org/issue4978
* Use unicode_literals more.Zac Medico2013-01-1845-192/+269
| | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3.
* test_string_format: use unicode_literalsZac Medico2013-01-181-26/+25
|
* localization: always return unicodeZac Medico2013-01-181-3/+9
|
* cache/flat_hash.py: unicode_literalsZac Medico2013-01-181-7/+7
|
* cache/sqlite.py: unicode_literalsZac Medico2013-01-181-3/+4
|
* ebuild_xattr.py: lowercase utf-8 commentZac Medico2013-01-181-1/+1
|
* _setup_pipes: close unnecessary duplicate fdsZac Medico2013-01-171-9/+46
|
* Use 'with file' more.Zac Medico2013-01-171-61/+46
| | | | This helps to minimize ResourceWarning triggered by ^C with python3.
* emerge --info: show free ram/swap, bug #451048Zac Medico2013-01-162-0/+93
|
* emerge: add reference to the portage(5) man page when failingMike Frysinger2013-01-151-8/+9
| | | | | | | | | | | | | | | | | | | For example, the current licensing error message looks like: The following license changes (package.license) are necessary to proceed: #required by quake3-bin (argument) >=games-fps/quake3-bin-1.32c-r1 GPL-2 Q3AEULA If you don't know much about licensing issues, this error message doesn't help. Instead, give references to the man page so people can easily delve further. Now it looks like: The following license changes are necessary to proceed: (see package.license in the portage(5) man page for more details) #required by quake3-bin (argument) >=games-fps/quake3-bin-1.32c-r1 GPL-2 Q3AEULA Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* doebuild: tweak handling of _unused paramZac Medico2013-01-151-4/+4
|
* EbuildMetadataPhase: use dynamic pipe fdZac Medico2013-01-152-39/+10
| | | | Also, remove deprecated code from doebuild (with hardcoded pipe fd).
* SpawnProcess: improve dummy pipe allocation logicZac Medico2013-01-157-28/+52
| | | | | | | By using allocated file descriptors for keys in fd_pipes, we naturally avoid interference with callers such as FileDigester and MergeProcess. See the _setup_pipes docstring for more benefits of this allocation approach.
* Warn if old make.globals found, bug #452176v2.2.0_alpha153Zac Medico2013-01-151-2/+16
|
* Warn if 2 make.profile dirs found, bug #452176Zac Medico2013-01-151-3/+15
|
* test-fail-continue: mark complete, bug #452030Zac Medico2013-01-151-1/+8
|
* SpawnProcess: avoid fd_pipes interferenceZac Medico2013-01-151-2/+8
| | | | | This fixes a random collision that can occur with FileDigester, triggering malfunction and a KeyError.
* selinux: python3 unicode paths, bug #430488Arfrever Frehtes Taifersar Arahesis2013-01-142-27/+30
|
* DoebuildSpawnTestCase: also call spawn_nofetchZac Medico2013-01-101-12/+27
|
* spawn_nofetch: import portage, bug #451344Zac Medico2013-01-101-0/+1
|