summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* tests/emerge: test egencacheZac Medico2011-09-051-7/+4
| | | | | This tests --update in any case, and --update-use-local-desc only if python xml support is detected.
* Fix repoman dependency.unknown to use xmatch.v2.2.0_alpha53Zac Medico2011-09-031-11/+12
| | | | This solves the issues discussed in bug #381087, comment #8.
* Revert "xml/metadata: implement XMLParser.doctype()"Zac Medico2011-08-314-71/+49
| | | | | This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e. This commit had lots of unintended changes included.
* xml/metadata: implement XMLParser.doctype()Zac Medico2011-08-314-49/+71
| | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47.
* repoman: enable dependency.unknown for blockersZac Medico2011-08-301-3/+2
| | | | This will fix bug #381087.
* doebuild: avoid redundant distfiles checksZac Medico2011-08-281-34/+3
| | | | | | | | | When the unpack phase is already marked as complete, it's wasteful to check distfiles digests. In order to avoid this, we have to migrate the distfiles/workdir timestamp comparisons from ebuild.sh to doebuild.py, so that doebuild always knows when unpack will be triggered. This also allows us to eliminate code in dyn_unpack that duplicated dyn_clean, actually call dyn_clean instead.
* egencache: don't require xml in global scopeZac Medico2011-08-271-8/+8
|
* egencache: implement XMLParser.doctype()Zac Medico2011-08-271-1/+11
| | | | | | | This is prevents "DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target." warnings. The code is copied from repoman, commit 5a5e51a2737a0855bb562683f50c57cc31587460.
* repoman: add a simple unit testZac Medico2011-08-251-5/+6
|
* python3.2 fixes: ResourceWarning: unclosed fileZac Medico2011-08-251-2/+4
|
* python3.2 fixes: ResourceWarning: unclosed fileZac Medico2011-08-251-2/+7
|
* die: defer die hooks for EAPI 4 helpers_dieZac Medico2011-08-251-1/+6
| | | | This will fix bug #380625.
* dosym: QA warn if target is existing dirZac Medico2011-08-221-1/+2
|
* dosym: QA warn if basename omitted (bug #379899)Zac Medico2011-08-221-0/+5
|
* ebuild(1): show merge/noauto msg only if neededZac Medico2011-08-201-4/+4
|
* egencache: add --portdir-overlay optionZac Medico2011-08-131-0/+9
| | | | This will fix bug #353648.
* repoman: tweak --if-modified help outputv2.2.0_alpha51Zac Medico2011-08-121-0/+1
|
* repoman: warn when --if-modified finds nothingZac Medico2011-08-121-1/+10
|
* repoman: add --if-modified option to check lessZac Medico2011-08-101-0/+15
| | | | | | This is useful if you want to do a repo-level or category-level commit but you only want to run checks for the packages that have uncommitted modifications.
* portageq: fix short help display for leading \nZac Medico2011-08-051-1/+1
|
* portageq best_visible: support optional pkgtypeZac Medico2011-08-041-11/+49
|
* unpack: remove backward compat for bug #376741v2.2.0_alpha50Zac Medico2011-08-021-12/+0
| | | | | | | This case is extremely rare, since the most common practice is to unpack source files that are already in the cwd. The only Gentoo packages that needed to be fixed were games-arcade/tuxpuck and www-plugins/google-talkplugin.
* unpack: always unpack to cwd (bug #376741)Zac Medico2011-08-011-1/+15
| | | | | | | This brings portage into agreement with PMS. Also, for existing EAPIs, if the source file is in a writable directory then this will create a symlink for backward-compatible emulation of tools like gunzip and bunzip2.
* Skip QA Notice for hasq/useq during *rm phases.Zac Medico2011-07-152-2/+4
|
* portageq: reference GLEP 37 in expand_virtual docZac Medico2011-07-141-1/+2
|
* Update timestamps in headers of modified files.Zac Medico2011-07-126-6/+6
|
* filter-bash-environment.py: move imports to topZac Medico2011-07-121-5/+7
|
* misc-functions.sh: fix incorrect has -o usageZac Medico2011-07-121-1/+1
|
* Remove python-2.6 StringIO.StringIO fallback.Zac Medico2011-07-121-2/+1
| | | | | | | | Since the io module in python-2.6 was broken when threading was disabled, we needed to fall back from io.StringIO to StringIO.StringIO in this case (typically just for Gentoo's stage1 and stage2 tarballs). Now that python-2.7 is stable in stages and we rely on io.open() being available, we can also rely on io.StringIO being available.
* ebuild.sh: restore old has() implementationBrian Harring2011-07-111-1/+8
| | | | | | | | The needle/haystack implementation handles whitespace as originally intended (prior to commit 659eafddd5964820ce8bdc0d90f5fcf7df04b5b7), as discussed in bug #374791. Signed-off-by: Brian Harring <ferringb@gmail.com>
* Migrate from codecs.open() to io.open().Zac Medico2011-07-103-26/+31
| | | | | | | | | | | | | | | | | The io.open() function is the same as the built-in open() function in python3, and its implementation is optimized in python-2.7 and later. In addition to the possible performance improvement, this also allows us to avoid any future compatibility issues with codecs.open() that may arise if it is delegated to the built-in open() function as discussed in PEP 400. The main caveat involved with io.open() is that TextIOWrapper.write() raises TypeError if given raw bytes, unlike the streams returned from codecs.open(). This is mainly an issue for python2 since literal strings are raw bytes. We handle this by wrapping TextIOWrapper.write() arguments with our _unicode_decode() function. Also, the atomic_ofstream class overrides the write() method in python2 so that it performs automatic coercion to unicode when necessary.
* Add QA Notice for hasq/useq calls (bug #199722).Zac Medico2011-07-082-0/+2
|
* Remove all hasq/useq calls for bug #199722.Zac Medico2011-07-0810-93/+93
|
* Invert has/hasq and use/useq implementations.Zac Medico2011-07-082-8/+8
| | | | | We need to migrate away from hasq and useq since they are deprecated (bug #199722).
* repoman: ElementTree.ParseError -> SyntaxErrorZac Medico2011-07-031-1/+1
| | | | | The ElementTree.ParseError class is undocumented and isn't available in python-2.6, so use its SyntaxError base class instead.
* portageq get_repo_path: output empty if unknownv2.2.0_alpha43Zac Medico2011-07-011-1/+4
| | | | It used to output "None" for unknown repos, which was not intended.
* misc-functions.sh: remove stale NEEDED* filesZac Medico2011-06-301-0/+1
|
* Fix last commit to work regardless of nullglob.Zac Medico2011-06-301-1/+2
|
* ecompress: beware of -k in PORTAGE_COMPRESS_FLAGSZac Medico2011-06-301-1/+4
| | | | This will fix bug #372183.
* ebuild(1): pass missing myrepo arg to aux_getZac Medico2011-06-291-1/+1
|
* ebuild(1): pass "installed" arg to PackageZac Medico2011-06-291-0/+1
|
* ebuild(1): pass Package instance to setcpvZac Medico2011-06-291-3/+19
| | | | This should improve repo-level support, for bug #370693.
* Add a QA check for systemd unit file install.Michał Górny2011-06-241-0/+10
|
* repoman: fix broken set constructor usageZac Medico2011-06-241-1/+2
|
* repoman: add new "dependency.unknown" warningZac Medico2011-06-241-0/+25
| | | | | This checks for a dependency that refers to an unknown package (which may be provided by an overlay), as requested in bug #372789.
* emaint binhost: add method for SIZE/MTIME checksZac Medico2011-06-181-19/+38
|
* emaint binhost: check SIZE and MTIMEZac Medico2011-06-181-1/+21
|
* portageq: fix all_best_visible to fail earlyZac Medico2011-06-181-3/+5
| | | | This will fix bug #372193.
* repoman: handle PermissionDenied from digestgenZac Medico2011-06-171-2/+7
| | | | This will fix bug #371987.
* repoman: only report allmasked if ebuilds existZac Medico2011-06-161-1/+1
|