Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix env_update() calls to use EROOT. | Zac Medico | 2010-08-21 | 2 | -3/+6 |
| | |||||
* | Bug #324191 - Add support for FEATURES=compress-build-logs. The causes | Zac Medico | 2010-08-21 | 17 | -171/+132 |
| | | | | | | | all build logs to be compressed while they are being written. Log file names have an extension that is appropriate for the compression type. Currently, only gzip(1) compression is supported, so build logs will have a '.gz' extension when this feature is enabled. | ||||
* | When accessing pkgsettings.features inside Scheduler._generate_digests(), | Zac Medico | 2010-08-21 | 1 | -0/+8 |
| | | | | | ensure that we are using global features settings rather than those from package.env. | ||||
* | Add a deprecation warning to FetchlistDict.has_key(). | Zac Medico | 2010-08-21 | 1 | -0/+3 |
| | |||||
* | Add a deprecation warning for the unused justmanifest parameter of | Zac Medico | 2010-08-21 | 1 | -1/+11 |
| | | | | digestcheck(). | ||||
* | Quote arrays in QA_PREBUILT handling. | Zac Medico | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | Add support for a QA_PREBUILT variable should contain a list of | Zac Medico | 2010-08-21 | 2 | -0/+30 |
| | | | | | | pre-built binaries. Paths listed here will be appended to each of the other QA_* variables. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion. | ||||
* | Add upstream.workaround warning for addpredict calls. Thanks to | Zac Medico | 2010-08-21 | 2 | -2/+9 |
| | | | | Diego Pettenò <flameeyes@g.o> for the suggestion. | ||||
* | Fix broken reference to portage._validate_cache_for_unsupported_eapis. | Zac Medico | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | Add a wrapper around config.features that provides the following | Zac Medico | 2010-08-21 | 6 | -70/+125 |
| | | | | | | | | | | | | | | | | enhancements: * The FEATURES variable is automatically synchronized upon modification. * Modifications result in a permanent override that will cause the change to propagate to the incremental stacking mechanism in config.regenerate(). This eliminates the need to call config.backup_changes() when FEATURES is modified, since any overrides are guaranteed to persist despite calls to config.reset(). This allows cleanup of all code that overrides FEATURES, and also allows config.regenerate() to stack FEATURES such that special cases are not needed for package.env handling inside config.setcpv(). | ||||
* | When stacking incrementals in config.regenerate(), use a set to avoid | Zac Medico | 2010-08-21 | 1 | -10/+6 |
| | | | | relatively inefficient __contains__ and remove operations on a list. | ||||
* | Fix config.setcpv() so it only calls _grab_pkg_env when there are | Zac Medico | 2010-08-20 | 1 | -1/+1 |
| | | | | relevant package.env settings. | ||||
* | Remove duplicate realpath call for PORTAGE_TMPDIR. | Zac Medico | 2010-08-20 | 1 | -4/+2 |
| | |||||
* | At some point we may want to stop exporting FEATURES to the ebuild | Zac Medico | 2010-08-20 | 2 | -2/+10 |
| | | | | | | | environment, in order to prevent ebuilds from abusing it. In preparation for that, export it as PORTAGE_FEATURES so that bashrc users will be able to migrate any FEATURES conditional code to use this alternative variable. | ||||
* | Bug #44796 - Add support for /etc/portage/package.env. As documented in | Zac Medico | 2010-08-20 | 3 | -16/+171 |
| | | | | | | | | | | | | | | man/portage.5: Per-package environment variable settings. Entries refer to environment files that are placed in the /etc/portage/env/ directory and have the same format as make.conf(5). Format: - comment lines begin with # (no inline comments) - one DEPEND atom per line followed by name(s) of environment file(s) Example: sys-libs/glibc glibc.conf | ||||
* | Make varexpand() create a new empty dict for variable expansions in | Zac Medico | 2010-08-20 | 1 | -1/+3 |
| | | | | | case one is not passed in. This will prevent some potentially confusing behavior. | ||||
* | Split out a _ordered_by_atom_specificity() in order to eliminate | Zac Medico | 2010-08-20 | 1 | -86/+48 |
| | | | | duplicate code from the package.* config file handling. | ||||
* | Make DEPCACHE_PATH relative to EPREFIX, and comment about similarity | Zac Medico | 2010-08-20 | 1 | -2/+17 |
| | | | | to make.globals handling. | ||||
* | * Make dblink._linkmap_rebuild() return early if preserve-libs is disabled | Zac Medico | 2010-08-20 | 1 | -2/+10 |
| | | | | | | and the preserve-libs registry is empty. * Make dblink._find_unused_preserved_libs() return early if the preserve-libs registry is empty. | ||||
* | Stop using the myroot arguments to the dblink constructor, merge(), | Zac Medico | 2010-08-20 | 1 | -29/+52 |
| | | | | | and unmerge(). Use settings['ROOT'] instead. This helps avoid confusion given support for EROOT. | ||||
* | * Fix EROOT handling in various places in vartree.py. It should be | Zac Medico | 2010-08-20 | 3 | -44/+81 |
| | | | | | | | | | all fixed now, but needs testing. * Remove unused root parameter in calls to dblink.isowner() and _match_contents(). * Make doebuild_environment() and prepare_build_dirs() take keyword arguments, and ignore unused parameters. Especially don't use myroot parameters since they are confusing given EROOT support. | ||||
* | Fix LinkageMap to use vardbapi._eroot instead of _root. | Zac Medico | 2010-08-20 | 1 | -1/+1 |
| | |||||
* | Don't pass the myroot parameter to *counter_tick* methods since it's | Zac Medico | 2010-08-20 | 1 | -7/+7 |
| | | | | ignored anyway. | ||||
* | Make the portagetree.root attribute a property that generates a | Zac Medico | 2010-08-20 | 1 | -3/+11 |
| | | | | DeprecationWarning on access. | ||||
* | Remove unused clone paramter from vartree constructor (support and | Zac Medico | 2010-08-20 | 1 | -1/+1 |
| | | | | | deprecation warning were already removed in commit c0ee69585bf87e09c237668531127e79e0cd1c46). | ||||
* | Fix typo in comment. | Zac Medico | 2010-08-20 | 1 | -1/+1 |
| | |||||
* | --autounmask: If we can't do a change because of REQUIRED_USE, give at least ↵ | Sebastian Luther | 2010-08-20 | 3 | -11/+61 |
| | | | | a good error message | ||||
* | --autounmask: Don't do use changes if they violate REQUIRED_USE | Sebastian Luther | 2010-08-20 | 1 | -19/+32 |
| | | | | This also fixes some pkg.use.enabled / _pkg_use_enabled(pkg) bugs | ||||
* | slot collision handler: Drop solutions that violate REQUIRED_USE | Sebastian Luther | 2010-08-20 | 2 | -0/+33 |
| | |||||
* | slot collision handler: Work correctly with --autounmask | Sebastian Luther | 2010-08-20 | 2 | -29/+35 |
| | |||||
* | circular dependency handler: Add support for REQUIRED_USE | Sebastian Luther | 2010-08-20 | 2 | -13/+46 |
| | |||||
* | Add portage.dep.get_required_use_flags to extract the use flags used in a ↵ | Sebastian Luther | 2010-08-20 | 2 | -2/+121 |
| | | | | REQUIRED_USE string | ||||
* | circular dependency handler: Small code clean ups | Sebastian Luther | 2010-08-20 | 1 | -5/+6 |
| | |||||
* | Make the make.globals path relative to EPREFIX, and add comments possible | Zac Medico | 2010-08-19 | 1 | -2/+24 |
| | | | | alternative behavior for target systems. | ||||
* | Fix BinTestCase instances to stop leaving orphan temp dirs. | Zac Medico | 2010-08-19 | 3 | -18/+25 |
| | |||||
* | Add experimental EPREFIX/EROOT support to the config and vartree | Zac Medico | 2010-08-19 | 5 | -85/+114 |
| | | | | | | | | | classes, and use it in ResolverPlayground to emulate a prefix-like environment. This fixes ResolverPlayground so that it doesn't have to abuse the --root and --root-deps options in order to create a testing environment. Instead it simply creates a temporary EPREFIX. WARNING: EPREFIX/EROOT support is experimental and may be incomplete for cases in which EPREFIX is non-empty. | ||||
* | Stop trying to read /etc/make.globals because it's been a symlink to | Zac Medico | 2010-08-19 | 1 | -1/+1 |
| | | | | /usr/share/portage/config/make.globals since portage-2.1.6. | ||||
* | Update docs, comments, and messages to refer to make.globals in | Zac Medico | 2010-08-19 | 7 | -20/+30 |
| | | | | /usr/share/portage/config/ instead of /etc/make.globals. | ||||
* | Rename the bdeps_root variable to depend_root, since it's used to control | Zac Medico | 2010-08-19 | 1 | -4/+4 |
| | | | | | DEPEND and in the future we may have separate build-time dep types for host and target. | ||||
* | Eliminate the bdeps_optional variables inside depgraph._add_pkg_deps(), | Zac Medico | 2010-08-19 | 1 | -4/+3 |
| | | | | and use the pkg.built attribute instead. | ||||
* | Tests: Properly test the circular dep handler | Sebastian Luther | 2010-08-19 | 1 | -15/+38 |
| | |||||
* | Tests: ResolverPlayground: Support checking the suggestions given by the ↵ | Sebastian Luther | 2010-08-19 | 1 | -0/+8 |
| | | | | circular dep handler. | ||||
* | Move the clever parts of depgraph._show_circular_deps into its own module. | Sebastian Luther | 2010-08-19 | 2 | -155/+240 |
| | | | | This also fixes some bugs related to autounmask. | ||||
* | cycle-finder: Don't try to change flags that are in use.{make,focrce} | Sebastian Luther | 2010-08-19 | 1 | -16/+5 |
| | |||||
* | Move code from EbuildProcess to EbuildPhase. | Zac Medico | 2010-08-19 | 2 | -24/+24 |
| | |||||
* | Raise ValueError if fromlist contains an extra comma. | Zac Medico | 2010-08-19 | 1 | -0/+3 |
| | |||||
* | Remove duplicate attributes from __slots__. | Zac Medico | 2010-08-19 | 1 | -2/+1 |
| | |||||
* | * In helpers_die arguments, display ${0##*/} instead of $0 since $0 | Zac Medico | 2010-08-18 | 32 | -78/+78 |
| | | | | | | is needlessly long. * When calling helpers_die from a function, use ${FUNCNAME[0]} in arguments instead of $0. | ||||
* | Use doebuild_environment() to ensure proper environment initialization | Zac Medico | 2010-08-18 | 1 | -16/+21 |
| | | | | | for clean/cleanrm phases, and use the simpler _spawn_phase() function instead of doebuild to spawn the phases. | ||||
* | Use simpler _spawn_phase() instead of doebuild() since | Zac Medico | 2010-08-18 | 1 | -9/+3 |
| | | | | doebuild_environment() already done the env setup. |