summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* repoman: fix TypeError: must be char, not unicodev2.2.0_alpha158Zac Medico2013-01-201-1/+1
|
* glsa-check: explicit imports, fix glsaconfig refZac Medico2013-01-181-3/+4
|
* Fix unicode vs. bytes issue in glsa-check (#341293)Andy Kittner2013-01-181-7/+10
| | | | 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-0/+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
* Do not inject GLSAs into the checkfile when fixing themPaul Varner2013-01-181-4/+3
| | | | | | | | | | | | | | | | | | | | | 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-37/+35
| | | | | | | | | | 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-0/+10
| | | | | | | | | | | | 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
* Handle unicode encoding when dumping to stdout and start migration to using ↵Paul Varner2013-01-181-1/+4
| | | | | | | | StringIO svn path=/trunk/gentoolkit/; revision=645 http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=88c18ffe936e602c45dcaa7500961623c49697ca
* Use unicode_literals more.Zac Medico2013-01-182-8/+4
| | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3.
* egencache: unicode_literals for TextIOWrapperZac Medico2013-01-181-16/+14
|
* doebuild: tweak handling of _unused paramZac Medico2013-01-151-1/+1
|
* EbuildMetadataPhase: use dynamic pipe fdZac Medico2013-01-151-2/+2
| | | | Also, remove deprecated code from doebuild (with hardcoded pipe fd).
* SpawnProcess: improve dummy pipe allocation logicZac Medico2013-01-151-2/+5
| | | | | | | 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.
* Tweak init.d qa check for bug #451386.Zac Medico2013-01-111-0/+4
|
* Add emirrordist, a tool for mirroring distfiles.Zac Medico2013-01-091-0/+13
| | | | | Special thanks to Brian Harring, author of the mirror-dist program from which emirrordist is derived.
* Add QA_AM_MAINTAINER_MODE for bug #450278.Zac Medico2013-01-041-1/+5
|
* ebuild-ipc: add FifoWriter classZac Medico2013-01-041-58/+21
|
* ebuild-ipc: fix read timeout msg / daemon checkZac Medico2013-01-031-2/+16
| | | | It got disabled in commit 06d31ef00da24352a6614f20bccfc892d2120ed9.
* ebuild-ipc: fix waiting messageZac Medico2013-01-031-2/+2
| | | | It got disabled by commit 439151bb5b0bd2ac4c9d2dd218fe377ce0b988e6.
* ebuild-ipc: use PipeReader in _receive_replyZac Medico2013-01-031-55/+6
|
* ebuild-ipc: use PipeReader in _waitZac Medico2013-01-031-15/+15
|
* Add portage._internal_caller var, and use it.Zac Medico2013-01-0318-20/+38
|
* repoman: improve thirdpartymirrors outputSergei Trofimovich2013-01-011-2/+3
|
* repoman: tell user which mirror identifiers contain SRC_URISergei Trofimovich2013-01-011-6/+6
| | | | | | | | | | | | | | | | | | | | | | before the patch: $ repoman full RepoMan scours the neighborhood... metadata.missing 1 dev-haskell/qthaskellc/metadata.xml SRC_URI.mirror 1 dev-haskell/qthaskellc/qthaskellc-1.1.4.ebuild: 'http://download.berlios.de/' found in thirdpartymirrors after the patch: $ repoman full RepoMan scours the neighborhood... metadata.missing 1 dev-haskell/qthaskellc/metadata.xml SRC_URI.mirror 1 dev-haskell/qthaskellc/qthaskellc-1.1.4.ebuild: 'http://download.berlios.de/' found in thirdpartymirrors: 'mirror://berlios' Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* use(): fatal missing IUSE in EAPI 5, bug #449708Zac Medico2013-01-011-1/+7
|
* Use run_main_scheduler where possible.Zac Medico2012-12-281-55/+7
|
* egencache: fix --strict-manifests=nZac Medico2012-12-281-1/+1
|
* repoman: fix git_supports_gpg_signZac Medico2012-12-261-1/+1
|
* repoman: exempt virtuals from KEYWORDS.stableZac Medico2012-12-211-1/+1
|
* repoman: fix dep check for * and ~* keywordsZac Medico2012-12-161-2/+4
| | | | | We want the effective ACCEPT_KEYWORDS to correspond to the current profile's arch (rather than using wildcards).
* repoman: check deps for * and ~* keywordsv2.2.0_alpha149Zac Medico2012-12-151-6/+27
|
* repoman keywords.dropped: handle * and ~*Zac Medico2012-12-151-1/+1
|
* Handle closed sys.__stdin__, for multiprocessingZac Medico2012-12-151-1/+1
| | | | | | | Buggy code in python's multiprocessing/process.py closes sys.stdin and reassigns it to open(os.devnull), but fails to update the corresponding __stdin__ reference. So, detect that case and handle it appropriately. The buggy code is visible in http://hg.python.org/lookup/r73708.
* Add QA_CONFIGURE_OPTIONS variable.v2.2.0_alpha148Zac Medico2012-12-111-1/+2
|
* xattr-helper.py: fix AssertionError string formatZac Medico2012-12-111-2/+2
|
* xattr-helper.py: fix backslash quotingZac Medico2012-12-111-3/+6
|
* prepstrip: preserve xattrs, bug #446420Zac Medico2012-12-112-3/+206
|
* prepstrip: handle objcopy failure, bug #446774Zac Medico2012-12-101-4/+8
|
* prepstrip: add comment for bug #445336v2.2.0_alpha144Zac Medico2012-12-011-0/+1
|
* prepstrip: avoid duplicates for bug #445336Zac Medico2012-12-011-2/+4
| | | | | This prevents us from trying to hardlink duplicate splitdebug files, avoiding ln "File exists" failure as reported in bug #445336.
* Revert "prepstrip: avoid duplicates for bug #445336"Zac Medico2012-12-011-1/+1
| | | | | | This reverts commit bba20c632e79426cd006dd2b732fcaed079ac43a. The sort needs to be inside the subshell in order for it to work as intended. A correct patch will follow.
* prepstrip: avoid duplicates for bug #445336Zac Medico2012-11-301-1/+1
| | | | | This prevents us from trying to hardlink duplicate splitdebug files, avoiding ln "File exists" failure as reported in bug #445336.
* repoman: handle missing @DEPRECATED lic groupv2.2.0_alpha143Zac Medico2012-11-291-6/+4
|
* fix ebuild rpm command for rpm 4.10.0Lucas Bickel2012-11-281-6/+5
| | | | | | | | * changes dyn_spec to use a sources_dir in the sandbox * remove deprecated Buildroot from specfile * call rpmbuild with --target instead of Buildroot * grab machine_name from $CHOST and use as --target in rpmbuild * use dir in sandbox instead of /usr/src/rpm/RPMS
* Rename Package.metadata to _metadata.Zac Medico2012-11-261-2/+2
| | | | | The raw metadata is considered a private low-level internal. This makes the Package class consistent with the _pkg_str class.
* unpack(): Handle suffixes in case-insensitive way.Arfrever Frehtes Taifersar Arahesis2012-11-251-6/+10
|
* __sb_append_var(): Quote tr arguments to avoid filename expansion. Avoid a ↵Arfrever Frehtes Taifersar Arahesis2012-11-251-2/+1
| | | | subshell.
* strip trailing whitespaceMike Frysinger2012-11-229-32/+32
| | | | | | No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* EAPI="5-progress": Add package_manager_build_user() and ↵Arfrever Frehtes Taifersar Arahesis2012-11-164-1/+24
| | | | package_manager_build_group().
* repoman: validate use restrict atoms, bug #442786Zac Medico2012-11-131-1/+18
|