summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Since lots of packages will have to be fixed before stable portage can abortZac Medico2008-07-151-9/+29
| | | | | | | | | with "this code is not 64bit clean", convert the die call to an eerror message instructing the user to file a bug at bugs.gentoo.org. This should allow us to stabilize portage-2.2 without having to ensure that the entire stable tree is 64 bit clean first. svn path=/main/trunk/; revision=11057
* Use plain sequential search for the SRC_URI.mirror check since the regexZac Medico2008-07-081-5/+8
| | | | | | approach is actually much slower. svn path=/main/trunk/; revision=10977
* Add a new "SRC_URI.mirror" check which checks to if a uri listed inZac Medico2008-07-071-0/+19
| | | | | | | profiles/thirdpartymirrors is found in SRC_URI. Thanks to Betelgeuse for the initial patch which has now been optimized with a regex. svn path=/main/trunk/; revision=10973
* Thanks to Ali Polatel <hawking@g.o> for this patch to fix broken indentation.Zac Medico2008-07-051-2/+2
| | | | svn path=/main/trunk/; revision=10944
* Bug #230525 - Work around ObjectProxy breakage in `portageq vdb_path`.Zac Medico2008-07-041-2/+4
| | | | svn path=/main/trunk/; revision=10929
* Import portage before trying to access portage.exception for exceptionZac Medico2008-07-041-6/+7
| | | | | | handling. svn path=/main/trunk/; revision=10919
* Add a portage._disable_legacy_globals() function. This deletes theZac Medico2008-07-031-2/+1
| | | | | | | | | | ObjectProxy instances that are used for lazy initialization of legacy global variables. The purpose of deleting them is to prevent new code from referencing these deprecated variables. This allows the removal of the PORTAGE_LEGACY_GLOBALS variable which used to serve the same purpose. svn path=/main/trunk/; revision=10909
* Py3k compatibility patch #5 by Ali Polatel <hawking@g.o>.Zac Medico2008-07-014-15/+15
| | | | | | Replace dict.has_key() calls with "in" and "not in" operators. svn path=/main/trunk/; revision=10874
* Fix typo.Zac Medico2008-06-301-1/+1
| | | | svn path=/main/trunk/; revision=10861
* Bug #230249 - Disable the "ebuild.notadded" check when not in commit mode andZac Medico2008-06-301-2/+8
| | | | | | | running `svn list` and `svn status` calls in every package dir will be too expensive. svn path=/main/trunk/; revision=10860
* Bug #230245 - Use os.path.basename() on paths returned from `svn list`Zac Medico2008-06-301-2/+2
| | | | | | and `svn status`. svn path=/main/trunk/; revision=10859
* Bug #230245 - Pass the correct directory when calling `snv list` andZac Medico2008-06-301-2/+2
| | | | | | | `svn status` since repoman supports category-level and repo-level commits. svn path=/main/trunk/; revision=10858
* Bug #229859 - Also add atom validation to match().Zac Medico2008-06-281-0/+4
| | | | svn path=/main/trunk/; revision=10837
* Copy portageq exit code validation from has_version() to best_version().Zac Medico2008-06-281-0/+12
| | | | svn path=/main/trunk/; revision=10836
* Bug #229859 - Make portageq check atom validity when has_version() andZac Medico2008-06-281-0/+10
| | | | | | best_version() are called from inside the ebuild environment. svn path=/main/trunk/; revision=10835
* Call use_reduce() with matchall=1 when checking depstrings. Otherwise it'sZac Medico2008-06-261-1/+1
| | | | | | possible for invalid deps to be ignored. Thanks to grobian for reporting. svn path=/main/trunk/; revision=10807
* * Remove PORTAGE_LEGACY_GLOBALS hack for portage import since lateZac Medico2008-06-261-10/+2
| | | | | | | | | | | initialization of portage.settings (via ObjectProxy) allows us to rely on being able to access the portage.exception namespace before portage.settings is initialized. * Use portage.settings["ROOT"] instead of portage.root to avoid potential ObjectProxy compatibility issues. svn path=/main/trunk/; revision=10804
* Fix repoman breakage wrt _PackageMetadataWrapper._keys values.Zac Medico2008-06-251-1/+2
| | | | svn path=/main/trunk/; revision=10783
* Use paths from portage.const instead of hardcoded versions.Zac Medico2008-06-231-2/+2
| | | | | | (branches/prefix r10765) svn path=/main/trunk/; revision=10766
* Bug #228489 - Restore the "ci" alias for "commit" mode. Thanks to grobianZac Medico2008-06-211-0/+4
| | | | | | for the patch. svn path=/main/trunk/; revision=10756
* Fix implicit_pattern to match different quote character found in warningsZac Medico2008-06-211-1/+1
| | | | | | generated by gcc-4.3. Thanks to aballier for reporting with sample log. svn path=/main/trunk/; revision=10753
* revert accidential commitMarius Mauch2008-06-201-10/+1
| | | | svn path=/main/trunk/; revision=10734
* update release notes/newsMarius Mauch2008-06-201-1/+10
| | | | svn path=/main/trunk/; revision=10733
* Bug #225285 - Add support for persistent options stored in the ↵Zac Medico2008-06-181-3/+10
| | | | | | | | EBUILD_DEFAULT_OPTS environment variable (similar to {EMERGE,QUICKPKG}_DEFAULT_OPTS). svn path=/main/trunk/; revision=10713
* Bug #225285 - Add a --skip-manifest option that disables all interactionZac Medico2008-06-181-1/+9
| | | | | | with the manifest. svn path=/main/trunk/; revision=10712
* Add a help string for --debug.Zac Medico2008-06-181-1/+1
| | | | svn path=/main/trunk/; revision=10711
* Use optparse instead of getopt.Zac Medico2008-06-181-13/+20
| | | | svn path=/main/trunk/; revision=10710
* More eblank.Zac Medico2008-06-171-2/+0
| | | | svn path=/main/trunk/; revision=10704
* Remove eblank nonsenseMarius Mauch2008-06-171-10/+1
| | | | svn path=/main/trunk/; revision=10694
* * Rename NEUTRAL color to BLANK for eblank.Zac Medico2008-06-171-3/+3
| | | | | | | * Document the new BLANK code in color.map.5. * Implement python version of eblank for mod_echo. svn path=/main/trunk/; revision=10677
* Add support for an new "eblank" elog function that shows a blank line.Zac Medico2008-06-171-1/+17
| | | | | | | Consecutive eblank calls are all collapsed into a single blank line. Thanks to Joe Peterson <lavajoe@g.o> for this patch. svn path=/main/trunk/; revision=10675
* Use spawn() instead of system().Zac Medico2008-06-111-2/+18
| | | | svn path=/main/trunk/; revision=10642
* Add CONTENTS indexing support for optimization of owner lookups. TheZac Medico2008-06-091-20/+15
| | | | | | | | | | | | | | | | | | | | vardbapi cache maintains a hash table (inside vdb_metadata.pickle) that serves to index package contents by mapping the basename of file to a list of possible packages that own it. This is used to optimize owner lookups by narrowing the search down to a smaller number of packages. It increases the size of vdb_metadata.pickle by approximately 30% and it's used in the following cases: * When an unexpected file collision occurs (whether or not collision-protect is enabled) * `emerge <filename>` * `portageq owners` The svn path=/main/trunk/; revision=10609
* Fix typo.Zac Medico2008-06-081-1/+1
| | | | svn path=/main/trunk/; revision=10601
* Make repoman pass Package instances into run_checks(), so that the checksZac Medico2008-06-081-8/+16
| | | | | | can use the Package.mtime and inherited attributes. svn path=/main/trunk/; revision=10600
* Bug #224271 - New check 'IUSE.undefined', renamed from genericZac Medico2008-06-071-0/+2
| | | | | | 'ebuild.minorsyn'. svn path=/main/trunk/; revision=10593
* As suggested by Flameeyes, add a new 'inherit.autotools' check which warnsZac Medico2008-06-071-2/+5
| | | | | | | when autotools has been inherited but none of the eautomake, eautoconf or eautoreconf functions are called like they are supposed to be. svn path=/main/trunk/; revision=10592
* remove old/unused gen_wrapper functionMike Frysinger2008-06-072-10/+1
| | | | svn path=/main/trunk/; revision=10591
* Use "platform" module instead of os.uname, or -- even worse -- a systemZac Medico2008-06-041-1/+6
| | | | | | | | | call to uname. Change repoman's identification string not to use "processor" on Linux (where it is huge), Interix (where it doesn't exist) and AIX/HP-UX (where it prints "unknown"), but "machine" instead. (branches/prefix r10554) svn path=/main/trunk/; revision=10574
* Fix regex for compatibility with the regex implementation from FreeBSD'sZac Medico2008-06-031-1/+1
| | | | | | | libc (used by bash on FreeBSD). Thanks to Alexis Ballier <aballier@g.o> for the patch. svn path=/main/trunk/; revision=10558
* Don't unset PORTAGE_BINPKG_FILE because it's readonly.Zac Medico2008-06-031-1/+0
| | | | svn path=/main/trunk/; revision=10546
* Filter PORTAGE_BINPKG_FILE in save_ebuild_env().Zac Medico2008-06-011-0/+1
| | | | svn path=/main/trunk/; revision=10541
* Create Atom instances earlier to avoid redundant validation.Zac Medico2008-05-301-6/+7
| | | | svn path=/main/trunk/; revision=10495
* Make the new behavior from bug #222439 conditional on EAPI being somethingZac Medico2008-05-281-1/+2
| | | | | | other than 0 or 1. svn path=/main/trunk/; revision=10462
* Convert doman to use bash's =~ operator instead of calling egrep.Zac Medico2008-05-281-1/+1
| | | | svn path=/main/trunk/; revision=10460
* Bug #222439 - Add doman support for foo.lang.N filenames. Behavior isZac Medico2008-05-271-2/+9
| | | | | | | | | | | | as follows: foo.1 -> man/man1/foo.1 foo.lang.1 -> man/lang/man1/foo.1 Thanks to Yuri Vasilevski for the initial patch. I've modified it to use bash's =~ operator and corresponding $BASH_REMATCH array. svn path=/main/trunk/; revision=10459
* Skip source_all_bashrcs() when $EBUILD_PHASE is not set.Zac Medico2008-05-261-0/+1
| | | | svn path=/main/trunk/; revision=10429
* Bug #2272 - Extend dependency atom sytax to specify enabled or disabledZac Medico2008-05-231-1/+8
| | | | | | | | states of USE flags. Matching with the new syntax is currently only supported in the dbapi classes and dependency resolver (use matching does not work yet in config files such as package.mask). svn path=/main/trunk/; revision=10387
* When using vecho or eqawarn it comes in handy when isolated-functionsZac Medico2008-05-201-0/+2
| | | | | | have been sourced. (branches/prefix r10380) svn path=/main/trunk/; revision=10381
* Add dev-util/ftjam to the RDEPEND.suspect list as per bug #221537, comment #3.Zac Medico2008-05-161-0/+1
| | | | | | Leaving dev-util/jam in place, in case it revives somehow. svn path=/main/trunk/; revision=10344