Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | config: set PORTAGE_OVERRIDE_EPREFIX for subprocs | Zac Medico | 2011-12-09 | 1 | -0/+5 | |
| | ||||||
* | Rename override var to PORTAGE_OVERRIDE_EPREFIX. | Zac Medico | 2011-12-09 | 4 | -5/+5 | |
| | ||||||
* | create_trees: add public eprefix parameter | Zac Medico | 2011-12-09 | 2 | -6/+4 | |
| | ||||||
* | config: make eprefix constructor parameter public | Zac Medico | 2011-12-09 | 3 | -10/+6 | |
| | ||||||
* | config: constructor default portage.const.EPREFIX | Zac Medico | 2011-12-09 | 1 | -1/+2 | |
| | ||||||
* | Use portage.const.EPREFIX more. | Zac Medico | 2011-12-09 | 6 | -9/+7 | |
| | ||||||
* | portage.util.movefile._copyxattr(): Print more informative exception | Arfrever Frehtes Taifersar Arahesis | 2011-12-10 | 1 | -3/+18 | |
| | | | | when target filesystem does not support extended attributes. | |||||
* | Add portage.exception.OperationNotSupported exception. | Arfrever Frehtes Taifersar Arahesis | 2011-12-10 | 1 | -0/+4 | |
| | ||||||
* | Binpkg: ensure $ED exists after extraction | Zac Medico | 2011-12-09 | 1 | -0/+1 | |
| | ||||||
* | Binpkg: handle missing dir after chpathtool | Zac Medico | 2011-12-09 | 1 | -5/+11 | |
| | ||||||
* | Binpkg: fix os.path.dirname() usage | Zac Medico | 2011-12-09 | 1 | -1/+1 | |
| | | | | It doesn't behave as intended for $ED which has a trailing slash. | |||||
* | Binpkg: add chpathtool support for prefix | Zac Medico | 2011-12-09 | 1 | -5/+59 | |
| | | | | | | This uses a python-based chpathtool implementation which is intended to be compatible with the C-based implemenation that the prefix branch uses. | |||||
* | BinpkgEnvExtractor: fix PORTAGE_LOG_FILE spelling | Zac Medico | 2011-12-09 | 1 | -2/+2 | |
| | ||||||
* | Support FEATURES=xattr. | Zac Medico | 2011-12-09 | 2 | -3/+6 | |
| | ||||||
* | portage.util.movefile._copyxattr(): Support usage of xattr module from | Arfrever Frehtes Taifersar Arahesis | 2011-12-10 | 1 | -18/+27 | |
| | | | | dev-python/pyxattr. | |||||
* | portage.util.movefile._copyxattr(): Support usage of getfattr and | Arfrever Frehtes Taifersar Arahesis | 2011-12-10 | 1 | -4/+23 | |
| | | | | setfattr executables. | |||||
* | data.py: grp/pwd struct attrs, not indexes | Zac Medico | 2011-12-09 | 1 | -2/+2 | |
| | ||||||
* | Auto-generate PORTAGE_GRP/USERNAME for prefix. | Zac Medico | 2011-12-09 | 1 | -0/+20 | |
| | | | | | | For prefix environments, default to the UID and GID of the top-level EROOT directory. This allows us to avoid using hardcoded defaults. It's still possible to override these variables via make.conf. | |||||
* | Auto-generate PORTAGE_INST_GID/UID for prefix. | Zac Medico | 2011-12-09 | 1 | -4/+20 | |
| | | | | | | For prefix environments, default to the UID and GID of the top-level EROOT directory. This allows us to avoid using hardcoded defaults. It's still possible to override these variables via make.conf. | |||||
* | Delete portage.dbapi.porttree._repo_info class and _repo_info attribute of | Arfrever Frehtes Taifersar Arahesis | 2011-12-09 | 3 | -27/+9 | |
| | | | | | portage.dbapi.porttree.portdbapi objects. Migrate consumers to repositories attribute of portage.dbapi.porttree.portdbapi objects. | |||||
* | tests/bin: sanitize env | Zac Medico | 2011-12-08 | 1 | -3/+3 | |
| | | | | This fixes interference from FEATURES=force-prefix in the env. | |||||
* | Add eclass_db attribute in portage.repository.config.RepoConfig objects. | Arfrever Frehtes Taifersar Arahesis | 2011-12-09 | 2 | -17/+23 | |
| | ||||||
* | load_emerge_config: init portage.data earlier | Zac Medico | 2011-12-08 | 1 | -7/+10 | |
| | | | | | The portage_uid initialization here must to happend before the _init_dirs() calls. | |||||
* | Enable PORTAGE_GRPNAME/USERNAME in make.conf. | Zac Medico | 2011-12-08 | 4 | -59/+118 | |
| | | | | | | | | This is handy for prefix installs, since it allows these variables to be set in make.conf rather than having them hardcoded. Eventually, the corresponding portage.data constants may be deprecated in favor of config attributes, since it's conceivable that multiple configurations with different constants could be used simultaneously. | |||||
* | Add portage.const.EPREFIX, for prefix installs. | Zac Medico | 2011-12-08 | 1 | -0/+18 | |
| | | | | | | | The EPREFIX for the current install is hardcoded here, but access to this constant should be minimal, in favor of access via the EPREFIX setting of a config instance (since it's possible to contruct a config instance with a different EPREFIX). | |||||
* | dispatch-conf: substitute ${EPREFIX} archive-dir | Zac Medico | 2011-12-08 | 1 | -0/+5 | |
| | | | | This allows prefix installs to avoid hardcoding archive-dir. | |||||
* | make.globals: use ${EPREFIX} for PORTDIR, etc... | Zac Medico | 2011-12-08 | 1 | -0/+3 | |
| | ||||||
* | Use 'wget' instead of /usr/bin/wget everywhere. | Zac Medico | 2011-12-08 | 1 | -1/+1 | |
| | | | | This reduces the amount of patching needed for prefix installs. | |||||
* | Whitelist/filter __PORTAGE_TEST_EPREFIX. | Zac Medico | 2011-12-08 | 1 | -1/+1 | |
| | ||||||
* | Support FEATURES=force-prefix. | Zac Medico | 2011-12-08 | 2 | -11/+8 | |
| | | | | | | | This adjusts the logic from commit ff52f9dc31004becb8022e6437088d01917f413c to use FEATURES=force-prefix instead of USE=prefix. This has the advantage that we don't have to make any assumptions about the USE=prefix. | |||||
* | dispatch-conf: experimental prefix support | Zac Medico | 2011-12-07 | 1 | -2/+3 | |
| | ||||||
* | Make USE=prefix enable EPREFIX in all EAPIs. | Zac Medico | 2011-12-07 | 1 | -2/+11 | |
| | | | | | | | | This is safe because the prefix flag should be masked in all non-prefix profiles, and older EAPIs would otherwise be useless with prefix configurations. This brings compatibility with the prefix branch of portage, which also supports EPREFIX for all EAPIs (for obvious reasons). | |||||
* | action_sync: fix git_sync_timestamps KeyError | Zac Medico | 2011-12-06 | 1 | -8/+15 | |
| | | | | This fixes the case where $PORTDIR doesn't exist prior to sync. | |||||
* | fix logic from last commit | Zac Medico | 2011-12-04 | 1 | -1/+2 | |
| | ||||||
* | depgraph: fix case insensitive search for unsat | Zac Medico | 2011-12-04 | 1 | -3/+11 | |
| | | | | | | | This fixes an interaction between the code from commits 9ce6da43ab90c4dab97ebf3b8339e5dbc113a0a8 and cbe44d92ff13b8a22f5b4215b73078ce600c6bf4, so that we don't discard matches that are identical except for differnces in upper/lower case. | |||||
* | action_depclean: fix return code | Zac Medico | 2011-12-02 | 2 | -5/+10 | |
| | | | | | | The fixes some cases where emerge.log would show that depclean was unsuccessful when it was really successful but there was nothing to remove. | |||||
* | Handle OSError from os.read and loop if needed. | Zac Medico | 2011-12-01 | 3 | -23/+29 | |
| | | | | | | Looping fixes EbuildMetadataPhase failures for ebuilds that produce more than 4096 bytes of metadata, broken since commit b432a1b3051d91546649e8f3190675767461d8e8. | |||||
* | process._exec: tweak opt_name for PyPy | Zac Medico | 2011-12-01 | 1 | -1/+6 | |
| | | | | | PyPy 1.7 will die due to "libary path not found" if argv[0] does not contain the full path of the binary. | |||||
* | PipeReader: use os.read/write | Zac Medico | 2011-12-01 | 1 | -19/+11 | |
| | ||||||
* | test_uniqueArray.py: fix 'is' usage PyPy incompat | Zac Medico | 2011-12-01 | 1 | -3/+3 | |
| | ||||||
* | AsynchronousLock: use os.read/write | Zac Medico | 2011-12-01 | 1 | -15/+28 | |
| | | | | | | Similar to commit b432a1b3051d91546649e8f3190675767461d8e8, don't use unecessary file objects. It also happens that these changes fix compatibility issues with PyPy. | |||||
* | checksum.py: detect PyPy crashes in hashlib | Zac Medico | 2011-12-01 | 1 | -0/+29 | |
| | | | | | | | | Use a fork to try and PyPy by digesting random data with hashlib functions. It doesn't look like a bug has been reported upstream for this yet, so it may or may not be reproducible by others. Anyway, this allows me to avoid crashing the main PyPy process until I find a real fix. | |||||
* | _emerge/EbuildMetadataPhase.py: use os.read() | Zac Medico | 2011-12-01 | 1 | -7/+13 | |
| | | | | | | There's no need for a file object, and file objects introduce complexity that can lead to bugs as mentioned in bug 337465 comment 31, so use os.read() directly on the file descriptor. | |||||
* | _emerge/SubProcess.py: support int fd in _files | Zac Medico | 2011-12-01 | 1 | -1/+4 | |
| | ||||||
* | MergeProcess: check if _elog_reader_fd is None | Zac Medico | 2011-12-01 | 1 | -1/+1 | |
| | | | | | It seems saner to check for None, given that _elog_reader_fd is an int, even though it will probably never be zero. | |||||
* | locks.py: use flock with PyPy for issue 747 | Zac Medico | 2011-12-01 | 1 | -0/+5 | |
| | ||||||
* | doebuild: disable noauto for binary packages | Zac Medico | 2011-11-29 | 1 | -0/+4 | |
| | ||||||
* | movefile: tweak unicode handling | Zac Medico | 2011-11-28 | 1 | -8/+12 | |
| | ||||||
* | movefile: chown/mod before rename | Zac Medico | 2011-11-28 | 1 | -15/+7 | |
| | ||||||
* | movefile: avoid redundant string concatenations | Zac Medico | 2011-11-28 | 1 | -6/+7 | |
| |