Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | emerge: add simple unit tests | Zac Medico | 2011-08-28 | 5 | -2/+148 |
| | | | | | | | These tests are similar to the repoman tests, using a __PORTAGE_TEST_EPREFIX environment variable to make emerge confine itself to a testing prefix so that things like install and uninstall operations can be performed. | ||||
* | Send "Recording in world" msg to stdout. | Zac Medico | 2011-08-28 | 1 | -1/+2 |
| | |||||
* | ResolverPlayground: fix to make emerge happy | Zac Medico | 2011-08-28 | 1 | -1/+15 |
| | |||||
* | env_update: add minimal EPREFIX support | Zac Medico | 2011-08-28 | 2 | -10/+16 |
| | | | | | | | This takes EPREFIX from the env argument and uses it when joining all paths. Also, ldconfig calls are disabled when EPREFIX is non-empty, since it's inappropriate to update the global /etc/ld.so.cache in this case. | ||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-28 | 1 | -2/+7 |
| | |||||
* | test_poll: fix "ResourceWarning: unclosed file" | Zac Medico | 2011-08-28 | 1 | -1/+9 |
| | |||||
* | Sort test cases, for predictable order. | Zac Medico | 2011-08-28 | 1 | -0/+2 |
| | |||||
* | spawnebuild: skip previously executed phases | Zac Medico | 2011-08-28 | 1 | -0/+11 |
| | | | | | | | | | | This simply checks of $PORTAGE_BUILDDIR/.${EBUILD_PHASE%e}ed and skips the phase like ebuild.sh would. It preserves a special case for the install phase with FEATURES=noauto, so that dyn_install in ebuild.sh continues to work the same for this case.. Also, note that commit ae9b6cb513c7b29376caecf3b4e52aac452e2b93 preserves the automatic "recreating WORKDIR" behavior that used to be implemented in dyn_unpack. | ||||
* | doebuild: avoid redundant distfiles checks | Zac Medico | 2011-08-28 | 2 | -36/+71 |
| | | | | | | | | | 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. | ||||
* | Fix possible NameError in finally block. | Zac Medico | 2011-08-28 | 1 | -1/+3 |
| | |||||
* | Fix "ResourceWarning: unclosed file" with Python 3.2. | Arfrever Frehtes Taifersar Arahesis | 2011-08-28 | 1 | -2/+5 |
| | |||||
* | Fix "ResourceWarning: unclosed file" with Python 3.2. | Arfrever Frehtes Taifersar Arahesis | 2011-08-27 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-26 | 3 | -6/+14 |
| | |||||
* | Update --rebuild-if-* flags to rebuild when build dependencies are changed. | David James | 2011-08-26 | 4 | -137/+110 |
| | | | | | | | | | | | | | | Right now, the --rebuild-if-* flags only rebuild packages that are used at both run-time and build-time. This doesn't help for packages that are used only at build-time (for example, static libaries). Rebuilding packages whenever a build-time dependency is changed is easier to understand and explain, and it handles all cases correctly. BUG=chromium-os:15517 TEST=Run emerge test suite. Change-Id: Iae8dab24e8acb6625bc1a0ce41862e90b232eb84 | ||||
* | Fix EPREFIX/EROOT typo in repoman test. | Zac Medico | 2011-08-26 | 1 | -1/+1 |
| | |||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-26 | 3 | -2/+6 |
| | |||||
* | 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. |