Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #334365 - Mask packages with invalid metadata as early as possible, | Zac Medico | 2010-08-25 | 2 | -14/+73 |
| | | | | | | so that the depgraph won't select them unless they are already installed and there is no other choice. This should trigger automatic reinstallation of installed packages that have invalid metadata. | ||||
* | Use a PORTAGE_SIGPIPE_STATUS variable to export 128 + SIGPIPE to the | Zac Medico | 2010-08-25 | 1 | -3/+4 |
| | | | | | ebuild environment. SIGPIPE is typically 13, but its better not to assume that. | ||||
* | Bug #334365 - When parsing dependencies of installed packages in | Zac Medico | 2010-08-25 | 1 | -2/+27 |
| | | | | | | | | | | | depgraph._add_pkg_deps(), ignore invalid USE conditionals, since these are a common problem and it's practical to ignore them for installed packages. TODO: For installed package, save any InvalidDependString info in dynamic_config and wait until display_problems() to show it. For packages that aren't installed, we should validate and mask them before they are selected. | ||||
* | show_invalid_depstring_notice: Don't repeat the dep string | Sebastian Luther | 2010-08-25 | 1 | -1/+1 |
| | |||||
* | Add EROOT support to setconfig_fallback(). | Zac Medico | 2010-08-25 | 1 | -1/+1 |
| | |||||
* | Bug #334319 - Don't call config.backup_changes("FEATURES") because it's | Zac Medico | 2010-08-24 | 1 | -2/+0 |
| | | | | | no longer needed and it causes problems with environment overrides of FEATURES. | ||||
* | More _pkg_use_enabled fixes | Sebastian Luther | 2010-08-24 | 2 | -45/+45 |
| | |||||
* | Bug #334253 - Fix breakage in FEATURES=test-fail-continue logic. | Zac Medico | 2010-08-24 | 1 | -1/+5 |
| | |||||
* | Handle SIGPIPE when unpack() extracts tar files through a pipe (bug #309001). | Zac Medico | 2010-08-23 | 1 | -1/+3 |
| | | | | | | | When checking ${PIPESTATUS[@]} for extraction of tar files in unpack(), use a new assert_sigpipe_ok() function which behaves the same as the existing assert() function except that it tolerates pipe writers being killed by SIGPIPE. | ||||
* | * Use iterators instead of keys() when possible. | Zac Medico | 2010-08-23 | 1 | -8/+8 |
| | | | | | | * Use iterators instead of sets for set.intersection() calls. * Use digraph.__iter__ and __contains__ as shortcuts to digraph.nodes access. | ||||
* | In depgraph._select_pkg_highest_available_imp(), make sure | Zac Medico | 2010-08-23 | 1 | -1/+2 |
| | | | | | allow_unstable_keywords is True before adding a package to _needed_unstable_keywords. | ||||
* | Pass a keyword hint from getmaskingstatus() to the autounmask code. | Zac Medico | 2010-08-23 | 1 | -2/+11 |
| | |||||
* | Handle zlib.error when reading compressed build logs via GzipFile. | Zac Medico | 2010-08-22 | 1 | -0/+4 |
| | |||||
* | Allow more time for natural exit of the ebuild process after it has | Zac Medico | 2010-08-22 | 1 | -4/+9 |
| | | | | called the exit command via IPC. | ||||
* | Remove deprecated destroot argument from dblink.isowner() call. | Zac Medico | 2010-08-22 | 1 | -1/+1 |
| | |||||
* | During the post src_install QA checks, log to a temporary file | Zac Medico | 2010-08-22 | 2 | -4/+50 |
| | | | | | | since the code we are running reads PORTAGE_LOG_FILE, and we want to avoid annoying "gzip: unexpected end of file" messages when FEATURES=compress-build-logs is enabled. | ||||
* | Make Binpkg call prepare_build_dirs() before trying to clean the old | Zac Medico | 2010-08-22 | 1 | -2/+2 |
| | | | | log, so PORTAGE_LOG_FILE is initialized. | ||||
* | Add missing scheduler attribute to BinpkgVerifier (broken since the | Zac Medico | 2010-08-22 | 3 | -3/+4 |
| | | | | the addition of FEATURES=compress-build-logs support). | ||||
* | Fix AttributeError for MetadataRegen._sched_iface. | Zac Medico | 2010-08-22 | 1 | -1/+1 |
| | |||||
* | Fix broken writemsg call in depgraph._resolve() that triggers this error: | Zac Medico | 2010-08-21 | 1 | -1/+1 |
| | | | | TypeError: writemsg() got an unexpected keyword argument 'file' | ||||
* | Bug #324191 - Add support for FEATURES=compress-build-logs. The causes | Zac Medico | 2010-08-21 | 12 | -155/+92 |
| | | | | | | | 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 wrapper around config.features that provides the following | Zac Medico | 2010-08-21 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | 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(). | ||||
* | --autounmask: If we can't do a change because of REQUIRED_USE, give at least ↵ | Sebastian Luther | 2010-08-20 | 1 | -11/+41 |
| | | | | 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 | 1 | -0/+18 |
| | |||||
* | 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 | 1 | -13/+31 |
| | |||||
* | circular dependency handler: Small code clean ups | Sebastian Luther | 2010-08-20 | 1 | -5/+6 |
| | |||||
* | Add experimental EPREFIX/EROOT support to the config and vartree | Zac Medico | 2010-08-19 | 1 | -4/+1 |
| | | | | | | | | | 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. | ||||
* | Update docs, comments, and messages to refer to make.globals in | Zac Medico | 2010-08-19 | 1 | -3/+5 |
| | | | | /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. | ||||
* | 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 |
| | |||||
* | Remove duplicate attributes from __slots__. | Zac Medico | 2010-08-19 | 1 | -2/+1 |
| | |||||
* | Move the code from _prepare_env_file() to a new BinpkgEnvExtractor | Zac Medico | 2010-08-18 | 3 | -9/+99 |
| | | | | class. | ||||
* | Remove unnecessary call to _prepare_env_file(), since it only makes | Zac Medico | 2010-08-18 | 1 | -8/+1 |
| | | | | sense for binary or installed packages. | ||||
* | Move environment sanity check to the Scheduler and do it if there | Zac Medico | 2010-08-18 | 1 | -0/+36 |
| | | | | are any source packages in the merge list. | ||||
* | When suggesting solutions inside _show_circular_deps(), ignore solutions | Zac Medico | 2010-08-18 | 1 | -0/+16 |
| | | | | that involve changes to use.mask or use.force settings. | ||||
* | Fix deprecation warnings from paren_reduce. | Zac Medico | 2010-08-18 | 1 | -2/+2 |
| | |||||
* | Fix small bug in _show_circular_deps and add some tests | Sebastian Luther | 2010-08-18 | 1 | -2/+1 |
| | |||||
* | _show_circular_deps: Ignore solution that violate use dpendencies specified ↵ | Sebastian Luther | 2010-08-18 | 1 | -6/+39 |
| | | | | by parents. Warn the user if there are many cycles. | ||||
* | _show_circular_deps: Stop prunning the graph to show (other) parents of the ↵ | Sebastian Luther | 2010-08-18 | 1 | -14/+0 |
| | | | | involved packages in the merge list | ||||
* | _show_circular_deps: Fix handling of 'None' returned by ↵ | Sebastian Luther | 2010-08-18 | 1 | -1/+2 |
| | | | | extract_affecting_use and remove debug output | ||||
* | _emerge.depgraph._show_circular_deps(): Find suggestions if an atom occures ↵ | Sebastian Luther | 2010-08-18 | 1 | -11/+66 |
| | | | | more than once in a dep string | ||||
* | Print suggestions for circular dependencies | Sebastian Luther | 2010-08-18 | 1 | -8/+44 |
| | |||||
* | _emerge.depgraph._show_circular_deps(): Display only the smallest cycle | Sebastian Luther | 2010-08-18 | 1 | -1/+31 |
| | |||||
* | Use _prepare_env_file() to extract the binary package environment.bz2 | Zac Medico | 2010-08-18 | 1 | -1/+10 |
| | | | | | | prior to the pkg_setup phase. This fixes a regression since EbuildPhase no longer calls doebuild(), and therefore _prepare_env_file() needs to be called now. |