summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for logic related to FEATURES=test to USE=test mapping:Zac Medico2007-12-284-20/+38
| | | | | | | | | | | | | | | | * 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. (trunk r9063:9065) svn path=/main/branches/2.1.2/; revision=9076
* Bug #203323 - Fix the FEATURES=sfperms code so that it doesn't chmodZac Medico2007-12-281-6/+19
| | | | | | | g-r on binaries that are both setuid and setgid. In that case, just chmod o-r. (trunk r9061) svn path=/main/branches/2.1.2/; revision=9075
* Minor code readablity enhancements:Zac Medico2007-12-281-6/+8
| | | | | | | | | | * Use relative_path and full_path variables for files being checked instead of spreading code like x+"/files/"+y all over the place. * Use stat.S_IMODE with octal 0111 instead of hex 0x0248 in the file.executable checks. (trunk r9060) svn path=/main/branches/2.1.2/; revision=9074
* Bug #201498 - Use desktop-file-validate to validate *.desktopZac Medico2007-12-281-1/+27
| | | | | | | | files inside ${FILESDIR} and generate a "desktop.invalid" qa warning if an error is detected. Thanks to Betelgeuse for the initial patch. (trunk r9059) svn path=/main/branches/2.1.2/; revision=9073
* Fix broken handling of the tuple that's returned fromZac Medico2007-12-281-1/+1
| | | | | | verify_all(). Thanks to Betelgeuse. (trunk r9056) svn path=/main/branches/2.1.2/; revision=9072
* In getconfig(), pass the infile attribute into the shlexZac Medico2007-12-281-1/+4
| | | | | | | constructor so that shlex.sourcehook() properly joins relative paths. (trunk r9054) svn path=/main/branches/2.1.2/; revision=9071
* Fix "Initializing counter" message to show the correct value.Zac Medico2007-12-281-1/+1
| | | | | | (trunk r9053) svn path=/main/branches/2.1.2/; revision=9070
* Bug #203090 - Do not trust the global counterZac Medico2007-12-281-13/+37
| | | | | | | file that can lead to invalid COUNTER generation. (trunk r9052) svn path=/main/branches/2.1.2/; revision=9069
* Bug #203239 - With FEATURES=noauto, always source ${EBUILD}.Zac Medico2007-12-281-4/+9
| | | | | | | | This will load the ${T}/environment file if available and then source ${EBUILD} to overwrite any functions that have changed. (trunk r9051 and r9062) svn path=/main/branches/2.1.2/; revision=9068
* - small UI cleanups. *should* not cause problems with lackZac Medico2007-12-282-9/+10
| | | | | | of missing newlines. (trunk r9050) svn path=/main/branches/2.1.2/; revision=9067
* Add support for --usepkg and --usepkgonly options together withZac Medico2007-12-211-4/+5
| | | | | | emerge --search. (trunk r9038) svn path=/main/branches/2.1.2/; revision=9039
* Implement a `portageq contents <root> <category/package>` commandZac Medico2007-12-211-0/+25
| | | | | | | that lists all the files that are installed for a given package, with one file listed on each line. (trunk r9035) svn path=/main/branches/2.1.2/; revision=9037
* Enhance the portageq match command to list all installed packagesZac Medico2007-12-211-9/+14
| | | | | | when given an empty string. (trunk r9032:9034) svn path=/main/branches/2.1.2/; revision=9036
* Make vardbapi cache DESCRIPTION and HOMEPAGE in order to optimizeZac Medico2007-12-211-1/+2
| | | | | | emerge --searchdesc. (trunk r9031) svn path=/main/branches/2.1.2/; revision=9032
* emerge --search enhancements:Zac Medico2007-12-211-26/+95
| | | | | | | | * support for searching installed packages * visibility filtering for both installed and binary packages (trunk r9026:9029) svn path=/main/branches/2.1.2/; revision=9030
* Make the "test" flag that's enabled by FEATURES=test intoZac Medico2007-12-211-0/+2
| | | | | | an implicit iuse member. (trunk r9025) svn path=/main/branches/2.1.2/; revision=9026
* Eliminate redundant "notadded" error filtering. (trunk r9023)Zac Medico2007-12-211-7/+1
| | | | svn path=/main/branches/2.1.2/; revision=9024
* Tweak profile validation and warning logic a bit. (trunk r9015)Zac Medico2007-12-212-5/+5
| | | | svn path=/main/branches/2.1.2/; revision=9022
* Fix xmatch "match-all" typo. (trunk r9020)Zac Medico2007-12-211-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9021
* 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. (trunk r9018) svn path=/main/branches/2.1.2/; revision=9019
* 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. (trunk r9016) svn path=/main/branches/2.1.2/; revision=9017
* Use regex category validation in binarytree.populate().Zac Medico2007-12-211-2/+2
| | | | | | (trunk r9011:9013) svn path=/main/branches/2.1.2/; revision=9014
* Use a regex to validate package directory names in portdbapi.cp_list()Zac Medico2007-12-211-1/+5
| | | | | | and also simplify the catagory regex a bit. (trunk r9010) svn path=/main/branches/2.1.2/; revision=9011
* Add "metadata" and "licenses" to _non_category_dirs. (trunk r9008)Zac Medico2007-12-211-2/+3
| | | | svn path=/main/branches/2.1.2/; revision=9009
* Slightly improved the masked package check inside dep_zapdeps().Zac Medico2007-12-211-9/+9
| | | | | | (trunk r9006) svn path=/main/branches/2.1.2/; revision=9007
* Hardcode #!/bin/bash for consistency with other scripts. (trunk r9002)Zac Medico2007-12-201-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9003
* Remove an accidental redundant loop from portdbapi.cp_all().Zac Medico2007-12-201-3/+2
| | | | svn path=/main/branches/2.1.2/; revision=8999
* Fix a typo in the _non_category_dirs regex. (trunk r8997)Zac Medico2007-12-201-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8998
* Remove some redunant categories code.Zac Medico2007-12-201-8/+3
| | | | svn path=/main/branches/2.1.2/; revision=8996
* Fix broken indentation in portdbapi.cp_all().Zac Medico2007-12-201-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=8995
* For simplicity and consistency, always use a regular expressionZac Medico2007-12-201-16/+14
| | | | | | | for category validation instead of using a list. (trunk r8991:8993) svn path=/main/branches/2.1.2/; revision=8994
* Fix portdbapi.cp_list() so that it can cope with aZac Medico2007-12-201-2/+5
| | | | | | missing profile. (trunk r8990) svn path=/main/branches/2.1.2/; revision=8991
* 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. (trunk r8988) svn path=/main/branches/2.1.2/; revision=8989
* Merge missing db keys from trunk, for bug #149816.Zac Medico2007-12-201-3/+6
| | | | svn path=/main/branches/2.1.2/; revision=8987
* Merge the unified package masking output from trunk for bug #149816.Zac Medico2007-12-202-82/+104
| | | | svn path=/main/branches/2.1.2/; revision=8986
* Bug #149816 - Implement visibility filtering for binary packages.Zac Medico2007-12-202-12/+27
| | | | | | | This is only the least invasive part of the implementation that is currently in trunk. svn path=/main/branches/2.1.2/; revision=8984
* Make vartree.cpv_all() stop relying on having a categoriesZac Medico2007-12-201-2/+13
| | | | | | | list since it may not be available if there is no portage tree. (trunk r8982) svn path=/main/branches/2.1.2/; revision=8983
* Enable emerge search actions for binary packages when there isZac Medico2007-12-201-24/+93
| | | | | | no portage tree available. (trunk r8980) svn path=/main/branches/2.1.2/; revision=8981
* Fix a typo: eclasses -> eclass. (trunk r8978)Zac Medico2007-12-201-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8979
* Make some adjustments so that it's possible to install binaryZac Medico2007-12-202-16/+31
| | | | | | | | | | | | | | | | | | | | | | | 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. * Convert messages about missing portage tree to debug level warnings since quite often it's possible to function without a portage tree now. * Make binarytree.populate() stop relying on having a categories list since it may not be available if there is no portage tree. (trunk r8972:8976) svn path=/main/branches/2.1.2/; revision=8977
* 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. (trunk r8971) svn path=/main/branches/2.1.2/; revision=8972
* Whitespace only: remove extra indentation. (trunk r8969)Zac Medico2007-12-201-38/+37
| | | | svn path=/main/branches/2.1.2/; revision=8970
* Always add ARCH to USE without relying on it being listedZac Medico2007-12-201-0/+2
| | | | | | in PORTAGE_ARCHLIST. (trunk r8967) svn path=/main/branches/2.1.2/; revision=8968
* Bug #140180 - Ignore missing HOMEPAGE and LICENSE variables forZac Medico2007-12-191-1/+2
| | | | | | new-style virtual packages. (trunk r8965) svn path=/main/branches/2.1.2/; revision=8966
* 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. (trunk r8963) svn path=/main/branches/2.1.2/; revision=8964
* 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. (trunk r8961) svn path=/main/branches/2.1.2/; revision=8962
* 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. (trunk r8959) svn path=/main/branches/2.1.2/; revision=8960
* Fix USE filtering code so that it doesn't rely on config.setcpv()Zac Medico2007-12-181-2/+4
| | | | | | calling config.regenerate(). (trunk r8957) svn path=/main/branches/2.1.2/; revision=8958
* Make special build and bootstrap flags into implicit membersZac Medico2007-12-181-0/+5
| | | | | | of IUSE so that stage builds will work again. (trunk r8955) svn path=/main/branches/2.1.2/; revision=8956
* 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. (trunk r8953) svn path=/main/branches/2.1.2/; revision=8954