summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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. (trunk r8951) svn path=/main/branches/2.1.2/; revision=8952
* Include masked flags in PORTAGE_IUSE to avoid more false positivesZac Medico2007-12-181-3/+4
| | | | | | in the useq() IUSE check. (trunk r8949) svn path=/main/branches/2.1.2/; revision=8950
* 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. (trunk r8945) svn path=/main/branches/2.1.2/; revision=8948
* 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 (trunk r8944) svn path=/main/branches/2.1.2/; revision=8947
* 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. (trunk r8941:8943) svn path=/main/branches/2.1.2/; revision=8946
* In "QA Notice: Precompiled python" messages, use sed to strip theZac Medico2007-12-151-1/+2
| | | | | | leading ${D} from file paths. (trunk r8935) svn path=/main/branches/2.1.2/; revision=8936
* Fix punctuation and spelling. Thanks to Arfrever Frehtes TaifersarZac Medico2007-12-151-3/+3
| | | | | | Arahesis <arfrever.fta@gmail.com>. (trunk r8932) svn path=/main/branches/2.1.2/; revision=8933
* Split out a format_qa_output() function to eliminate duplicate code.Zac Medico2007-12-151-59/+57
| | | | | | (trunk r8927 and r8930) svn path=/main/branches/2.1.2/; revision=8931
* Instead of all modes, only in commit mode save an extra copy of QAZac Medico2007-12-151-1/+3
| | | | | | output for display in $EDITOR. (trunk r8928) svn path=/main/branches/2.1.2/; revision=8929
* 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. (trunk r8925) svn path=/main/branches/2.1.2/; revision=8926
* 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. (trunk r8923) svn path=/main/branches/2.1.2/; revision=8924
* * Add support for multi-line commit message input by using EOFZac Medico2007-12-141-7/+84
| | | | | | | | | | | as a delimiter (Ctrl-d) instead of a new line. * Add support for getting a commit message using an editor defined by the EDITOR environment variable. (trunk r8919:8921) svn path=/main/branches/2.1.2/; revision=8922
* Fix the bug #198398 code from trunk to be compatible with the codeZac Medico2007-12-131-2/+2
| | | | | | in this branch. svn path=/main/branches/2.1.2/; revision=8919
* Add --buildpkgonly to the options lists that exempt fromZac Medico2007-12-131-2/+3
| | | | | | slot collisions and world file updates. (trunk r8917) svn path=/main/branches/2.1.2/; revision=8918
* 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. (trunk r8915) svn path=/main/branches/2.1.2/; revision=8916
* 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). (trunk r8913) svn path=/main/branches/2.1.2/; revision=8914
* Make sure that PORTAGE_SANDBOX_* variables can never be setZac Medico2007-12-131-1/+1
| | | | | | by "${T}"/environment. (trunk r8911) svn path=/main/branches/2.1.2/; revision=8912
* 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. (trunk r8909) svn path=/main/branches/2.1.2/; revision=8910
* 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. (trunk r8905:8907) svn path=/main/branches/2.1.2/; revision=8908
* Use the BAD color class instead of hardcoded red. (trunk r8904)Zac Medico2007-12-132-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=8905
* 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. (trunk r8896) svn path=/main/branches/2.1.2/; revision=8903
* Bug #201848 - Make the ebuild command reject ebuilds that do not defineZac Medico2007-12-131-1/+6
| | | | | | SLOT. (trunk r8895) svn path=/main/branches/2.1.2/; revision=8902
* Bug #201848 - Mask ebuilds that do not define SLOT. (trunk r8894)Zac Medico2007-12-132-9/+18
| | | | svn path=/main/branches/2.1.2/; revision=8900
* * In filter_readonly_variables(), replace 'declare -r ' with 'declare 'Zac Medico2007-12-132-3/+55
| | | | | | | | | | | | | | | | instead of removing it completely. * Bug #202068 - In order to filter unwanted variable assignments out of the bash environment, use a filter-bash-environment.py script that behaves similar to egrep -v except that it leaves bash here- documents intact. * Use the sed -r option to enable extended regular expressions so that commonly used characters like (, ), and + don't have to be escaped. (trunk r8890:8893) svn path=/main/branches/2.1.2/; revision=8899
* Bug #198398 - Make repoman bail out if support for RMD160 hashZac Medico2007-12-131-0/+18
| | | | | | creation appears to be missing. (trunk r8886:8888 and r8897) svn path=/main/branches/2.1.2/; revision=8898
* Bug #202036 - In case of blockers, bail out earlier so that laterZac Medico2007-12-131-19/+20
| | | | | | code can assume there are no blockers. (trunk r8889) svn path=/main/branches/2.1.2/; revision=8890
* Instead of calling sys.exit when a ParseError occurs in the configZac Medico2007-12-113-59/+27
| | | | | | | | | constructor, raise a ParseError and make emerge and portageq handle the error. This way consumers of the portage api can handle the ParseError rather than have their application exit. Thanks to lxnay for reporting. (trunk r8884) svn path=/main/branches/2.1.2/; revision=8886
* * Raise PermissionDenied from getconfig() when appropriate.Zac Medico2007-12-111-3/+5
| | | | | | | | * When available, make getconfig() include an invalid token in a ParseError message. (trunk r8883) svn path=/main/branches/2.1.2/; revision=8885
* * When installing a binary package, export the file name of the packageZac Medico2007-12-112-2/+14
| | | | | | | | | | | | | | | as PORTAGE_BINPKG_FILE in order to give bashrc users an opportunity to do various things such as remove binary packages after they're installed. * Add a note in ebuild.sh explaining why hardcoded bash lists are needed for backward compatibility with <portage-2.1.4 since they assume that a newly installed version of ebuild.sh will work for pkg_postinst, pkg_prerm, and pkg_postrm when portage is upgrading itself. (trunk r8878) svn path=/main/branches/2.1.2/; revision=8881
* Add a "Quality Assurance" <part> tag so that all chapters areZac Medico2007-12-111-0/+3
| | | | | | consistently nested inside <part> tags. (trunk r8877) svn path=/main/branches/2.1.2/; revision=8880
* Add some documentation for ebuild phases and pre/post phaseZac Medico2007-12-116-0/+84
| | | | | | hooks that can be defined via bashrc. (trunk r8876) svn path=/main/branches/2.1.2/; revision=8879
* Do an EBUILD_EXIT_STATUS_FILE sanity check in spawnebuild()Zac Medico2007-12-081-1/+10
| | | | | | | where it spawns misc-functions.sh after the install phase. (trunk r8874) svn path=/main/branches/2.1.2/; revision=8875