Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "xml/metadata: implement XMLParser.doctype()" | Zac Medico | 2011-08-31 | 4 | -71/+49 |
| | | | | | This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e. This commit had lots of unintended changes included. | ||||
* | xml/metadata: implement XMLParser.doctype() | Zac Medico | 2011-08-31 | 4 | -49/+71 |
| | | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47. | ||||
* | repoman: enable dependency.unknown for blockers | Zac Medico | 2011-08-30 | 1 | -3/+2 |
| | | | | This will fix bug #381087. | ||||
* | doebuild: avoid redundant distfiles checks | Zac Medico | 2011-08-28 | 1 | -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 scope | Zac Medico | 2011-08-27 | 1 | -8/+8 |
| | |||||
* | egencache: implement XMLParser.doctype() | Zac Medico | 2011-08-27 | 1 | -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 test | Zac Medico | 2011-08-25 | 1 | -5/+6 |
| | |||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-25 | 1 | -2/+4 |
| | |||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-25 | 1 | -2/+7 |
| | |||||
* | die: defer die hooks for EAPI 4 helpers_die | Zac Medico | 2011-08-25 | 1 | -1/+6 |
| | | | | This will fix bug #380625. | ||||
* | dosym: QA warn if target is existing dir | Zac Medico | 2011-08-22 | 1 | -1/+2 |
| | |||||
* | dosym: QA warn if basename omitted (bug #379899) | Zac Medico | 2011-08-22 | 1 | -0/+5 |
| | |||||
* | ebuild(1): show merge/noauto msg only if needed | Zac Medico | 2011-08-20 | 1 | -4/+4 |
| | |||||
* | egencache: add --portdir-overlay option | Zac Medico | 2011-08-13 | 1 | -0/+9 |
| | | | | This will fix bug #353648. | ||||
* | repoman: tweak --if-modified help outputv2.2.0_alpha51 | Zac Medico | 2011-08-12 | 1 | -0/+1 |
| | |||||
* | repoman: warn when --if-modified finds nothing | Zac Medico | 2011-08-12 | 1 | -1/+10 |
| | |||||
* | repoman: add --if-modified option to check less | Zac Medico | 2011-08-10 | 1 | -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 \n | Zac Medico | 2011-08-05 | 1 | -1/+1 |
| | |||||
* | portageq best_visible: support optional pkgtype | Zac Medico | 2011-08-04 | 1 | -11/+49 |
| | |||||
* | unpack: remove backward compat for bug #376741v2.2.0_alpha50 | Zac Medico | 2011-08-02 | 1 | -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 Medico | 2011-08-01 | 1 | -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 Medico | 2011-07-15 | 2 | -2/+4 |
| | |||||
* | portageq: reference GLEP 37 in expand_virtual doc | Zac Medico | 2011-07-14 | 1 | -1/+2 |
| | |||||
* | Update timestamps in headers of modified files. | Zac Medico | 2011-07-12 | 6 | -6/+6 |
| | |||||
* | filter-bash-environment.py: move imports to top | Zac Medico | 2011-07-12 | 1 | -5/+7 |
| | |||||
* | misc-functions.sh: fix incorrect has -o usage | Zac Medico | 2011-07-12 | 1 | -1/+1 |
| | |||||
* | Remove python-2.6 StringIO.StringIO fallback. | Zac Medico | 2011-07-12 | 1 | -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() implementation | Brian Harring | 2011-07-11 | 1 | -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 Medico | 2011-07-10 | 3 | -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 Medico | 2011-07-08 | 2 | -0/+2 |
| | |||||
* | Remove all hasq/useq calls for bug #199722. | Zac Medico | 2011-07-08 | 10 | -93/+93 |
| | |||||
* | Invert has/hasq and use/useq implementations. | Zac Medico | 2011-07-08 | 2 | -8/+8 |
| | | | | | We need to migrate away from hasq and useq since they are deprecated (bug #199722). | ||||
* | repoman: ElementTree.ParseError -> SyntaxError | Zac Medico | 2011-07-03 | 1 | -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_alpha43 | Zac Medico | 2011-07-01 | 1 | -1/+4 |
| | | | | It used to output "None" for unknown repos, which was not intended. | ||||
* | misc-functions.sh: remove stale NEEDED* files | Zac Medico | 2011-06-30 | 1 | -0/+1 |
| | |||||
* | Fix last commit to work regardless of nullglob. | Zac Medico | 2011-06-30 | 1 | -1/+2 |
| | |||||
* | ecompress: beware of -k in PORTAGE_COMPRESS_FLAGS | Zac Medico | 2011-06-30 | 1 | -1/+4 |
| | | | | This will fix bug #372183. | ||||
* | ebuild(1): pass missing myrepo arg to aux_get | Zac Medico | 2011-06-29 | 1 | -1/+1 |
| | |||||
* | ebuild(1): pass "installed" arg to Package | Zac Medico | 2011-06-29 | 1 | -0/+1 |
| | |||||
* | ebuild(1): pass Package instance to setcpv | Zac Medico | 2011-06-29 | 1 | -3/+19 |
| | | | | This should improve repo-level support, for bug #370693. | ||||
* | Add a QA check for systemd unit file install. | Michał Górny | 2011-06-24 | 1 | -0/+10 |
| | |||||
* | repoman: fix broken set constructor usage | Zac Medico | 2011-06-24 | 1 | -1/+2 |
| | |||||
* | repoman: add new "dependency.unknown" warning | Zac Medico | 2011-06-24 | 1 | -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 checks | Zac Medico | 2011-06-18 | 1 | -19/+38 |
| | |||||
* | emaint binhost: check SIZE and MTIME | Zac Medico | 2011-06-18 | 1 | -1/+21 |
| | |||||
* | portageq: fix all_best_visible to fail early | Zac Medico | 2011-06-18 | 1 | -3/+5 |
| | | | | This will fix bug #372193. | ||||
* | repoman: handle PermissionDenied from digestgen | Zac Medico | 2011-06-17 | 1 | -2/+7 |
| | | | | This will fix bug #371987. | ||||
* | repoman: only report allmasked if ebuilds exist | Zac Medico | 2011-06-16 | 1 | -1/+1 |
| | |||||
* | ebuild.sh: fix libdir for ccache/distcc | Zac Medico | 2011-06-09 | 1 | -2/+8 |
| | | | | This will fix bug #355283. | ||||
* | ebuild.sh: don't hardcode distcc pump path | Jeremy Murphy | 2011-06-09 | 1 | -2/+2 |
| |