Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a sanity check in _preload_portage_submodules() to ensure that the | Zac Medico | 2010-08-04 | 1 | -0/+4 |
| | | | | loop always terminates. | ||||
* | Fix infinite loop in _preload_portage_submodules(). | Zac Medico | 2010-08-03 | 1 | -0/+1 |
| | |||||
* | Fix typo in docstring. | Zac Medico | 2010-08-03 | 1 | -1/+1 |
| | |||||
* | Bug #330645 - Make _unregister_module_proxy() detect partially imported | Zac Medico | 2010-08-03 | 1 | -12/+17 |
| | | | | | modules (indicated when an AttributeError is caught) and handle them appropriately. | ||||
* | Bug #330645 - Use more lazy imports for the portage.data module, in | Zac Medico | 2010-08-03 | 3 | -3/+5 |
| | | | | | order to avoid circular import triggered by missing 'portage' user or group. | ||||
* | Remove code related to $DISTDIR/.locks since that directory is | Zac Medico | 2010-08-03 | 1 | -10/+0 |
| | | | | actually unused. | ||||
* | Make ExtendedAtomDict.__getitem__() return the value directly from | Zac Medico | 2010-08-03 | 1 | -15/+7 |
| | | | | | self._extended when given a wildcard (rather than make an unnecessary copy). | ||||
* | Move the */* code out of loops for greater efficiency. | Zac Medico | 2010-08-03 | 1 | -19/+19 |
| | |||||
* | Make the effect of */* atoms in package.{use,license,properties} show up in ↵ | Sebastian Luther | 2010-08-03 | 1 | -1/+19 |
| | | | | emerge --info | ||||
* | Only populate the binarytree for actions that need it (search or | Zac Medico | 2010-08-02 | 1 | -1/+2 |
| | | | | install actions). | ||||
* | Bug #330937: Handle IOError raised by array.fromfile(). | Arfrever Frehtes Taifersar Arahesis | 2010-08-03 | 1 | -1/+2 |
| | |||||
* | * Make _world_repo_match() try to match both atoms, so it still works | Zac Medico | 2010-08-01 | 1 | -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 more | Zac Medico | 2010-08-01 | 2 | -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). | ||||
* | Fix NameError for ConfigProtect. | Zac Medico | 2010-08-01 | 1 | -1/+1 |
| | |||||
* | Just return boolean to indicate whether or not updates have been performed, | Zac Medico | 2010-07-31 | 1 | -10/+8 |
| | | | | since that's all that the calling code currently needs. | ||||
* | Move the mtimedb timestamps code out of an unnecessary loop. | Zac Medico | 2010-07-31 | 1 | -2/+3 |
| | |||||
* | Always use shlex_split() to split CONFIG_PROTECT{,_MASK}. | Zac Medico | 2010-07-31 | 5 | -19/+25 |
| | |||||
* | Add a warning message to the --package-moves[=n] docs, noting that | Zac Medico | 2010-07-28 | 2 | -2/+8 |
| | | | | should remain enabled under normal circumstances. | ||||
* | Add a --package-moves[=n] option that can be used to control the | Zac Medico | 2010-07-28 | 4 | -7/+29 |
| | | | | | "Performing Global Updates" routine. This option is enabled by default. | ||||
* | Document --depclean-lib-check[=n]. | Zac Medico | 2010-07-28 | 2 | -0/+14 |
| | |||||
* | Fix calc_depclean() to skip the topological sort code when there's | Zac Medico | 2010-07-28 | 1 | -1/+1 |
| | | | | nothing selected for removal. | ||||
* | Tweak global updates handling so that updates from $PORTDIR are applied | Zac Medico | 2010-07-27 | 6 | -33/+102 |
| | | | | | | | | | 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 Medico | 2010-07-27 | 1 | -1/+1 |
| | |||||
* | Fix UnboundLocalError for timestamps variable. | Zac Medico | 2010-07-27 | 1 | -1/+1 |
| | |||||
* | Make dbapi.update_ents() take a dict of {repo_name: list}, since it's | Zac Medico | 2010-07-27 | 3 | -16/+31 |
| | | | | most efficient to process all repos at once. | ||||
* | Fallback to updates from PORTDIR if repository has no 'updates' dir. | Michał Górny | 2010-07-27 | 3 | -0/+9 |
| | | | | | | As a backwards-compatibility measure, if a particular repository doesn't come with an 'updates' directory, fallback to updates from dbapi.porttree_root. | ||||
* | Add repository-wide updates support to emaint. | Michał Górny | 2010-07-27 | 1 | -40/+55 |
| | |||||
* | Support repository-wide updates in FakeVartree. | Michał Górny | 2010-07-27 | 1 | -13/+24 |
| | |||||
* | Limit repository-wide dbentry updates. | Michał Górny | 2010-07-27 | 2 | -3/+7 |
| | | | | | Update dbentries only when the repository the package comes from matches the repository update comes from. | ||||
* | Support repository-wide updates. | Michał Górny | 2010-07-27 | 5 | -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, since | Zac Medico | 2010-07-27 | 4 | -18/+6 |
| | | | | [usersets] is the only one for which it is True in the default config. | ||||
* | extended atom syntax: Add comment to make.conf man page | Sebastian Luther | 2010-07-27 | 1 | -2/+7 |
| | |||||
* | Tests: add sets/base/testInternalPackageSet | Sebastian Luther | 2010-07-27 | 3 | -0/+61 |
| | |||||
* | portage.sets: Don't allow extended atoms unless explicitly told to | Sebastian Luther | 2010-07-27 | 2 | -5/+13 |
| | |||||
* | Use a directory for the default set configuration. | Michał Górny | 2010-07-27 | 5 | -11/+20 |
| | | | | | | | 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 Medico | 2010-07-27 | 1 | -2/+1 |
| | | | | | since ExtendedAtomDict__getitem__ doesn't allow modification of items. | ||||
* | Fix race condition in Portage symlink creation. | David James | 2010-07-26 | 1 | -4/+12 |
| | |||||
* | Fix ExtendedAtomDict so get() and __getitem__() behave consistently, | Zac Medico | 2010-07-26 | 2 | -14/+28 |
| | | | | since otherwise it can be quite confusing. | ||||
* | Make ExtendedAtomDict inherit from MutableMapping, and fix __getitem__ | Zac Medico | 2010-07-26 | 1 | -1/+6 |
| | | | | to raise KeyError if given a non-string argument. | ||||
* | Allow the --depclean library consumer check to be disabled by | Zac Medico | 2010-07-26 | 2 | -2/+13 |
| | | | | --depclean-lib-check=n. | ||||
* | If more than 20 file collisions occur, only look up the first 20 since | Zac Medico | 2010-07-26 | 1 | -0/+4 |
| | | | | get_owners is slow for large numbers of files. | ||||
* | When the iter_owners dblink cache becomes full, do not finish processing | Zac Medico | 2010-07-26 | 1 | -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 is | Zac Medico | 2010-07-25 | 1 | -2/+2 |
| | | | | cached here anyway. | ||||
* | Bug #329159 - If there are merge collisions are detected, only search for | Zac Medico | 2010-07-25 | 1 | -21/+23 |
| | | | | owners if either collision-protect or protect-owned is enabled. | ||||
* | Make iter_owners() switch to a slower but lower-memory mode if the number | Zac Medico | 2010-07-25 | 1 | -2/+55 |
| | | | | | of given files > 10 or dynamically if the dblink_cache grows to 20 instances. | ||||
* | Bug #329803 - Make unmerge() show a machine-readable list of selected packages. | Sebastian Luther | 2010-07-25 | 1 | -0/+2 |
| | |||||
* | Make extended_cp_match() cache regular expressions for re-use. | Zac Medico | 2010-07-25 | 1 | -2/+8 |
| | |||||
* | Add a gc.collect() call inside iter_owers(), since people are reporting | Zac Medico | 2010-07-25 | 1 | -0/+2 |
| | | | | | | high memory usage there. We should really only use this function to search for a small number of files. Larger numbers of files should use a different algorithm that will ensure that each CONTENTS file is only parsed once. | ||||
* | Re-implement extended_cp_match() using regex, and only support cp (instead | Zac Medico | 2010-07-25 | 1 | -42/+8 |
| | | | | of full atoms) since that all we need. | ||||
* | Fix description of FEATURES=fixlafiles. | Zac Medico | 2010-07-25 | 1 | -1/+1 |
| |