Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove pkg_nofetch code from the fetch() function since it's currently ↵ | Zac Medico | 2010-09-10 | 2 | -58/+8 | |
| | | | | broken (doebuild_environment raises TypeError due to missing mydbapi parameter) and this is a poor place to spawn pkg_nofetch anyway, especially given that the caller does not even pass in a portdbapi instance. For now, relocate the pkg_nofetch execution to EbuildBuild so that it works for emerge. TODO: Add pkg_nofetch support to fetch() callers where appropriate. | |||||
* | Fix typos in comments. | Arfrever Frehtes Taifersar Arahesis | 2010-09-11 | 1 | -2/+2 | |
| | ||||||
* | config: Handle -atoms properly | Sebastian Luther | 2010-09-10 | 1 | -15/+48 | |
| | | | | | | | | | | Before this change -atoms could leak out of the place where they were defined. Different repos could influence their profile/package.mask. Profiles could influence profile/package.mask. Note that the latter is not desirable because other than normal atoms, -atoms have to exactly match the atom they remove. Because of this, the place specifying the -atom has to now which atoms exists, which can only be the case if it (or in case of a profiles, a parent profile) defines it. | |||||
* | portage.util: Add optional remember_source_file parameter to some functions ↵ | Sebastian Luther | 2010-09-10 | 1 | -22/+51 | |
| | | | | | | | | to make them return (token, file) pairs This is useful to name the token's source file in error messages. stack_lists has another new optional parameter: warn_for_unmatched_removal, which warns for -atoms that don't remove anything. | |||||
* | config/p.mask: config from other repos than PORTDIR comes before profiles ↵ | Sebastian Luther | 2010-09-10 | 1 | -4/+4 | |
| | | | | (like PORTDIR) | |||||
* | Tests: ebuild/test_config: Make sure -atoms in package.mask work as PMS wants it | Sebastian Luther | 2010-09-10 | 1 | -1/+68 | |
| | ||||||
* | ResolverPlayground: Add ability to create a basic profile and repo config | Sebastian Luther | 2010-09-10 | 1 | -6/+24 | |
| | ||||||
* | Bug #273282 - Make install_qa_check() eqawarn about installation intov2.2_rc79 | Zac Medico | 2010-09-10 | 1 | -1/+12 | |
| | | | | | | these deprecated directories: etc/app-defaults usr/man usr/info usr/X11R6 usr/doc usr/locale | |||||
* | Remove redundant elog_process() call in EbuildBuild._fetch_exit(). | Zac Medico | 2010-09-10 | 1 | -1/+0 | |
| | ||||||
* | Fix the "alway overflow" eerror message to not use the message | Zac Medico | 2010-09-10 | 1 | -1/+1 | |
| | | | | intended for "implicit pointer". | |||||
* | Make the "always overflow" gcc warning code use a separate variable | Zac Medico | 2010-09-10 | 1 | -8/+20 | |
| | | | | | from the "implicit pointer" code in install_qa_check(), so they don't interfere. | |||||
* | Remove redundant local retval declaration in has_version(). | Zac Medico | 2010-09-10 | 1 | -1/+0 | |
| | ||||||
* | Ensure that depgraph._show_unsatisfied_dep() doesn't suggest changes | Zac Medico | 2010-09-10 | 1 | -0/+15 | |
| | | | | to masked or forced USE flags. | |||||
* | In depgraph._show_unsatisfied_dep(), if the child package is masked then a | Zac Medico | 2010-09-10 | 1 | -0/+7 | |
| | | | | | change to parent USE is not a valid solution (a normal mask message should be displayed instead). | |||||
* | Bug #336595 - Make dbapi.update_ents() calls quiet when appropriate in | Zac Medico | 2010-09-10 | 1 | -0/+4 | |
| | | | | _global_updates(). | |||||
* | global updates: Honor -q and don't repeat the legend | Sebastian Luther | 2010-09-10 | 3 | -13/+23 | |
| | ||||||
* | Make ebuild-ipc.py suppress IOError just like it does for EOFError | Zac Medico | 2010-09-10 | 1 | -3/+1 | |
| | | | | when the buffer is non-empty. | |||||
* | Make ebuild-ipc.py handle exceptions from pickle.loads(). | Zac Medico | 2010-09-10 | 1 | -11/+15 | |
| | ||||||
* | Make ebuild-ipc.py display EOFError if no data is read from the | Zac Medico | 2010-09-10 | 1 | -2/+2 | |
| | | | | pipe. | |||||
* | Eliminate redunant elog_process() call in EbuildBuild._fetch_exit() | Zac Medico | 2010-09-09 | 1 | -2/+1 | |
| | | | | | which fetch has failed, since _unlock_builddir() will handle it later. | |||||
* | Add missing comma in tuple. | Zac Medico | 2010-09-09 | 1 | -2/+2 | |
| | ||||||
* | Bug #267103 - In action_build(), check for config file updates in | Zac Medico | 2010-09-09 | 1 | -0/+4 | |
| | | | | /etc/portage and warn if necessary. | |||||
* | Make the "warning: call to .* will always overflow destination buffer" | Zac Medico | 2010-09-09 | 1 | -0/+3 | |
| | | | | | gcc warning fatal. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion. | |||||
* | Bug #336644 - Make ebuild-ipc.py use array.fromfile() to read pickles | Zac Medico | 2010-09-09 | 2 | -33/+36 | |
| | | | | | | | in single atomic non-blocking read() calls, similar to how AbstractPollTask._read_buf() does it. If the read fails, exit with status 2 so that best_version() and has_version() can detect the error and die when necessary. | |||||
* | Bug #336644 - Make EbuildIpcDaemon use AbstractPollTask._read_buf(), | Zac Medico | 2010-09-09 | 1 | -17/+4 | |
| | | | | | for better handling of errors like "IOError: [Errno 11] Resource temporarily unavailable". TODO: Apply a similar fix to ebuild-ipc.py. | |||||
* | Split out a AbstractPollTask._read_buf() helper method. | Zac Medico | 2010-09-09 | 2 | -17/+30 | |
| | ||||||
* | Use EROOT in chk_updated_cfg_files() calls. | Zac Medico | 2010-09-09 | 2 | -3/+4 | |
| | ||||||
* | Bug #336499 - If RESTRICT=fetch is not set but pkg_nofetch is defined, | Zac Medico | 2010-09-09 | 1 | -2/+26 | |
| | | | | | go ahead and run pkg_nofetch upon fetch failure. This allows specialized messages to be displayed for problematic packages. | |||||
* | Make Package.metadata.defined_phases return all possible phases when | Zac Medico | 2010-09-09 | 1 | -1/+11 | |
| | | | | | DEFINED_PHASES is undefined. This makes it easy to do containment checks to see if it's safe to skip execution of a given phase. | |||||
* | In EbuildBuild._pre_clean_exit() is _default_exit instead of | Zac Medico | 2010-09-09 | 1 | -1/+1 | |
| | | | | _final_exit where appropriate. | |||||
* | Bug #336651 - Fix Scheduler._restart_if_necessary() to correctly | Zac Medico | 2010-09-09 | 1 | -1/+5 | |
| | | | | | handle arguments like --exclude that are stored as a list since they use the 'append' action. | |||||
* | Combine prefetch conditionals in EbuildFetcher. | Zac Medico | 2010-09-09 | 1 | -2/+1 | |
| | ||||||
* | Make EbuildFetcher always disable color in prefetch mode, since | Zac Medico | 2010-09-09 | 1 | -0/+6 | |
| | | | | prefetch output always goes to a log. | |||||
* | In update_config_files(), add a comment line showing a package move | Zac Medico | 2010-09-09 | 1 | -1/+14 | |
| | | | | | that has been applied. This is intended to reduce the risk given that /etc/portage is in CONFIG_PROTECT_MASK, as discussed in bug | |||||
* | Update --autounmask docs to note that it generates package.use settings. | Zac Medico | 2010-09-09 | 2 | -2/+4 | |
| | ||||||
* | repoman: Add "x-modular": "xorg-2" to InheritDeprecated check as requested ↵ | Sebastian Luther | 2010-09-09 | 1 | -1/+2 | |
| | | | | by scarabeus (bug 326747, comment 6) | |||||
* | Import ifilterfalse as filterfalse, for python3 compatibility. | Zac Medico | 2010-09-09 | 1 | -2/+5 | |
| | ||||||
* | maintainer-info: Don't print 'no-herd' and don't print anything twice (bug ↵ | Sebastian Luther | 2010-09-09 | 1 | -0/+5 | |
| | | | | 336550) | |||||
* | Add portage.util.unique_everseen | Sebastian Luther | 2010-09-09 | 1 | -2/+23 | |
| | | | | | List unique elements, preserving order. Remember all elements ever seen. Taken from itertools documentation. | |||||
* | Make action_info() validate PORTAGE_TMPDIR since it uses it to solve | Zac Medico | 2010-09-08 | 1 | -0/+7 | |
| | | | | bug #336503. | |||||
* | Bug #336503 - Use PORTAGE_TMPDIR for the emerge --sync server timestamp | Zac Medico | 2010-09-08 | 1 | -2/+7 | |
| | | | | | tempfile, since with FEATURES=usersync, the default directory used by the tempfile module may not be readbable by the usersync user. | |||||
* | Use a longer dependency chain in DepcleanWithDepsTestCase, to makev2.2_rc78 | Zac Medico | 2010-09-08 | 1 | -3/+8 | |
| | | | | sure unmerge order is correct. | |||||
* | Use RDEPEND for depclean tests since DEPEND is less relevant. | Zac Medico | 2010-09-08 | 1 | -6/+6 | |
| | ||||||
* | Make ResolverPlayground.run() use try/finally when saving/restoring | Zac Medico | 2010-09-08 | 1 | -18/+22 | |
| | | | | global variable settings. | |||||
* | Fix dep_zapdeps() to handle satisfied or optional builttime deps | Zac Medico | 2010-09-08 | 1 | -1/+2 | |
| | | | | appropriately. | |||||
* | Make UnmergeDepPriority automatically set optional=True for | Zac Medico | 2010-09-08 | 1 | -0/+5 | |
| | | | | buildtime dependencies. | |||||
* | Fix broken dep_check() call in calc_depclean() to use | Zac Medico | 2010-09-08 | 1 | -7/+6 | |
| | | | | depgraph._select_atoms() instead. | |||||
* | Fix typo in comment. | Arfrever Frehtes Taifersar Arahesis | 2010-09-08 | 1 | -1/+1 | |
| | ||||||
* | Adjust DepcleanWithInstalledMaskedTestCase now that bug #332719 | Zac Medico | 2010-09-08 | 1 | -1/+2 | |
| | | | | is fixed. | |||||
* | Bug #332719 - For removal operations, use _dep_check_composite_db | Zac Medico | 2010-09-08 | 1 | -10/+39 | |
| | | | | | for availability and visibilty checks. This provides consistency with install operations, so we don't get install/uninstall cycles. |