summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate redundant "notadded" error filtering.Zac Medico2007-12-211-7/+1
| | | | svn path=/main/trunk/; revision=9023
* 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
* Bug #202566 - Move the 'global portage' statement to avoidZac Medico2007-12-211-1/+2
| | | | | | | | "SyntaxWarning: name 'portage' is assigned to before global declaration" messages produced by earlier python-2.4. svn path=/main/trunk/; revision=9004
* Hardcode #!/bin/bash for consistency with other scripts.Zac Medico2007-12-201-1/+1
| | | | svn path=/main/trunk/; revision=9002
* 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
* Bug #140180 - Ignore missing HOMEPAGE and LICENSE variables forZac Medico2007-12-191-1/+2
| | | | | | new-style virtual packages. svn path=/main/trunk/; revision=8965
* 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
* Only enable the PORTAGE_IUSE check during build time phasesZac Medico2007-12-181-1/+6
| | | | | | since that's the only time it's valid for now. svn path=/main/trunk/; revision=8951
* 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-182-12/+19
| | | | | | | | 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
* Bug #176467 - Filter out USE flags that aren't part of IUSE.Zac Medico2007-12-181-5/+35
| | | | | | | | | | | Some flags are considered to be implicit members of IUSE: * Flags derived from ARCH * Flags derived from USE_EXPAND_HIDDEN variables * Forced flags, such as those from {,package}use.force svn path=/main/trunk/; revision=8944
* Fix typo: %% -> ##.Zac Medico2007-12-181-1/+1
| | | | svn path=/main/trunk/; revision=8943
* Generalize the sed -> gsed wrapper script so that it'sZac Medico2007-12-181-10/+12
| | | | | | | | | possible to create awk, make, and patch symlinks that behave analogously. These symlinks will make it unnecessary for default-bsd profiles to define profile.bashrc aliases for these commands. svn path=/main/trunk/; revision=8942
* Fix setconfig.getSets() api breakage.Zac Medico2007-12-171-1/+1
| | | | svn path=/main/trunk/; revision=8937
* In "QA Notice: Precompiled python" messages, use sed to strip theZac Medico2007-12-151-1/+2
| | | | | | leading ${D} from file paths. svn path=/main/trunk/; revision=8935
* Move the reusable ConsoleStyleFile and StyleWriter classes intoZac Medico2007-12-152-52/+53
| | | | | | the ouput module. svn path=/main/trunk/; revision=8934
* Fix punctuation and spelling. Thanks to Arfrever Frehtes TaifersarZac Medico2007-12-152-8/+8
| | | | | | Arahesis <arfrever.fta@gmail.com>. svn path=/main/trunk/; revision=8932
* Split out a format_qa_output() function to eliminate duplicate code.Zac Medico2007-12-151-59/+57
| | | | svn path=/main/trunk/; revision=8930
* Instead of all modes, only in commit mode save an extra copy of QAZac Medico2007-12-151-1/+3
| | | | | | output for display in $EDITOR. svn path=/main/trunk/; revision=8928
* Replace hardcoded green, yellow, and red with GOOD, WARN, and BAD.Zac Medico2007-12-151-3/+3
| | | | svn path=/main/trunk/; revision=8927
* Save QA output so that it can be conveniently displayedZac Medico2007-12-151-13/+99
| | | | | | | | | | | | | | in $EDITOR while the user creates a commit message. Otherwise, the user would not be able to see this output once the editor has taken over the screen. Output is done through a formatter object where it is captured for later use. A file-like object that behaves something like the portage.output.colorize() function is used to transfor style identifiers from the formatter framework into actual console codes. svn path=/main/trunk/; revision=8925