summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Add --human-readable to rsync opts for bug 269410Zac Medico2012-01-121-0/+1
|
* read_corresponding_eapi_file: unicode, bug 398587Zac Medico2012-01-111-1/+3
|
* quickpkg: add leading ./ to names for bug 398543Zac Medico2012-01-111-1/+1
|
* portage.debug.trace_handler.__init__(): Fix compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2012-01-111-2/+2
|
* ExtendedAtomDict: fix for python-traceZac Medico2012-01-101-4/+7
|
* env_update: ldsoconf_update flag not reliableZac Medico2012-01-091-4/+0
| | | | | | | The ldsoconf_update flag was not a reliable indicator of whether or not ldconfig needs to be called, since ld.so.conf can have lines like "include ld.so.conf.d/*.conf" that pull in outside content which may have changed without being detected.
* Set REPOSITORY variable in ebuild environment in EAPI="4-python".Arfrever Frehtes Taifersar Arahesis2012-01-083-7/+15
|
* Set portage-1 as default profile format for repositories using EAPI="4-python".Arfrever Frehtes Taifersar Arahesis2012-01-081-1/+5
|
* Set eapi attribute on portage.repository.config.RepoConfig objects.Arfrever Frehtes Taifersar Arahesis2012-01-081-5/+8
|
* getlibpaths: regex for includeZac Medico2012-01-031-2/+6
|
* Support include directives in ld.so.conf.Michał Górny2012-01-031-1/+12
|
* RepoConfigLoader: don't mix duplicate repo configv2.2.0_alpha84Zac Medico2011-12-281-18/+17
| | | | | | | | RepoConfig.update() was being used to copy attributes from one instance to another, possibly leading to inappropriate mixing of layout.conf attributes from separate copies of the same repo. This is common with repoman, for example, when temporarily overriding an rsync repo with another copy of the same repo from CVS.
* RepoConfig.update(): copy more attributesZac Medico2011-12-273-10/+15
| | | | | | | | | | This fixes a regression since commit 10246cd535f909dda8bd05de617c32d2b8a56b4a which caused layout.conf settings such as thin-manifests to be ignored for repositories that had repos.conf settings that did not specify the repository location. In order to trigger this case, ResolverPlayground has been modified to omit the location of each repository in the repos.conf file that it generates.
* portage.repository.config.RepoConfigLoader: Rename _add_overlays() toArfrever Frehtes Taifersar Arahesis2011-12-251-2/+2
| | | | _add_repositories().
* Add FEATURES=config-protect-if-modified support.Zac Medico2011-12-242-1/+15
| | | | | This causes the CONFIG_PROTECT behavior to be skipped for files that have not been modified since they were installed.
* FakeVartree: implement self.dbapi._aux_cache_keysZac Medico2011-12-241-0/+1
| | | | This will fix bug #395879.
* Fix a typo in a doc string.Arfrever Frehtes Taifersar Arahesis2011-12-241-1/+1
|
* AbstractPollTask: note PipeReaderArrayTestCasev2.2.0_alpha82Zac Medico2011-12-231-2/+2
|
* depgraph.py: remove unused variablesZac Medico2011-12-231-3/+1
|
* _pty.py: remove unused _tested_pty variableZac Medico2011-12-221-2/+0
|
* _pty.py: remove _test_pty_eof()Zac Medico2011-12-222-175/+8
| | | | | | | | | | | If array.fromfile() is not used, then _test_pty_eof() is useless. This function was for runtime detection of python issue 5380: http://bugs.python.org/issue5380 However, array.fromfile() use has since been abandoned due to bugs that exist in all known versions of Python (including Python 2.7 and Python 3.2). See PipeReaderArrayTestCase, for example.
* config.setcpv(): use dbapi._aux_cache_keysZac Medico2011-12-221-1/+4
| | | | | This helps to avoid triggering the environment.bz2 extraction in vardbapi.aux_get().
* _aux_env_search: decode unicode moreZac Medico2011-12-221-0/+3
|
* fetch: don't apply permissions to symlinksZac Medico2011-12-221-9/+16
| | | | | | We don't want to modify anything outside of the primary DISTDIR, and symlinks typically point to PORTAGE_RO_DISTDIRS. This will fix bug #395705.
* search.py: use _aux_cache_keys moreZac Medico2011-12-211-1/+1
| | | | | This helps to avoid triggering the environment.bz2 extraction in vardbapi.aux_get().
* vardbapi._aux_get: unicode EAPI keyZac Medico2011-12-211-1/+1
|
* vardbapi._aux_get: search environment in one passZac Medico2011-12-211-43/+53
|
* vardbapi._aux_get: account for _aux_cache_keys_reZac Medico2011-12-211-1/+2
|
* vardbapi.aux_get: search environment, bug 395463Zac Medico2011-12-211-5/+79
|
* data.py: stat EROOT for PORTAGE_GRPNAME/USERNAMEZac Medico2011-12-211-12/+36
| | | | | The config class has equivalent code, but we also need to do it here if _disable_legacy_globals() has been called.
* hashed_path: implement __repr__Zac Medico2011-12-201-0/+2
|
* Silently allow missing /var/cache/edb/counter.Zac Medico2011-12-201-8/+4
| | | | Files under /var/cache/ are allowed to disappear.
* Force COLUMNS > 0 for bug #394091.Zac Medico2011-12-191-0/+4
|
* Display EROOT when ROOT != "/".Zac Medico2011-12-197-15/+16
| | | | | | | Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, the Package.root and RootConfig.root attributes refer to EROOT instead of ROOT. Therefore, adjust display code so that EROOT is only displayed when ROOT != "/".
* _run_pkg_pretend: doebuild_environment for cleanZac Medico2011-12-181-0/+14
|
* Define portage.repository.config.RepoConfig.__repr__().Arfrever Frehtes Taifersar Arahesis2011-12-181-0/+3
|
* test_poll: separate classes for pipe vs. ptyZac Medico2011-12-181-14/+23
| | | | Also, generate appropriate SKIP message if pty is not acquired.
* PipeReaderArrayTestCase: sleep for fast computersZac Medico2011-12-181-1/+4
| | | | Allows reliable triggering of the failure mode on fast computers.
* RepoConfigLoader._add_overlays(): Rename a variable and add a comment.Arfrever Frehtes Taifersar Arahesis2011-12-181-8/+9
|
* Optimize RepoConfigLoader._add_overlays().Arfrever Frehtes Taifersar Arahesis2011-12-181-7/+3
|
* whitelist COLUMNSZac Medico2011-12-181-1/+1
|
* Parse layout.conf files in portage.repository.config.RepoConfig.__init__()Arfrever Frehtes Taifersar Arahesis2011-12-181-29/+27
| | | | instead of portage.repository.config.RepoConfigLoader.__init__().
* Fix some warnings found by pylint.Arfrever Frehtes Taifersar Arahesis2011-12-1810-63/+25
|
* _show_unsatisfied_dep: avoid invalid, bug #394995Zac Medico2011-12-171-3/+11
|
* tests/emerge: PORTAGE_GRPNAME/USERNAME make.confZac Medico2011-12-161-2/+2
|
* _test_pty_eof: use os.read, not array.fromfileZac Medico2011-12-162-59/+40
| | | | | | We have abandoned array.fromfile() due to bugs that exist in all known versions of Python (including Python 2.7 and Python 3.2). See PipeReaderArrayTestCase, for example.
* test_poll: add note about unbuffered fdopenZac Medico2011-12-161-0/+3
|
* test_poll: fix array testZac Medico2011-12-163-64/+96
| | | | | Since SpawnProcess no longer uses array, add conditional array support to PipeReader and use that for tests.
* PipeReader: use AbstractPollTask._read_buf()Zac Medico2011-12-161-26/+10
|
* SpawnProcess/AbstractPollTask: eliminate arrayZac Medico2011-12-162-25/+8
| | | | | Since commit 30d2d0a9db486c5a70848ad5d27b37a3ec48f271, we use os.read() due to bugs in array.fromfile(). So, eliminate array usage entirely.