summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Make key_expand() use dbapi.categories.Zac Medico2007-12-281-1/+1
| | | | svn path=/main/trunk/; revision=9081
* Make dep_expand() stop relying on having a categories list:Zac Medico2007-12-284-6/+30
| | | | | | | | | * Create and use a dbapi.categories property that is automatically generated from dbapi.cp_all(). * Make mutable dbapi instances delete the invalidate the cached categories when they need to be regenerated. svn path=/main/trunk/; revision=9080
* Just ignore it when the global counter file does not matchZac Medico2007-12-281-5/+0
| | | | | | | | | | the highest installed COUNTER since it's normal for them to differ in some cases. For example, the global counter file will contain a higher value if the user merges a package and then immediately unmerges it (unmerge does not update the global counter file, but merge does). svn path=/main/trunk/; revision=9078
* In action_regen(), use writemsg() to send error messages toZac Medico2007-12-281-7/+6
| | | | | | stderr. svn path=/main/trunk/; revision=9066
* Show the EBUILD_FORCE_TEST "Forcing test" messageZac Medico2007-12-281-3/+6
| | | | | | even when "test" is not in IUSE. svn path=/main/trunk/; revision=9065
* Fixes for logic related to FEATURES=test to USE=test mapping:Zac Medico2007-12-281-11/+25
| | | | | | | | | | | | | | | * Add EBUILD_FORCE_TEST to the environment whitelist and filter it from the saved environment in save_ebuild_env(). * Tweak logic inside the ebuild command and config.regenerate() so that EBUILD_FORCE_TEST works even in odd cases like when USE=test is masked. * Only make FEATURES=test map to USE=test when "test" is actually in IUSE. * Remove USE=test from the set of implicit IUSE so that useq() calls in ebuild.sh properly generate a QA Notice when "test" is missing from IUSE. svn path=/main/trunk/; revision=9064
* In getconfig(), pass the infile attribute into the shlexZac Medico2007-12-251-1/+4
| | | | | | | constructor so that shlex.sourcehook() properly joins relative paths. svn path=/main/trunk/; revision=9054
* Fix "Initializing counter" message to show the correct value.Zac Medico2007-12-251-1/+1
| | | | svn path=/main/trunk/; revision=9053
* Bug #203090 - Do not trust the global counterZac Medico2007-12-251-12/+36
| | | | | | file that can lead to invalid COUNTER generation. svn path=/main/trunk/; revision=9052
* - small UI cleanups. *should* not cause problems with lack of missing newlines.Ned Ludd2007-12-252-9/+10
| | | | svn path=/main/trunk/; revision=9050
* Add support for --usepkg and --usepkgonly options together withZac Medico2007-12-211-4/+5
| | | | | | emerge --search. svn path=/main/trunk/; revision=9038
* Make vardbapi cache DESCRIPTION and HOMEPAGE in order to optimizeZac Medico2007-12-211-1/+2
| | | | | | emerge --searchdesc. svn path=/main/trunk/; revision=9031
* Implement binary package visibility filtering for emerge --search.Zac Medico2007-12-211-14/+56
| | | | svn path=/main/trunk/; revision=9029
* Don't show "Size of files: 0 kB" in emerge --search output for installedZac Medico2007-12-211-0/+7
| | | | | | packages that have no available ebuild in the tree. svn path=/main/trunk/; revision=9028
* Implement emerge --search support for installed packages, so itZac Medico2007-12-211-13/+33
| | | | | | works even without a portage tree or binary packages. svn path=/main/trunk/; revision=9027
* Make the "test" flag that's enabled by FEATURES=test intoZac Medico2007-12-211-0/+2
| | | | | | an implicit iuse member. svn path=/main/trunk/; revision=9025
* Fix xmatch "match-all" typo.Zac Medico2007-12-211-1/+1
| | | | svn path=/main/trunk/; revision=9020
* In portage.process.spawn(), make the default fd_pipes value getZac Medico2007-12-211-1/+5
| | | | | | | file descriptors from sys.std{in,out,err} so that they can be overridden. svn path=/main/trunk/; revision=9018
* In portage.spawn(), make the default fd_pipes value get fileZac Medico2007-12-211-1/+5
| | | | | | | descriptors from sys.std{in,out,err} so that they can be overridden. svn path=/main/trunk/; revision=9016
* Tweak profile validation and warning logic a bit.Zac Medico2007-12-212-5/+5
| | | | svn path=/main/trunk/; revision=9015
* Fix references to dbapi._category_re.Zac Medico2007-12-211-2/+2
| | | | svn path=/main/trunk/; revision=9013
* Use regex category validation in binarytree.populate().Zac Medico2007-12-211-2/+2
| | | | svn path=/main/trunk/; revision=9012
* Use a regex to validate package directory names in portdbapi.cp_list()Zac Medico2007-12-212-1/+5
| | | | | | and also simplify the catagory regex a bit. svn path=/main/trunk/; revision=9010
* Add "metadata" and "licenses" to _non_category_dirs.Zac Medico2007-12-211-2/+3
| | | | svn path=/main/trunk/; revision=9008
* Slightly improved the masked package check inside dep_zapdeps().Zac Medico2007-12-211-9/+9
| | | | svn path=/main/trunk/; revision=9006
* Fix a reference to an undefined "mykey" variable.Zac Medico2007-12-211-1/+1
| | | | svn path=/main/trunk/; revision=9005
* Fix a typo in the _non_category_dirs regex.Zac Medico2007-12-201-1/+1
| | | | svn path=/main/trunk/; revision=8997
* Filter out some non-category directories in portdbapi.cp_all().Zac Medico2007-12-201-3/+5
| | | | svn path=/main/trunk/; revision=8993
* For simplicity and consistency, always use a regular expressionZac Medico2007-12-202-21/+11
| | | | | | for category validation instead of using a list. svn path=/main/trunk/; revision=8992
* Fix portdbapi.cp_list() so that it can cope with aZac Medico2007-12-203-2/+5
| | | | | | missing profile. svn path=/main/trunk/; revision=8990
* Make dep_zapdeps() fall back to installed packages in it'sZac Medico2007-12-201-1/+2
| | | | | | | | availability test in cases where the package does not appear to be masked. This solves dep selection preference issues when working without a portage tree. svn path=/main/trunk/; revision=8988
* Fix binarytree._update_pkgindex_header() so that it can copeZac Medico2007-12-201-4/+6
| | | | | | with a missing profile. svn path=/main/trunk/; revision=8985
* Make vartree.cpv_all() stop relying on having a categoriesZac Medico2007-12-201-2/+14
| | | | | | | list since it may not be available if there is no portage tree. svn path=/main/trunk/; revision=8982
* Enable emerge search actions for binary packages when there isZac Medico2007-12-201-19/+89
| | | | | | no portage tree available. svn path=/main/trunk/; revision=8980
* Fix a type: eclasses -> eclass.Zac Medico2007-12-201-1/+1
| | | | svn path=/main/trunk/; revision=8978
* Pass a valid phase into eerror so that it works.Zac Medico2007-12-201-1/+1
| | | | svn path=/main/trunk/; revision=8976
* Make binarytree.populate() stop relying on having a categoriesZac Medico2007-12-201-4/+2
| | | | | | list since it may not be available if there is no portage tree. svn path=/main/trunk/; revision=8975
* Convert messages about missing portage tree to debug levelZac Medico2007-12-201-2/+4
| | | | | | | warnings since quite often it's possible to function without a portage tree now. svn path=/main/trunk/; revision=8974
* Make some adjustments so that it's possible to install binaryZac Medico2007-12-204-16/+32
| | | | | | | | | | | | | | | | | | packages without having a portage tree: * Make portdbapi.aux_get() return early by raising a KeyError if it detects that there is no portage tree. * Move the ARCH and USERLAND sanity check to the last moment in doebuild() and only require these variables if an existing environment (such as environment.bz2) is unavailable. * Make the NewsManager constructor cope with a broken make.profile symlink. svn path=/main/trunk/; revision=8973
* Bug #202748 - When merging a binary package, only clean upZac Medico2007-12-201-1/+4
| | | | | | | temp files on success. Otherwise, leave the temp files intact for debugging purposes. svn path=/main/trunk/; revision=8971
* Whitespace only: remove extra indentation.Zac Medico2007-12-201-38/+37
| | | | svn path=/main/trunk/; revision=8969
* Always add ARCH to USE without relying on it being listedZac Medico2007-12-201-0/+2
| | | | | | in PORTAGE_ARCHLIST. svn path=/main/trunk/; revision=8967
* Keep filtered USE in the PORTAGE_USE variable to keepZac Medico2007-12-191-6/+6
| | | | | | | it separate from the global USE that's shown by emerge --info. svn path=/main/trunk/; revision=8963
* Trigger a config.regenerate() call inside setcpv() when theZac Medico2007-12-191-1/+7
| | | | | | | | | EBUILD_PHASE variable is defined. It's too expensive to do the regenerate() call every time. Do in when EBUILD_PHASE is defined since it's needed to create the filtered USE that environ() passes to the ebuild environment. svn path=/main/trunk/; revision=8961
* Store filtered USE for config.environ() calls in a specialZac Medico2007-12-181-3/+14
| | | | | | | attribute so that the normal global USE is still available for things like emerge --info output. svn path=/main/trunk/; revision=8959
* Fix USE filtering code so that it doesn't rely on config.setcpv()Zac Medico2007-12-181-2/+4
| | | | | | calling config.regenerate(). svn path=/main/trunk/; revision=8957
* Make special build and bootstrap flags into implicit membersZac Medico2007-12-181-0/+5
| | | | | | of IUSE so that stage builds will work again. svn path=/main/trunk/; revision=8955
* Display the merge list with blockers any time that there areZac Medico2007-12-181-4/+7
| | | | | | | blockers, instead of telling the user to try again with --pretend. svn path=/main/trunk/; revision=8953
* Include masked flags in PORTAGE_IUSE to avoid more false positivesZac Medico2007-12-181-3/+4
| | | | | | in the useq() IUSE check. svn path=/main/trunk/; revision=8949
* Create a PORTAGE_IUSE variable containing an egrep patternZac Medico2007-12-181-2/+13
| | | | | | | | for use by the QA check that's built into useq(). This allows the IUSE logic for this check to be isolated in the python code. svn path=/main/trunk/; revision=8945