summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Make iter_owners() switch to a slower but lower-memory mode if the numberZac Medico2010-07-251-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 Luther2010-07-251-0/+2
|
* Make extended_cp_match() cache regular expressions for re-use.Zac Medico2010-07-251-2/+8
|
* Add a gc.collect() call inside iter_owers(), since people are reportingZac Medico2010-07-251-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 (insteadZac Medico2010-07-251-42/+8
| | | | of full atoms) since that all we need.
* FEATURES: Rename lafilefixing -> fixlafilesSebastian Luther2010-07-252-8/+8
|
* extended atom syntax: Allow wildcards in all placesSebastian Luther2010-07-246-74/+173
|
* Handle UnicodeDecodeError from subprocess.getstatusoutput() calls, reportedZac Medico2010-07-241-3/+18
| | | | with python3.1.
* portage.dep._use_dep: better validation, enable all testsSebastian Luther2010-07-232-2/+11
|
* portage.dep.isvalidatom(): Add support for atoms with wildcardsSebastian Luther2010-07-231-2/+2
|
* Test: Add dep/test_best_match_to_listSebastian Luther2010-07-231-0/+43
|
* Tests: dep/test_match_from_list: Complete rewriteSebastian Luther2010-07-231-21/+17
|
* Tests: Extend dep/testAtom.py and add test cases for wildcards Two failing ↵Sebastian Luther2010-07-231-7/+51
| | | | tests disabled for now.
* portage.tests.TestCase: Add assertRaisesMsg() from pkgcoreSebastian Luther2010-07-231-0/+17
|
* --exclude: Add support for atoms with wildcardsSebastian Luther2010-07-232-19/+6
|
* portage.sets: Add support for atoms with wildcardsSebastian Luther2010-07-231-5/+12
|
* Make atoms with wildcards work in package.propertiesSebastian Luther2010-07-231-1/+7
|
* Make atoms with wildcards work in package.licenseSebastian Luther2010-07-231-1/+7
|
* Make atoms with wildcards work in package.mask and package.unmaskSebastian Luther2010-07-231-2/+11
|
* Make atoms with wildcards in package.use workSebastian Luther2010-07-231-1/+5
|
* portage.dep.{match_from_list,best_match_to_list}: Add support for wildcards ↵Sebastian Luther2010-07-231-7/+28
| | | | in atoms
* portage.ebuild.config: Allow wildcards in atoms in user configurationSebastian Luther2010-07-231-13/+19
|
* portage.util.grab*(): Add optional parameter to allow wildscards in atomsSebastian Luther2010-07-231-4/+4
|
* portage.dep.Atom: Add optional parameter to allow wildcards (*/*, cat/*, */pkg)Sebastian Luther2010-07-232-9/+23
|
* Move the mod_echo import to the top, so the module is pre-loaded.Zac Medico2010-07-201-10/+5
|
* Remove 'mysettings' arguments from finalize() functions since theZac Medico2010-07-202-8/+2
| | | | shouldn't be needed for backward compatibility anymore.
* Bug #328317 - If libc is artifically promoted in the merge listZac Medico2010-07-192-0/+14
| | | | (for bug #303567), promote os-headers before it.
* In portdbapi.getfetchsizes(), only split PORTAGE_RO_DISTDIRS when necessary.Zac Medico2010-07-191-11/+11
|
* Skip unecessary stat calls on PORTAGE_RO_DISTDIRS inZac Medico2010-07-181-2/+1
| | | | portdbapi.getfetchsizes().
* Bug #305035 - Fix portdbapi.getfetchsizes() to account forZac Medico2010-07-181-2/+16
| | | | PORTAGE_RO_DISTDIRS.
* lafilefixing: Use .replace() instead of the broken regex to update the contentsSebastian Luther2010-07-182-9/+24
|
* Fix broken reference to self._settings (from previous commit).Zac Medico2010-07-161-1/+0
|
* Bug #327883 - Make EbuildBuild call the pre-clean phase prior toZac Medico2010-07-163-85/+67
| | | | | | | EbuildFetcher, in order to avoid re-use/removal of a build log from a previously failed build. This involves moving the pre-clean phase from EbuildExecuter to EbuildBuild, and moving build dir handling from EbuildFetcher to EbuildBuild.
* Make EbuildBuildDir.clean_log() do nothing when FEATURES=keepwork isZac Medico2010-07-161-1/+5
| | | | enabled.
* Make prepare_build_dirs() respect FEATURES=keeptemp.Zac Medico2010-07-151-1/+1
|
* Add forgotten trailing comma.Fabian Groffen2010-07-141-1/+1
| | | | This caused Portage to wrongly claim some FEATURES not to be valid.
* Add FindVCS() to __all__.Michał Górny2010-07-141-0/+1
|