summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* * Add a --autounmask[=n] option and for now leave it disableZac Medico2010-08-053-6/+53
| | | | | | | | by default in order to minimize the impact of any bugs. * If _wrapped_select_pkg_highest_available_imp returns an installed package when the user has not explicitly requested for this package to be replaced (typically via an atom on the command line), reject the installed package and try to unmask one.
* _emerge.depgraph.get_backtrack_parameters(): Return a dict instead of a tupleSebastian Luther2010-08-051-5/+10
|
* _emerge.depgraph: Keep _needed_user_config_changes during backtrackingSebastian Luther2010-08-051-7/+22
|
* _emerge.depgraph: Use _pkg_visibility_check() everywhereSebastian Luther2010-08-051-13/+22
|
* Automatically take packages masked by ~arch if needed and inform the userSebastian Luther2010-08-051-4/+89
|
* Bug #330179 - Ensure that depgraph._show_unsatisfied_dep() only showsZac Medico2010-08-041-5/+8
| | | | masked packages if one of them satisfies required IUSE.
* Bug #330179 - Fix depgraph._show_unsatisfied_dep() to show a maskedZac Medico2010-08-041-2/+2
| | | | | package when possible, instead of 'Missing IUSE' message for an unmasked package.
* Bug #285191 - Add back the RDEPEND.implicit warning to detect the casesZac Medico2010-08-041-1/+34
| | | | | | where DEPEND is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment (prior to EAPI 4) and is forbidden by the QA team.
* repoman: Check if the prefix.eclass is inherited if eprefixify is used. ↵Sebastian Luther2010-08-042-1/+20
| | | | Thanks to Jeremy Olexa (darkside) for the initial patch.
* Add a sanity check in _preload_portage_submodules() to ensure that theZac Medico2010-08-041-0/+4
| | | | loop always terminates.
* Fix infinite loop in _preload_portage_submodules().Zac Medico2010-08-031-0/+1
|
* Fix typo in docstring.Zac Medico2010-08-031-1/+1
|
* Bug #330645 - Make _unregister_module_proxy() detect partially importedZac Medico2010-08-031-12/+17
| | | | | modules (indicated when an AttributeError is caught) and handle them appropriately.
* Bug #330645 - Use more lazy imports for the portage.data module, inZac Medico2010-08-033-3/+5
| | | | | order to avoid circular import triggered by missing 'portage' user or group.
* Remove code related to $DISTDIR/.locks since that directory isZac Medico2010-08-031-10/+0
| | | | actually unused.
* Make ExtendedAtomDict.__getitem__() return the value directly fromZac Medico2010-08-031-15/+7
| | | | | self._extended when given a wildcard (rather than make an unnecessary copy).
* Move the */* code out of loops for greater efficiency.Zac Medico2010-08-031-19/+19
|
* Make the effect of */* atoms in package.{use,license,properties} show up in ↵Sebastian Luther2010-08-031-1/+19
| | | | emerge --info
* Only populate the binarytree for actions that need it (search orZac Medico2010-08-021-1/+2
| | | | install actions).
* Bug #330937: Handle IOError raised by array.fromfile().Arfrever Frehtes Taifersar Arahesis2010-08-031-1/+2
|
* * Make _world_repo_match() try to match both atoms, so it still worksZac Medico2010-08-011-9/+11
| | | | | if the world file and vdb are slighly out of sync wrt package moves. * Write world file updates at the earliest opportunity.
* Make update_config_files() take a dict of {repo_name: list} since it's moreZac Medico2010-08-012-24/+54
| | | | | | efficient this way, and this function can't be called separately for each repo if /etc/portage is under CONFIG_PROTECT (because it would produce separate updated files for each repo).
* Just return boolean to indicate whether or not updates have been performed,Zac Medico2010-07-311-10/+8
| | | | since that's all that the calling code currently needs.
* Move the mtimedb timestamps code out of an unnecessary loop.Zac Medico2010-07-311-2/+3
|
* Always use shlex_split() to split CONFIG_PROTECT{,_MASK}.Zac Medico2010-07-313-6/+8
|
* Add a warning message to the --package-moves[=n] docs, noting thatZac Medico2010-07-281-1/+4
| | | | should remain enabled under normal circumstances.
* Add a --package-moves[=n] option that can be used to control theZac Medico2010-07-283-7/+25
| | | | | "Performing Global Updates" routine. This option is enabled by default.
* Document --depclean-lib-check[=n].Zac Medico2010-07-281-0/+8
|
* Fix calc_depclean() to skip the topological sort code when there'sZac Medico2010-07-281-1/+1
| | | | nothing selected for removal.
* Tweak global updates handling so that updates from $PORTDIR are appliedZac Medico2010-07-275-23/+62
| | | | | | | | | for all of the following cases: * package is missing repository metadata * package has repository metadata, but the source repository does not have a profiles/updates/ directory * package has repository metadata, but the source repository is not currently accessible via PORTDIR_OVERLAY
* Fix UnboundLocalError for do_upgrade_packagesmessage.Zac Medico2010-07-271-1/+1
|
* Fix UnboundLocalError for timestamps variable.Zac Medico2010-07-271-1/+1
|
* Make dbapi.update_ents() take a dict of {repo_name: list}, since it'sZac Medico2010-07-272-14/+30
| | | | most efficient to process all repos at once.
* Fallback to updates from PORTDIR if repository has no 'updates' dir.Michał Górny2010-07-272-0/+6
| | | | | | As a backwards-compatibility measure, if a particular repository doesn't come with an 'updates' directory, fallback to updates from dbapi.porttree_root.
* Support repository-wide updates in FakeVartree.Michał Górny2010-07-271-13/+24
|
* Limit repository-wide dbentry updates.Michał Górny2010-07-272-3/+7
| | | | | Update dbentries only when the repository the package comes from matches the repository update comes from.
* Support repository-wide updates.Michał Górny2010-07-275-126/+165
| | | | | | | Support reading repository-wide update files. Apply them as long as the 'repository' for vardb entry matches the repository update is originating from. For world and configuration files, use the best vardb match.
* Make the world-candidate package set attribute default to False, sinceZac Medico2010-07-272-5/+5
| | | | [usersets] is the only one for which it is True in the default config.
* Tests: add sets/base/testInternalPackageSetSebastian Luther2010-07-273-0/+61
|
* portage.sets: Don't allow extended atoms unless explicitly told toSebastian Luther2010-07-272-5/+13
|
* Use a directory for the default set configuration.Michał Górny2010-07-272-7/+15
| | | | | | | Expect /usr/share/portage/config/sets to be a directory containing any number of set configuration files. The default Portage sets.conf should be now installed as sets/portage.conf, and other ebuilds are free to install their own set configuration files there.
* Fix PackageSet._updateAtomMap() to use ExtendedAtomDict.setdefault()Zac Medico2010-07-271-2/+1
| | | | | since ExtendedAtomDict__getitem__ doesn't allow modification of items.
* Fix race condition in Portage symlink creation.David James2010-07-261-4/+12
|
* Fix ExtendedAtomDict so get() and __getitem__() behave consistently,Zac Medico2010-07-262-14/+28
| | | | since otherwise it can be quite confusing.
* Make ExtendedAtomDict inherit from MutableMapping, and fix __getitem__Zac Medico2010-07-261-1/+6
| | | | to raise KeyError if given a non-string argument.
* Allow the --depclean library consumer check to be disabled byZac Medico2010-07-262-2/+13
| | | | --depclean-lib-check=n.
* If more than 20 file collisions occur, only look up the first 20 sinceZac Medico2010-07-261-0/+4
| | | | get_owners is slow for large numbers of files.
* When the iter_owners dblink cache becomes full, do not finish processingZac Medico2010-07-261-36/+35
| | | | the current path, and go directly to the low-memory implemention.
* Make extended_cp_match() use re.escape() for safety, and since the result isZac Medico2010-07-251-2/+2
| | | | cached here anyway.
* Bug #329159 - If there are merge collisions are detected, only search forZac Medico2010-07-251-21/+23
| | | | owners if either collision-protect or protect-owned is enabled.