summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add back code removed in r11553 and fix logic to avoid IndexError.v2.2_rc10Zac Medico2008-09-261-1/+5
| | | | svn path=/main/trunk/; revision=11556
* Handle possible CacheError inside mirror_cache().Zac Medico2008-09-261-1/+1
| | | | svn path=/main/trunk/; revision=11555
* Direct EOutput.eerror() and ewarn() output to stderr.Zac Medico2008-09-261-2/+2
| | | | svn path=/main/trunk/; revision=11554
* Fix a potential IndexError inside display_preserved_libs().Zac Medico2008-09-261-3/+1
| | | | svn path=/main/trunk/; revision=11553
* Make flat_hash write keys in alphabetical order.Zac Medico2008-09-262-7/+11
| | | | svn path=/main/trunk/; revision=11552
* Rename the EAPI 2 docs and to indicate that they are no longer a draft, andZac Medico2008-09-261-298/+19
| | | | | | remove the EAPI 2_pre* docs. svn path=/main/trunk/; revision=11551
* Bump to EAPI 2.Zac Medico2008-09-261-1/+1
| | | | svn path=/main/trunk/; revision=11550
* Add PROPERTIES to portage.auxdbkeys since it's been approved by the council.Zac Medico2008-09-252-4/+4
| | | | svn path=/main/trunk/; revision=11549
* Fix mirror_cache() so it won't silently swallow a KeyError if _mtime_ orZac Medico2008-09-251-5/+9
| | | | | | _eclass_ happens to be missing from the cache data for some reason. svn path=/main/trunk/; revision=11548
* Ensure that cache modules always return a dict containing the _eclasses_Zac Medico2008-09-255-0/+12
| | | | | | key. svn path=/main/trunk/; revision=11547
* Fix message: s/One or packages/One or more packages/. Thanks to MarijnZac Medico2008-09-251-2/+2
| | | | | | Schouten <hkBst@g.o> for reporting. svn path=/main/trunk/; revision=11546
* Use echo -e when splitting lines in e* functions, for compatibility withZac Medico2008-09-251-6/+6
| | | | | | | previous behavior wrt \e escape codes such as `elog "\e[31m***\e[0m"` for example. Thanks to Arfrever for finding this solution. svn path=/main/trunk/; revision=11545
* change set expression syntax: operators now have a @ suffix (IOW: all ↵Marius Mauch2008-09-251-6/+9
| | | | | | operands must be prefixed with @) to maintain compability with existing set names containing hyphens svn path=/main/trunk/; revision=11544
* implement simple expression logic for apckage sets to generate unions, ↵Marius Mauch2008-09-251-18/+58
| | | | | | intersections and differences of two or more package sets svn path=/main/trunk/; revision=11543
* move set expansion code into its own functionMarius Mauch2008-09-251-56/+65
| | | | svn path=/main/trunk/; revision=11542
* relocate the post_emerge call so it gets called in more situations.Marius Mauch2008-09-251-18/+30
| | | | svn path=/main/trunk/; revision=11541
* Add a new AgeSet class to select installed packages that have been installed ↵Marius Mauch2008-09-251-0/+31
| | | | | | more/less than n days ago svn path=/main/trunk/; revision=11540
* Fix the case where all arguments are filtered out byZac Medico2008-09-251-1/+2
| | | | | | | | PORTAGE_COMPRESS_EXCLUDE_SUFFIXES, since otherwise 'set' was called with no arguments which caused the environment to be displayed on stdout. svn path=/main/trunk/; revision=11539
* Bug #238550 - Set world-candidate = False for the @system since the portageZac Medico2008-09-251-0/+1
| | | | | | | | ebuild will now automatically add @system to world_sets on upgrade and therefore it should no longer be necessary to add it world_sets via the command line. svn path=/main/trunk/; revision=11538
* Fix fetch() mirror:// handling in to comply with section 9.2.8 of PMS.Zac Medico2008-09-241-2/+11
| | | | svn path=/main/trunk/; revision=11537
* Import cPickle as pickle instead of vice versa. Eases 2to3's job becauseZac Medico2008-09-235-32/+32
| | | | | | | cPickle won't exist in py3k and 2to3 does s/cPickle/pickle. Thanks to Ali Polatel <hawking@g.o> for this patch. svn path=/main/trunk/; revision=11536
* Bug #230975 - Rename the portage.selinux module to portage._selinux in orderZac Medico2008-09-222-1/+1
| | | | | | | | to avoid a relative import issue which caused portage.selinux to attempt to import itself instead of the real 'selinux' module. Thanks to Michael Edenfield for this patch. svn path=/main/trunk/; revision=11535
* remove deprecation warnings and compat code for 2.1 changes to rsync and ↵Marius Mauch2008-09-221-52/+2
| | | | | | action argument syntax svn path=/main/trunk/; revision=11534
* don't attempt to unmerge a set that doesn't exist anymoreMarius Mauch2008-09-221-0/+2
| | | | svn path=/main/trunk/; revision=11533
* Add a new --list-sets action, as requested by jmbsvicetto.v2.2_rc9Zac Medico2008-09-213-8/+21
| | | | svn path=/main/trunk/; revision=11531
* Always call `cd "$WORKDIR"` to ensure that $CWD is sane whenever possible.Zac Medico2008-09-211-0/+3
| | | | svn path=/main/trunk/; revision=11530
* Bug #238251 - Use 'read' instead of $IFS for splitting newlines in e*Zac Medico2008-09-211-67/+7
| | | | | | | functions, since using $IFS causes spurious newlines to be inserted in the message when the e* function is called with more than one argument. svn path=/main/trunk/; revision=11529
* Fix erroneous variable references in the multiset 'Redefinition of set'Zac Medico2008-09-211-1/+1
| | | | | | message. svn path=/main/trunk/; revision=11528
* As requested by jmbsvicetto, add support to StaticFileSet for sets withinZac Medico2008-09-201-7/+13
| | | | | | | | | subdirectories. This makes it possible to create a set name foo/bar by placing a file named bar inside a directory named foo. By allowing sets to be organized in subdirectories, it will allow us to avoid overcrowding as the number of sets grows. svn path=/main/trunk/; revision=11527
* More SRC_URI validation.Zac Medico2008-09-202-0/+7
| | | | svn path=/main/trunk/; revision=11526
* Fix some broken logic inside portdbapi.getFetchMap().Zac Medico2008-09-201-13/+5
| | | | svn path=/main/trunk/; revision=11525
* Add test cases for SRC_URI validation.Zac Medico2008-09-202-9/+37
| | | | svn path=/main/trunk/; revision=11524
* Add a "EAPI 2_pre3" section to show what's changed.Zac Medico2008-09-201-0/+61
| | | | svn path=/main/trunk/; revision=11523
* Implement SRC_URI arrows for EAPI 2. The portdbapi.getfetchlist() methodZac Medico2008-09-203-67/+160
| | | | | | | | | | is now deprecated and there is a new getFetchMap() method that returns a dict which maps each file name to a set of alternative URIs. The portage.fetch() function uses introspection to detect when such a dict is passed in and handles it appropriately, while maintaining backward compatibility if a list of uris is passed in. svn path=/main/trunk/; revision=11522
* Document the --ignore-default-opts and --skip-manifest options.Zac Medico2008-09-201-0/+6
| | | | svn path=/main/trunk/; revision=11521
* Bug #238157 - Update http_proxy/ftp_proxy docs to show protocol://, forZac Medico2008-09-201-1/+1
| | | | | | compat with rubygems. svn path=/main/trunk/; revision=11520
* Define __all__ and clean up unused imports found by pyflakes.Zac Medico2008-09-191-8/+8
| | | | svn path=/main/trunk/; revision=11519
* Document the --debug option. Thanks to Jeremy Olexa <darkside@g.o> suggesting.Zac Medico2008-09-191-1/+5
| | | | svn path=/main/trunk/; revision=11518
* Implement the new EAPI 2 blocker behavior, including !!atom sytax whichZac Medico2008-09-193-23/+68
| | | | | | forbids temporary simultaneous installation of conflicting packages. svn path=/main/trunk/; revision=11517
* Fix typo in from previous commit.Zac Medico2008-09-191-1/+1
| | | | svn path=/main/trunk/; revision=11516
* Remove everything related to the eapi* default phase functions since theyZac Medico2008-09-183-94/+8
| | | | | | are not included in the current EAPI 2 draft. svn path=/main/trunk/; revision=11515
* Fix broken reference to self.files inside SpawnProcess._start().Zac Medico2008-09-151-1/+1
| | | | svn path=/main/trunk/; revision=11514
* Improve error messages for issues with the SYNC variable inside action_sync().Zac Medico2008-09-151-4/+11
| | | | svn path=/main/trunk/; revision=11513
* Remove unneeded quotes from PYTHONPATH assignments and also fix one moreZac Medico2008-09-132-4/+4
| | | | | | potential redundant colon inside misc-functions.sh. svn path=/main/trunk/; revision=11512
* Fix PYTHONPATH adjustments to only insert a colon when necessary. ThisZac Medico2008-09-131-3/+3
| | | | | | | | | | | | is necessary since having a stray colon causes python to interpret the empty path entry as "." which triggers the following message if cwd happens to contain a directory names "os": warning: Not importing directory 'os': missing __init__.py Thanks to Joe Peterson <lavajoe@g.o> for reporting. svn path=/main/trunk/; revision=11511
* Bug #237526 - Use portage.util.grablines() for exception handling whenZac Medico2008-09-131-14/+5
| | | | | | reading the unread file. svn path=/main/trunk/; revision=11510
* Define __all__ and remove unused imports found by pyflakes.Zac Medico2008-09-131-3/+6
| | | | svn path=/main/trunk/; revision=11509
* Move the world file update code out of update_config_files() since it shouldZac Medico2008-09-132-14/+16
| | | | | | not be relative to PORTAGE_CONFIGROOT. Thanks to grobian for reporting. svn path=/main/trunk/; revision=11508
* Document FEATURES=preserve-libs.Zac Medico2008-09-131-0/+4
| | | | svn path=/main/trunk/; revision=11506
* Adjust chunk.section.depth and generate.section.toc.level so that the EAPI 2Zac Medico2008-09-111-0/+2
| | | | | | draft docs appear on a single page which includes it's own table of contents. svn path=/main/trunk/; revision=11503