summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Prompt the user before letting the editorZac Medico2007-12-141-0/+5
| | | | | | | take over the screen so there is an opportunity to review any QA warnings. svn path=/main/trunk/; revision=8923
* Add support for getting a commit message using an editor definedZac Medico2007-12-141-8/+81
| | | | | | by the EDITOR environment variable. svn path=/main/trunk/; revision=8921
* Add support for multi-line commit message input by using EOFZac Medico2007-12-141-6/+10
| | | | | | as a delimiter (Ctrl-d) instead of a new line. svn path=/main/trunk/; revision=8920
* Add --buildpkgonly to the options lists that exempt fromZac Medico2007-12-131-2/+3
| | | | | | slot collisions and world file updates. svn path=/main/trunk/; revision=8917
* Disable the "QA Notice: Pre-stripped files" message when RESTRICTZac Medico2007-12-131-6/+9
| | | | | | | | contains "strip" or "binchecks". This is needed at least for the glibc ebuild since it calls prepallstrip directly, resulting in it being called twice. Thanks to loki_val for reporting. svn path=/main/trunk/; revision=8915
* Bug #202126 - Replace an obsolete reference to `emerge --help config`Zac Medico2007-12-131-2/+4
| | | | | | with a reference to the CONFIGURATION FILES section of emerge(1). svn path=/main/trunk/; revision=8913
* Make sure that PORTAGE_SANDBOX_* variables can never be setZac Medico2007-12-131-1/+1
| | | | | | by "${T}"/environment. svn path=/main/trunk/; revision=8911
* Allow FEATURES to persist between phases since the user mightZac Medico2007-12-132-4/+15
| | | | | | | | | | | want to modify it via bashrc to enable things like splitdebug and installsources for specific packages. They should be able to modify it in pre_pkg_setup() and have it persist all the way through the install phase. However, if FEATURES exist inside environment.bz2 then they should be overridden by current settings. svn path=/main/trunk/; revision=8909
* Remove extra _ typo.Zac Medico2007-12-131-2/+2
| | | | svn path=/main/trunk/; revision=8907
* Properly filter SANDBOX_ON from the environment. When sourcingZac Medico2007-12-131-1/+16
| | | | | | | | | ${T}/environment it's a bit tricky because we have to temporarily disable sandbox since the SANDBOX_{DENY,READ,PREDICT,_WRITE} values we've just loaded may be unusable (triggering in spurious sandbox violations) until we've merged them with our current values. svn path=/main/trunk/; revision=8906
* Use the BAD color class instead of hardcoded red.Zac Medico2007-12-132-2/+2
| | | | svn path=/main/trunk/; revision=8904
* Make portdbapi.visible() mask ebuilds that do not define SLOT.Zac Medico2007-12-131-0/+2
| | | | | | (branches/2.1.2 r8900) svn path=/main/trunk/; revision=8901
* Do the sanity check for bug #198398 as early as possible.Zac Medico2007-12-131-15/+18
| | | | svn path=/main/trunk/; revision=8897
* Bug #201771 - Make unpack() detect common errors such as absoluteZac Medico2007-12-131-5/+6
| | | | | | | paths that start with ${DISTDIR} and die an appropriate error message. Thanks to grobian for this patch. svn path=/main/trunk/; revision=8896
* Bug #201848 - Make the ebuild command reject ebuilds that do not defineZac Medico2007-12-131-1/+6
| | | | | | SLOT. svn path=/main/trunk/; revision=8895
* Bug #201848 - Mask ebuilds that do not define SLOT.Zac Medico2007-12-131-0/+4
| | | | svn path=/main/trunk/; revision=8894