summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* In the file collision eerror output, don't colorize theZac Medico2007-10-131-2/+2
| | | | | | file paths since the escape codes look ugly in the log. svn path=/main/trunk/; revision=8114
* Handle the PortageException that can be raised fromZac Medico2007-10-131-1/+6
| | | | | | portage.mail.send_mail(). svn path=/main/trunk/; revision=8102
* Make the file collision eerror message less verboseZac Medico2007-10-131-9/+11
| | | | | | when in --quiet mode. svn path=/main/trunk/; revision=8100
* Remove a chdir() call that's no longer needed for theZac Medico2007-10-131-10/+0
| | | | | | collision-protect symlink code. svn path=/main/trunk/; revision=8098
* Use os.listdir() instead of portage.listdir() in dblink.mergeme().Zac Medico2007-10-131-1/+1
| | | | svn path=/main/trunk/; revision=8097
* In dblink.treewalk(), use os.walk() instead of portage.listdir()Zac Medico2007-10-131-13/+15
| | | | | | | in order to avoid cacheddir() bloat when listing the files to be merged from ${D}. svn path=/main/trunk/; revision=8096
* Bug #195370 - Filter some more bogus matches due toZac Medico2007-10-121-1/+5
| | | | | | old-style virtuals. svn path=/main/trunk/; revision=8093
* Remove a redundant call to elog_process().Zac Medico2007-10-121-2/+0
| | | | svn path=/main/trunk/; revision=8091
* s:this package wants:this package will:Zac Medico2007-10-121-1/+1
| | | | svn path=/main/trunk/; revision=8089
* Bug #195527 - Add some more information to the file collisionZac Medico2007-10-121-4/+10
| | | | | | | | | | | | eerror message to try and prevent user confusion: - Hint that `equery belongs <filename>` can be used to find the installed package that owns a file. - Advise then NOT to file a bug without reporting exactly which two packages install the same file(s). svn path=/main/trunk/; revision=8087
* Bug #195527 - Unconditionally detect file collisions and logZac Medico2007-10-121-10/+43
| | | | | | | | them as eerror messages via elog. This will allow us to collect more file collision data but it won't be quite as annoying as enabling collision-protect by default would be. svn path=/main/trunk/; revision=8086
* Use writemsg() to send exception string to stderr.Zac Medico2007-10-121-1/+2
| | | | svn path=/main/trunk/; revision=8058
* Pass into the PackageIndex constructor a list of packageZac Medico2007-10-122-19/+24
| | | | | | metadata keys that inherit a default value from the header. svn path=/main/trunk/; revision=8055
* Pass default package metadata values into the PackageIndexZac Medico2007-10-122-16/+28
| | | | | | constructor for optional things like EAPI and SLOT. svn path=/main/trunk/; revision=8054
* Sync code between binarytree.inject() and populate().Zac Medico2007-10-121-15/+20
| | | | svn path=/main/trunk/; revision=8053
* Split USE evaluation code out of binarytree.inject() soZac Medico2007-10-112-34/+29
| | | | | | that it can be reused in populate(). svn path=/main/trunk/; revision=8052
* Strip the leading path separator from USER_CONFIG_PATHZac Medico2007-10-111-1/+2
| | | | | | so that os.path.join works correctly. svn path=/main/trunk/; revision=8051
* In depgraph.select_dep(), check for existing nodes inZac Medico2007-10-111-1/+2
| | | | | | installed packages when necessary. svn path=/main/trunk/; revision=8050
* typo fixMarius Mauch2007-10-111-1/+1
| | | | svn path=/main/trunk/; revision=8049
* Do not use aux_get to parse the NEEDED file as we need to distinguish spaces ↵Marius Mauch2007-10-111-2/+2
| | | | | | and newlines svn path=/main/trunk/; revision=8048
* Add a set to group all consumers of missing libraries as a simple ↵Marius Mauch2007-10-112-13/+45
| | | | | | revdep-rebuild replacement svn path=/main/trunk/; revision=8046
* Make depgraph.select_dep() reject installed packagesZac Medico2007-10-111-1/+5
| | | | | | | | in the same cases that it used to so that a warning message is properly generated in depgraph.xcreate() when a package is unavailable but installed. svn path=/main/trunk/; revision=8045
* implement new set to group all consumers of preserved librariesMarius Mauch2007-10-112-4/+40
| | | | svn path=/main/trunk/; revision=8044
* Raise a PackageNotFound exception instead of a ValueErrorZac Medico2007-10-111-2/+2
| | | | | | | in order to avoid ambiguity if an unexpected ValueError occurs. svn path=/main/trunk/; revision=8043
* Move some package selection code from depgraph.create()Zac Medico2007-10-111-53/+53
| | | | | | | to select_dep() so that all package selection is done in the same place. svn path=/main/trunk/; revision=8042
* Make portdbapi and bindbapi cache PROVIDE in orderZac Medico2007-10-113-2/+6
| | | | | | to optimize matching of old-style virtuals. svn path=/main/trunk/; revision=8041
* Prevent bogus upgrade display when a new-style virtualZac Medico2007-10-101-4/+9
| | | | | | is first installed and it replaces an old-style virtual. svn path=/main/trunk/; revision=8039
* Comment about avoiding expensive metadata pullsZac Medico2007-10-101-0/+6
| | | | | | in depgraph.select_dep(). svn path=/main/trunk/; revision=8038
* Refactor depgraph.select_dep() to eliminate redundantZac Medico2007-10-101-151/+96
| | | | | | code that was duplicated for each package type. svn path=/main/trunk/; revision=8037
* Cache IUSE in bindbapi to optimize --newuse calculations.Zac Medico2007-10-102-1/+11
| | | | | | | Also, fix filtering code for reading/writing USE and IUSE from/to the metadata index. svn path=/main/trunk/; revision=8036
* Migrate depgraph.select_files() to use the filtered repoZac Medico2007-10-101-52/+38
| | | | | | | for expansion of greedy atoms. Also, use the list of repos to clean up the category expansion code. svn path=/main/trunk/; revision=8035
* Initialize the list of package repos inside theZac Medico2007-10-101-17/+16
| | | | | | depgraph constructor so it's always available. svn path=/main/trunk/; revision=8034
* Unify the masking reasons output so that the same codeZac Medico2007-10-092-108/+110
| | | | | | path is used for both ebuilds and binary packages. svn path=/main/trunk/; revision=8033
* Exclude .metadata files in multi set configurations for StaticFileSetMarius Mauch2007-10-092-0/+3
| | | | svn path=/main/trunk/; revision=8021
* Fix USE logic for built packages when populating the filtered repo.Zac Medico2007-10-091-6/+6
| | | | svn path=/main/trunk/; revision=8017
* Replace hardcoded path with new constantMarius Mauch2007-10-092-2/+3
| | | | svn path=/main/trunk/; revision=8016
* Fix InvalidDependString namespace and initialize USE beforeZac Medico2007-10-091-2/+4
| | | | | | visibility check. svn path=/main/trunk/; revision=8015
* When an ebuild has conditionals in it's LICENSE, calculateZac Medico2007-10-091-0/+3
| | | | | | USE before the visibility check. svn path=/main/trunk/; revision=8014
* In depgraph.xcreate(), installed packages are excludedZac Medico2007-10-091-0/+5
| | | | | | | | from the filtered tree. Clear out the history of atoms so that they can be processed again to satisfy dependencies with installed packages if necessary. svn path=/main/trunk/; revision=8013
* Bug #149816 - Implement visibility filtering support forZac Medico2007-10-094-98/+337
| | | | | | | | binary packages. This works by creating a virtual filtered repository that can be composed of multiple package types, including ebuilds, binary packages, and installed packages. svn path=/main/trunk/; revision=8012
* Make portdbapi.aux_get() cache more often.Zac Medico2007-10-091-0/+2
| | | | svn path=/main/trunk/; revision=8011
* Properly exclude old-style virtuals from the portdbapi.cp_list() cache.Zac Medico2007-10-091-2/+4
| | | | svn path=/main/trunk/; revision=8010
* Remove a redundant os.access() call in portdbapi.aux_get()Zac Medico2007-10-091-3/+3
| | | | | | and handle the potential OSError instead. svn path=/main/trunk/; revision=8009
* Optimize away a match_from_list() call insideZac Medico2007-10-091-4/+14
| | | | | | | | portdbapi.xmatch("match-all") when given atom has no operator or version. Also, make cp_list() use the xmatch("match-all") cache when possible. svn path=/main/trunk/; revision=8008
* Factor package.mask and profile masking logic out ofZac Medico2007-10-072-46/+69
| | | | | | | | portdbapi.visible() and move it to config.getMaskAtom() and getProfileMaskAtom(). This will allow the code to be reused for binary packages. svn path=/main/trunk/; revision=8001
* Cache IUSE for portdbapi.gvisible() calls.Zac Medico2007-10-071-1/+2
| | | | svn path=/main/trunk/; revision=8000
* Restore profile masking support to getmaskingstatus().Zac Medico2007-10-071-0/+12
| | | | svn path=/main/trunk/; revision=7999
* Allow config.setcpv() to take a dictionary of package metadataZac Medico2007-10-072-3/+7
| | | | | | | in place of a dbapi instance so that extra cache pulls can be avoided. svn path=/main/trunk/; revision=7998
* Factor the KEYWORDS masking logic out of portdbapi.visible()Zac Medico2007-10-072-67/+91
| | | | | | | and move it to config.getMissingEeywords(). This will allow the code to be reused for binary packages. svn path=/main/trunk/; revision=7997
* Fix binarytree.populate() so that it properly cachesZac Medico2007-10-061-3/+18
| | | | | | all the metadata necessary for visibility filtering. svn path=/main/trunk/; revision=7989