summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* hardlink_lockfile: preserve existing permissionsZac Medico2011-12-141-2/+6
|
* lockfile: deprecate file object or fd parametersZac Medico2011-12-131-1/+11
| | | | | | | Support for file object or integer file descriptor parameters is deprecated due to ambiguity in whether or not it's safe to close the file descriptor, making it prone to "Bad file descriptor" errors or file descriptor leaks.
* emergelog: pass path to lockfile, not file objectZac Medico2011-12-131-6/+3
|
* SpawnProcess: use /dev/null fd from subclassZac Medico2011-12-131-14/+17
|
* hardlink_lockfile: optimize away most link callsZac Medico2011-12-131-30/+41
| | | | | | If fstat shows more than one hardlink, then it's extremely unlikely that the following link call will result in a lock, so optimize away the wasteful link call and sleep or raise TryAgain.
* ebuild-ipc.py: return 2 when forked child crashesZac Medico2011-12-131-2/+2
|
* hardlink_is_mine: return False, never NoneZac Medico2011-12-131-1/+2
|
* emerge: disable --quiet-build by defaultZac Medico2011-12-133-5/+3
| | | | | | | | | This reverts the behavior change from commit 0cc174b6fc28feb26ea151d76f794e0ff2c2fa39, since Gentoo's council has voted to revert it in their 20111213 meeting, as requested on the gentoo-project mailing list: http://archives.gentoo.org/gentoo-project/msg_4e282bb4e6ac2611de2a39171a803c48.xml
* locks.py: fix hardlink locks for bug #394195Zac Medico2011-12-137-61/+200
| | | | | | This updates the hardlink locking code to support the non-blocking, lockfile(wantnewlockfile=False), and lockfile(file_object) behaviors which are used by portage code.
* ebuils-ipc.py: _exit in finally block after forkZac Medico2011-12-131-11/+27
|
* locks.py: make hardlink lock files hiddenZac Medico2011-12-131-4/+6
| | | | | This is for consistency with the behavior for normal lock files, since commit ce44ea3e914098a52bc0d1d995e71661659e77ca (bug #142369).
* RepoConfigLoader: masters eclass override orderZac Medico2011-12-131-1/+6
| | | | | | | | Only append the current repo to eclass_locations if it's not there already. This allows masters to have more control over eclass override order, which may be useful for scenarios in which there is a plan to migrate eclasses to a master repo. Thanks to Brian Harring <ferringb@gentoo.org) for suggesting this behavior.
* FifoIpcDaemon: use plain fd instead of fdopenZac Medico2011-12-131-8/+8
|
* AbstractEbuildProcess: interactive pkg_configZac Medico2011-12-131-0/+2
|
* AbstractEbuildProcess: null in if not interactiveZac Medico2011-12-131-1/+13
|
* config: use frozenset for _constant_keys lookupZac Medico2011-12-131-11/+14
|
* Don't nest sandbox in emerge/repoman tests.Zac Medico2011-12-112-1/+6
|
* data._init(): use 'portage' default in first callv2.2.0_alpha80Zac Medico2011-12-111-9/+7
|
* load_emerge_config: change order of code backZac Medico2011-12-101-7/+6
| | | | | A couple of recent commits touched this function, and code got moved around unnecessarily.
* PORTAGE_OVERRIDE_EPREFIX: alphabetize varsZac Medico2011-12-102-5/+5
|
* Remove _SANDBOX_COMPAT_LEVEL.Zac Medico2011-12-105-17/+3
|
* Add _ENABLE_XATTR constant for the stable branch.Zac Medico2011-12-102-2/+8
|
* ResolverPlayground: don't nest sandboxZac Medico2011-12-101-0/+4
|
* data.py: avoid portage.settings when possibleZac Medico2011-12-101-4/+16
|
* lock-helper.py: disable_legacy_globalsZac Medico2011-12-101-0/+1
| | | | This prevents the portage.data module from accessing portage.settings.
* data.py: rename var to _portage_usernameZac Medico2011-12-101-8/+8
|
* config: init data/output modules in constructorZac Medico2011-12-104-8/+8
| | | | | The first constructed config object initializes these modules, and subsequent calls to the _init() functions have no effect.
* config: skip unneeded constructor code for clonesZac Medico2011-12-101-4/+4
|
* const.py: fix spelling of a commentZac Medico2011-12-101-1/+1
|
* Make eprefix=None params map to const.EPREFIXZac Medico2011-12-103-5/+6
|
* actions.py: fix grammar in commentZac Medico2011-12-101-1/+1
|
* Binpkg: move imports to topZac Medico2011-12-101-2/+2
|
* repoman: eliminate eclass_db variableZac Medico2011-12-101-3/+2
|
* Use portage.shutil for safer unicode handling.Zac Medico2011-12-1015-19/+16
|
* vartree.py: lazy movefile importZac Medico2011-12-101-1/+1
|
* movefile.py: open /dev/null in binary modeZac Medico2011-12-101-1/+1
|
* get_term_size: all values >= 0 for bug #394091Zac Medico2011-12-101-5/+10
|
* Remove redundant eprefix in config constructors.Zac Medico2011-12-102-9/+6
| | | | | Since commit 11a7448f1d5a0bfb38f8de9d66a8fa8d7118c877, the config constructor uses portage.const.EPREFIX by default.
* config.environ: allow prefix vars if no EAPIZac Medico2011-12-101-2/+2
| | | | | This allows access to EPREFIX inside things like post_sync hooks, where EAPI is undefined.
* doebuild: disable noauto for binpkgs laterZac Medico2011-12-101-4/+8
| | | | | This is safer since doebuild_environment() can modify FEATURES if setcpv isn't called before.
* emerge: allow search when profile is missingZac Medico2011-12-091-2/+2
|
* Make portdbapi.eclassdb a property.Zac Medico2011-12-091-1/+7
|
* config: set PORTAGE_OVERRIDE_EPREFIX for subprocsZac Medico2011-12-091-0/+5
|
* Rename override var to PORTAGE_OVERRIDE_EPREFIX.Zac Medico2011-12-095-6/+6
|
* create_trees: add public eprefix parameterZac Medico2011-12-092-6/+4
|
* config: make eprefix constructor parameter publicZac Medico2011-12-095-16/+12
|
* config: constructor default portage.const.EPREFIXZac Medico2011-12-091-1/+2
|
* Use portage.const.EPREFIX more.Zac Medico2011-12-0910-13/+11
|
* portage.util.movefile._copyxattr(): Print more informative exceptionArfrever Frehtes Taifersar Arahesis2011-12-101-3/+18
| | | | when target filesystem does not support extended attributes.
* Add portage.exception.OperationNotSupported exception.Arfrever Frehtes Taifersar Arahesis2011-12-101-0/+4
|