Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add __test__ for repoman tests. | Zac Medico | 2011-08-26 | 1 | -0/+0 |
| | |||||
* | repoman: add a simple unit test | Zac Medico | 2011-08-25 | 4 | -5/+180 |
| | |||||
* | Add skipped test support (for python 2.6 compat) | Zac Medico | 2011-08-25 | 1 | -1/+17 |
| | | | | | | Python supports skipped tests since 2.7, but we'll implement support ourselves for python 2.6 compatibility. This is a simple extension of the todo support that we have already implemented. | ||||
* | testLazyImport: fix PYTHONPATH setting | Zac Medico | 2011-08-25 | 1 | -1/+1 |
| | |||||
* | Add a copy of metadata.dtd, for repoman tests. | Zac Medico | 2011-08-25 | 1 | -0/+99 |
| | | | | | Since repoman uses metadata.dtd for metadata.xml checks, our sources need to include a copy in order to test it. | ||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-25 | 1 | -2/+4 |
| | |||||
* | Enable -Wd for tests, so DeprecationWarning works | Zac Medico | 2011-08-25 | 2 | -2/+2 |
| | | | | | DeprecationWarning is suppressed by default since Python 2.7, so it's a good idea to explicitly enable it for tests. | ||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-25 | 1 | -0/+13 |
| | |||||
* | TestCase: remove python 2.4 compat constructor | Zac Medico | 2011-08-25 | 1 | -9/+5 |
| | |||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-25 | 7 | -7/+33 |
| | |||||
* | Improve a comment. | Arfrever Frehtes Taifersar Arahesis | 2011-08-25 | 1 | -1/+1 |
| | |||||
* | Add some comments, which will allow to easier find code, which should be | Arfrever Frehtes Taifersar Arahesis | 2011-08-25 | 6 | -0/+7 |
| | | | | removed when support for older versions of Python is removed. | ||||
* | die: defer die hooks for EAPI 4 helpers_die | Zac Medico | 2011-08-25 | 1 | -1/+6 |
| | | | | This will fix bug #380625. | ||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-24 | 5 | -13/+34 |
| | |||||
* | python3.2 fixes: use array.tobytes() | Zac Medico | 2011-08-24 | 5 | -11/+27 |
| | |||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-24 | 6 | -17/+38 |
| | |||||
* | ElementTree: use iter if available (bug #380565) | Zac Medico | 2011-08-24 | 1 | -2/+11 |
| | |||||
* | SafeConfigParser: renamed to ConfigParser in 3.2 | Zac Medico | 2011-08-24 | 2 | -3/+13 |
| | |||||
* | make.conf.5: document EMERGE_WARNING_DELAY | Zac Medico | 2011-08-22 | 1 | -0/+6 |
| | |||||
* | 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 |
| | |||||
* | Improve the invalid profile msg (bug 379327). | Mark Wagner | 2011-08-15 | 1 | -4/+4 |
| | |||||
* | emerge --search: account for USE in fetch size | Zac Medico | 2011-08-14 | 1 | -7/+19 |
| | |||||
* | egencache: add --portdir-overlay option | Zac Medico | 2011-08-13 | 2 | -0/+13 |
| | | | | This will fix bug #353648. | ||||
* | config: blacklist vars loaded from profile.env | Zac Medico | 2011-08-13 | 1 | -0/+11 |
| | |||||
* | config: blacklist GREP_OPTIONS variable | Zac Medico | 2011-08-13 | 1 | -1/+1 |
| | | | | | This variable could cause interference with the ebuild environment and portage shell code, like in bug 370085. | ||||
* | 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 |
| | |||||
* | Fix log uid for logrotate-3.8 compat (bug 378451) | Zac Medico | 2011-08-12 | 3 | -5/+55 |
| | | | | | | | | | | | If PORT_LOGDIR is writable by the portage group but its uid is not portage_uid, then set the uid to portage_uid if we have privileges to do so, and also copy the uid to the logfile. This fixes logrotate chown failures during the compression phase, when it attempts to copy the uid from the logfile to a temp file. With the "su portage portage" directive and logrotate-3.8.0, logrotate's chown call during the compression phase will only succeed if the log file's uid is portage_uid. | ||||
* | resume_depgraph: prune all indirect unsatisfied | Zac Medico | 2011-08-10 | 1 | -6/+6 |
| | | | | This should fix some cases of bug 378187. | ||||
* | repoman: add --if-modified option to check less | Zac Medico | 2011-08-10 | 2 | -0/+18 |
| | | | | | | 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. | ||||
* | repoman: check more helper calls for $D, $ED... | Zac Medico | 2011-08-08 | 1 | -1/+1 |
| | | | | | | This adds docinto, docompress, fowners and fperms to the variable.usedwithhelpers check. Notably absent is dosed since that supports mixed input. This will fix bug #377303. | ||||
* | Package: remove unused profile.system mask type | Zac Medico | 2011-08-08 | 1 | -1/+0 |
| | |||||
* | Remove "profile" mask support as per PMS 5.2.7. | Zac Medico | 2011-08-08 | 5 | -14/+4 |
| | | | | | | | | Since this is considered a "legacy" feature by PMS 5.2.7, there shouldn't be any need to support it anymore. Profiles can use package.mask to get similar results, and package.mask additionally allows for comments which are conveniently displayed by emerge. This will fix bug #377907. | ||||
* | _check_temp_dir: check for 'portage' symlink | Zac Medico | 2011-08-08 | 1 | -3/+24 |
| | | | | This will fix bug #378403. | ||||
* | fetch: handle non-essential statvfs failure | Zac Medico | 2011-08-06 | 1 | -1/+10 |
| | |||||
* | unmerge: remove more info dir files for #323213 | Zac Medico | 2011-08-06 | 1 | -1/+5 |
| | | | | | Treat any directory named "info" as a candidate here, since it might have been in INFOPATH previously even though it may not be there now. | ||||
* | portageq: fix short help display for leading \n | Zac Medico | 2011-08-05 | 1 | -1/+1 |
| | |||||
* | unmerge: remove generated info "dir" files | Zac Medico | 2011-08-04 | 1 | -0/+40 |
| | | | | | | These files are generated by emerge, so we need to remove them when they are the only thing left in the directory. This will fix bug #323213. | ||||
* | action_info: don't mix print with writemsg_stdout | Zac Medico | 2011-08-04 | 2 | -47/+46 |
| | | | | | This should prevent strange output buffering/order issues reported when piping output to head. | ||||
* | portageq best_visible: support optional pkgtype | Zac Medico | 2011-08-04 | 1 | -11/+49 |
| | |||||
* | Scheduler: fix parallel-fetch order with --jobs=1 | Zac Medico | 2011-08-02 | 1 | -0/+7 |
| | | | | | | This avoids a case where the first prefetcher is discarded, causing the second prefetcher to occupy the fetch queue before the first fetcher has an opportunity to execute. | ||||
* | 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. | ||||
* | unmerge: display preserved syms in ascending ord | Zac Medico | 2011-08-02 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | depgraph: fix duplicate zero pkg count display | Zac Medico | 2011-08-01 | 1 | -1/+1 |
| | |||||
* | unmerge: unmerge symlinks broken by rmdir | Zac Medico | 2011-08-01 | 1 | -7/+29 |
| | | | | | This prevents some more false alarms from commit 4bb08136f073024c5d31dceb1618b6f4e7246369. | ||||
* | post_emerge: just return instead of sys.exit() | Zac Medico | 2011-08-01 | 1 | -7/+1 |
| | |||||
* | unmerge: fix false alarm about protected symlinksv2.2.0_alpha49 | Zac Medico | 2011-07-29 | 1 | -1/+1 |
| | | | | | | | The error message about preserved symlinks, from commit 4bb08136f073024c5d31dceb1618b6f4e7246369, should only be triggered in cases when the package being unmerged has the given path listed as a symlink in its CONTENTS. |