summaryrefslogtreecommitdiffstats
path: root/pym/portage/const.py
Commit message (Collapse)AuthorAgeFilesLines
* portage.const: toggle constants for stable branchZac Medico2013-01-241-4/+4
|
* Use unicode_literals more.Zac Medico2013-01-181-1/+3
| | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3.
* Add FEATURES=merge-sync, for bug #439584.Zac Medico2012-10-251-0/+1
|
* Add preserve-libs for stable branch (not default)Zac Medico2012-09-211-12/+1
| | | | | | | | | EAPI 5 supports automatic rebuilds via the slot-operator and sub-slots, which makes preserve-libs much more user-friendly, since it makes @preserved-rebuild unnecessary (also see bug #364425 for explanation of @preserved-rebuild shortcomings). Therefore, enable preserve-libs for the stable branch, but not by default. After EAPI 5 is widely adopted, we can consider enabling preserve-libs by default.
* Add _DEPCLEAN_LIB_CHECK_DEFAULT constant.Zac Medico2012-09-211-0/+1
| | | | | This will allow for the option to be available in the stable branch without changing the default --depclean behavior.
* Enable official EAPI 5 support.v2.2.0_alpha130Zac Medico2012-09-201-1/+1
| | | | | | The council has officialy approved EAPI 5 in PMS: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=99c78a51ff4c9737cdd399620072abdc14f8df11
* MAKE_CONF_FILE: refer to /etc/portage/make.confZac Medico2012-09-191-1/+1
| | | | | | | | | | This is, or will soon soon be the default location of make.conf in stages: http://sources.gentoo.org/gitweb/?p=proj/gentoo-news.git;a=blob_plain;f=2012/2012-09-09-make.conf-and-make.profile-move/2012-09-09-make.conf-and-make.profile-move.en.txt This update is consistent with the PROFILE_PATH update in commit 96b053ac52fa37fdd61cbb76cb44dfb90fb49f86.
* Prefer /etc/portage/make.profile.v2.2.0_alpha126Zac Medico2012-09-121-1/+1
| | | | | | | | | This is the default location used by current versions of eselect profile, and will soon be the default location in stages. Since eselect profile generates a warning if both /etc/make.profile and /etc/portage/make.profile exist, the new default should be fairly safe (although eselect profile currently prefers /etc/make.profile when both exist).
* Remove FEATURES=parse-eapi-ebuild-headZac Medico2012-08-291-1/+0
| | | | | | | | It's already been enabled by default in stable portage for awhile now, so it should be safe to enable it unconditionally. The PMS eapi-5 branch also says that it's mandatory to parse the EAPI: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=91d1e1e39b034bde7e5b981a5616a127135f37fa
* EAPI 5: Profile IUSE injectionZac Medico2012-08-291-1/+3
| | | | | See bug #176467 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=d9040ab3482af5f790368bac5d053bf1cd760ba8
* Portage writes a compressed copy of 'Packages' index file.W-Mark Kubacki2012-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This behaviour is enabled by FEATURES="compress-index". The resulting file is 'Packages.gz' and its modification time will match that of 'Packages'. Web-servers use that copy to avoid repeated on-the-fly compression. In order to re-use 'atomic_ofstream' usage of 'codecs.zlib_codec' has been considered and discarded, because 'GzipFile' yields smaller files. (According to Mark's tests 62% smaller.) Example usage, Nginx: location =/Packages { gzip_static on; default_type text/plain; } Apache httpd (use with caution): RewriteRule ^(.*)/Packages$ $1/Packages.gz [T=text/plain,E=GZIP:gzip,L] <FilesMatch "Packages\.gz$"> Header set Content-Encoding gzip </FilesMatch>
* const: Adjust MANIFEST2_* for new defaultsZac Medico2012-07-041-6/+8
|
* portage.const: tweak preserve-libs conditionalZac Medico2012-07-021-3/+3
|
* Support FEATURES={downgrade,unmerge}-backupZac Medico2012-07-011-1/+3
| | | | This will fix bug #156282 and bug #424275.
* Enable /etc/portage/sets for stable, bug #384061.Zac Medico2012-06-221-4/+1
|
* InheritEclass: add stable / conservative modeZac Medico2012-06-011-0/+1
|
* Remove portage.const._ENABLE_XATTR.v2.2.0_alpha85Zac Medico2012-02-041-6/+0
|
* add support for compressing debug sections to save spaceMike Frysinger2012-01-141-1/+1
| | | | | | | | | | | Since binutils/gdb can compress the .debug* sections with zlib into .zdebug*, we should be able to save quite a bit of space -- on my system, I saw /usr/lib/debug/ go from ~20GB to ~7.5GB. This requires binutils/gdb to be built with USE=zlib which is why this defaults to off. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add FEATURES=config-protect-if-modified support.Zac Medico2011-12-241-0/+1
| | | | | This causes the CONFIG_PROTECT behavior to be skipped for files that have not been modified since they were installed.
* Remove _SANDBOX_COMPAT_LEVEL.Zac Medico2011-12-101-1/+0
|
* Add _ENABLE_XATTR constant for the stable branch.Zac Medico2011-12-101-0/+6
|
* const.py: fix spelling of a commentZac Medico2011-12-101-1/+1
|
* Rename override var to PORTAGE_OVERRIDE_EPREFIX.Zac Medico2011-12-091-2/+2
|
* Use portage.const.EPREFIX more.Zac Medico2011-12-091-4/+0
|
* Support FEATURES=xattr.Zac Medico2011-12-091-1/+1
|
* Add portage.const.EPREFIX, for prefix installs.Zac Medico2011-12-081-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).
* Support FEATURES=force-prefix.Zac Medico2011-12-081-1/+1
| | | | | | | 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.
* Remove FEATURES=fixpackages support.v2.2.0_alpha67Zac Medico2011-10-111-1/+1
| | | | | | | This reduces the probability of users encountering issues related to package moves when they disable --dynamic-deps, and --package-moves=n can be set in EMERGE_DEFAULT_OPTS if package moves need to be temporarily avoided for some reason.
* GLEP 59: use manifest-hashes list in layout.confZac Medico2011-10-031-4/+7
| | | | | | | | | | | | | The manifest-hashes layout.conf setting simply overrides the hashes that are generated. When unspecified, the MANIFEST2_HASH_DEFAULTS constant is used instead (current value contains SHA1, SHA256, and RMD160). In order to enable SHA512 and WHIRLPOOL, and drop RMD160 and SHA1, simply set "manifest-hashes = SHA256 SHA512 WHIRLPOOL" in layout.conf. As with the previous boolean flags approach, manifest-hashes settings become redundant and can be removed from layout.conf after a version of portage with equivalent defaults is stable.
* Implement GLEP 59 with control via layout.conf.Zac Medico2011-10-021-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The portage.const changes are derived from an earlier patch that was submitted by Robin H. Johnson <robbat2@gentoo.org>: http://archives.gentoo.org/gentoo-portage-dev/msg_911574e7cb615f67e4c21fc75c043f65.xml This patch has no affect on a repository unless it contains a metadata/layout.conf file which contains boolean flags that enable or disable manifest hash types. The plan is to deploy portage with this patch, and once it has been stabilized, add the following metadata/layout.conf settings to gentoo-x86: manifest-rmd160 = false manifest-sha1 = false manifest-whirlpool = true The above settings will become the default settings in a future portage release, making them redundant and eligible for removal from layout.conf (in order to avoid cluttering layout.conf with obsolete information). Future events: After WHIRLPOOL is supported in stable portage: - Add WHIRLPOOL to MANIFEST2_HASH_DEFAULTS. - Remove SHA1 and RMD160 from MANIFEST2_HASH_*. - Toggle gentoo-x86/metadata/layout.conf settings to match. After WHIRLPOOL is supported in stable portage for at least 1 year: - Change MANIFEST2_REQUIRED_HASH to WHIRLPOOL. - Remove SHA256 from MANIFEST2_HASH_*. - Toggle gentoo-x86/metadata/layout.conf settings to match. After SHA-3 is approved: - Add new hashes to MANIFEST2_HASH_*. After SHA-3 is supported in stable portage: - Toggle gentoo-x86/metadata/layout.conf settings to match. After layout.conf settings correspond to defaults in stable portage: - Remove redundant settings from gentoo-x86/metadata/layout.conf.
* manifest: controllable per repoBrian Harring2011-09-271-1/+0
| | | | | | | | | | | This adds three states to layout.conf key use-manifest; false, true, and strict. false means "don't use manifests at all" true means "use and generate manifests, but allow them to be missing" strict means "manifests must be used everywhere in this repo" BUG=chromium-os:11308 TEST=repoman manifest usage.
* Add FEATURES=clean-logs support.Zac Medico2011-08-311-1/+2
| | | | | | | Enable automatic execution of the command specified by the PORT_LOGDIR_CLEAN variable. The default PORT_LOGDIR_CLEAN setting will remove all files from PORT_LOGDIR that were last modified at least 7 days ago.
* add FEATURES=allow-missing-manifestsBrian Harring2011-07-061-0/+1
| | | | | | | The feature is as it sounds- primarily useful for temporary trees or instances where manifests aren't used. Signed-off-by: Brian Harring <ferringb@gmail.com>
* Remove unimplemented "severe" FEATURES value.Zac Medico2011-06-281-1/+1
| | | | This will fix bug #373301.
* Add FEATURES=distcc-pump support.MATSUU Takuto2011-05-201-1/+1
| | | | This will fix bug #288597.
* Add FEATURES=parallel-install for finer locks.Zac Medico2011-05-071-1/+2
|
* Rename FEATURES=no-ebuild-locks to ebuild-locks.Zac Medico2011-05-071-2/+2
|
* Use finer grained locks for install.David James2011-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Narrow scope of merge locks to improve performance. Instead of locking the DB for the entire package merge, just lock it when we actually need to do so. Also add locks around conf_mem_file updating and pkg_* phases. Locking in pkg_* phases can be turned off with FEATURES="no-ebuild-locks" if you use ebuilds that are careful not to mess with each other during theses phases. The default is to leave this locking enabled. Given this new locking, I've improved the scheduler to run merge jobs in parallel. Time required for merging 348 packages with --usepkgonly: - Before patch: 29m50s - After patch: 10m2s - After patch w/o locks: 7m9s Change-Id: I63588c4cc59fa6fe2f8327ea1e4a9e71b241d4fe Review URL: http://gerrit.chromium.org/gerrit/498
* Update timestamps in headers of modified files.Zac Medico2011-04-131-1/+1
|
* Add force-mirror FEATURE.David James2011-04-071-2/+2
| | | | | | | | | | | | | force-mirror: Only fetch files from configured mirrors, ignoring SRC_URI, except when mirror is in the ebuild(5) RESTRICT variable. BUG=chromium-os:13221 TEST=Test that ebuilds now fail with FEATURES=force-mirror if files are not in the configured mirror. Change-Id: I8484d5af8dff97b431398030b33c024ff1295ba0 Review URL: http://codereview.chromium.org/6677171
* portage.const: bump EAPI to 4 (council approved)Zac Medico2010-12-301-1/+1
|
* Remove remnants of parse-eapi-glep-55.Arfrever Frehtes Taifersar Arahesis2010-11-061-1/+1
|
* Add binpkg-logs to the list of supported features.Arfrever Frehtes Taifersar Arahesis2010-09-231-2/+2
|
* document DEPCACHE_PATH GLOBAL_CONFIG_PATH getting EPREFIX-edFabian Groffen2010-09-051-1/+4
|
* fix comments to match latest intentions in the codeFabian Groffen2010-09-041-5/+4
|
* Add a _SANDBOX_COMPAT_LEVEL constant which will be used to enableZac Medico2010-09-021-0/+1
| | | | a workaround for bug #288863 in the stable branch.
* Bug #248603 - Add a _ENABLE_REPO_NAME_WARN constant that's used toZac Medico2010-09-021-0/+1
| | | | | disable warnings about "missing repo_name entries" for the stable branch.
* Bug #326561 - Implement FEATURES=unknown-features-filter. This is notZac Medico2010-08-301-1/+1
| | | | | enabled by default now, but it may be in the future, depending on feedback from unknown-features-warn.
* Add some private constants for use in conditional code in order toZac Medico2010-08-301-0/+18
| | | | minimize the diff between branches.
* Add the chflags and selinux values to SUPPORTED_FEATURES.Zac Medico2010-08-271-2/+2
|