summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #290625 - Manually encode output to stdout in python3, in order to avoidZac Medico2009-10-264-27/+41
| | | | | | potential UnicodeEncodeError exceptions. svn path=/main/trunk/; revision=14734
* Revert the workaround for bug #288863. This will require a dependency onZac Medico2009-10-261-6/+0
| | | | | | >=sys-apps/sandbox-2.2. svn path=/main/trunk/; revision=14733
* Add a reference to bug #141118 inside _expand_new_virtuals().Zac Medico2009-10-261-2/+4
| | | | svn path=/main/trunk/; revision=14732
* Take the -c option and make it mean --depclean instead of --clean, sinceZac Medico2009-10-263-7/+7
| | | | | | --clean is pretty useless anyway. svn path=/main/trunk/; revision=14731
* Add -R as a shortcut for --depclean. Thanks to Jonathan Callen <abcd@g.o> forZac Medico2009-10-263-3/+4
| | | | | | the suggestion. svn path=/main/trunk/; revision=14730
* Add a parsedate() function which emulates rfc822.parsedate(), since python3Zac Medico2009-10-251-12/+28
| | | | | | doesn't have it. svn path=/main/trunk/; revision=14729
* Use calendar.timegm instead of time.mktime, for correct timezone handling.Zac Medico2009-10-251-1/+2
| | | | svn path=/main/trunk/; revision=14728
* Don't set mtime on downloaded metadata.dtd when using python3, since theZac Medico2009-10-251-5/+23
| | | | | | | rfc822.parsedate() function is not available. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=14725
* update documentation on _test_openpty_eof and disable openpty on Solaris ↵Fabian Groffen2009-10-241-11/+10
| | | | | | again (branches/prefix r14721) svn path=/main/trunk/; revision=14722
* Bug #134466 - Add a --ask-enter-invalid option. When used together with theZac Medico2009-10-246-24/+59
| | | | | | | --ask option, interpret a single "Enter" key press as invalid input. This helps prevent accidental acceptance of the first choice. svn path=/main/trunk/; revision=14710
* Use urllib.urlopen() instead of portage.fetch() for fetching metadata.dtd.Zac Medico2009-10-241-42/+68
| | | | svn path=/main/trunk/; revision=14709
* Add --help output for --unordered-display, and move man page docs from theZac Medico2009-10-232-6/+16
| | | | | | actions to the options section. svn path=/main/trunk/; revision=14708
* Use find with -print0 for absolute safety.Zac Medico2009-10-231-2/+2
| | | | svn path=/main/trunk/; revision=14707
* Bug #289967 - Update installsources rsync code for >=debugedit-4.4.6-r2.Zac Medico2009-10-231-9/+23
| | | | | | Thanks to Peter Alfredsen <loki_val@g.o> for this patch. svn path=/main/trunk/; revision=14706
* Factor vdb loading code out of the depgraph constructor, since this procedureZac Medico2009-10-231-18/+44
| | | | | | | is slow and it generates spinner output, which isn't very nice behavior for a constructor. Now it's called on-demand by various methods when necessary. svn path=/main/trunk/; revision=14705
* Factor out duplicate "These are the packages that would be merged",Zac Medico2009-10-233-71/+63
| | | | | | "Calculating dependencies", and spinner cleanup code. svn path=/main/trunk/; revision=14704
* Add a --unordered-display option for use with --tree. This allows the displayZac Medico2009-10-235-7/+60
| | | | | | | to be optimized differently since the merge order is not preserved. Thanks to Sebastian Mingramm (few) for the initial patch. svn path=/main/trunk/; revision=14703
* Factor the --tree code out of depgraph.display().Zac Medico2009-10-231-136/+146
| | | | svn path=/main/trunk/; revision=14702
* Fix license_groups parsing to stack the lists, so license_groups from overlaysZac Medico2009-10-191-2/+4
| | | | | | | extend groups from the main tree instead of overwritting them. Thanks to Vlastimil Babka <caster@g.o> for reporting. svn path=/main/trunk/; revision=14696
* Remove the docs for the extend, remove, and intersect attributesZac Medico2009-10-191-10/+2
| | | | | | that are not supported now. svn path=/main/trunk/; revision=14695
* drop IMAGE -- people have had years to catch upMike Frysinger2009-10-193-6/+2
| | | | svn path=/main/trunk/; revision=14694
* Bug #259697 - Update IUSE.invalid docs for glep 56. Thanks to Alec WarnerZac Medico2009-10-191-1/+1
| | | | | | <antarus@g.o> for this patch. svn path=/main/trunk/; revision=14681
* Add support for display of nested sets in --depclean and --prune reverseZac Medico2009-10-192-42/+62
| | | | | | | dependency output. This also fixes a bug from the 'selected' set changes which could cause the system set to be disregarded in some cases. svn path=/main/trunk/; revision=14680
* Remove support for 'extend', 'remove', and 'intersect' sets.conf sectionZac Medico2009-10-181-26/+3
| | | | | | | | | | | | | | | | attributes in SetConfig.getSetAtoms() since the current implementation does not meet user expectations, as mentioned in bug #253802, comment #5: Package set operators currently operate on atoms, but what users really need is for them to operate on the packages themselves. This will allow one set to add or subtract packages from another even though the sets to not use the exact same atoms to refer to the given packages. I imagine the way this should be done is to create a mapping of atom -> package for each set, perform the intersection using the packages, and then map the package intersection back into a set of atoms. svn path=/main/trunk/; revision=14679
* Revert r14677 since it doesn't interact well with the 'extend', 'remove', andZac Medico2009-10-181-16/+11
| | | | | | 'intersect' code in SetConfig.getSetAtoms(). svn path=/main/trunk/; revision=14678
* Add a boolean expand_nested_sets parameter to SetConfig.getSetAtoms(). ThisZac Medico2009-10-181-14/+19
| | | | | | | will be useful for adding support to the dependency graph for keeping track of precisely which nested set each atom comes from. svn path=/main/trunk/; revision=14677
* Move filtering of misc bash variables from save_ebuild_env() toZac Medico2009-10-182-6/+7
| | | | | | | filter_readonly_variables(). Add additional variables found in the output of `env -i bash -c 'declare -p'`. svn path=/main/trunk/; revision=14676
* Fix messages broken in r14616. Thanks to Arfrever for reporting and thanks toZac Medico2009-10-181-4/+3
| | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14675
* Convert --select to boolean True when enabled, so --resume code handlesZac Medico2009-10-181-0/+1
| | | | | | it like other boolean options. svn path=/main/trunk/; revision=14667
* Warn aabout default world and system set configuration being used whenZac Medico2009-10-181-0/+1
| | | | | | | sets.conf is corrupt. Thanks to Thanks to Sebastian Mingramm (few) for the suggestion. svn path=/main/trunk/; revision=14666
* Add a --use-ebuild-visibility option, for using unbuilt ebuild metadataZac Medico2009-10-184-1/+25
| | | | | | | in visibility checks for built ebuilds. Thanks to Sebastian Mingramm (few) for reporting the problem and testing the patch. svn path=/main/trunk/; revision=14665
* Fix breakage in DEFINED_PHASES code.Zac Medico2009-10-181-2/+2
| | | | svn path=/main/trunk/; revision=14664
* Remove reference to non-existent _source_ebuild function.Zac Medico2009-10-181-1/+0
| | | | svn path=/main/trunk/; revision=14663
* Preserve variables which have been set in global scope using 'declare'.Arfrever Frehtes Taifersar Arahesis2009-10-182-67/+64
| | | | svn path=/main/trunk/; revision=14662
* Ind SetConfig.getSetAtoms(), don't assume the set has a 'creator' attribute,Zac Medico2009-10-181-1/+4
| | | | | | | since if sets.conf is corrupt then emerge generates fallback sets without the 'creator' attribute. svn path=/main/trunk/; revision=14660
* Call config._init_dirs() from emerge so that it's not called every timeZac Medico2009-10-182-2/+1
| | | | | | the portage api is imported. svn path=/main/trunk/; revision=14631
* Automatically create a fallback setconfig, so emerge isn't crippled due toZac Medico2009-10-181-25/+51
| | | | | | | | misssing/corrupt/outdated sets.conf. This is especially important since WorldSet has been renamed to WorldSelectedSet, and thus new and old sets.conf files are incompatible. svn path=/main/trunk/; revision=14630
* Bug #227225 - Add *DEPEND.badtilde warning for ~ operator used with non-zeroZac Medico2009-10-182-0/+21
| | | | | | revision. Thanks to David Leverton <levertond@googlemail.com> for this patch. svn path=/main/trunk/; revision=14629
* Make cpv_getkey() use catpkgsplit() insead of a separate regex.Zac Medico2009-10-181-4/+3
| | | | svn path=/main/trunk/; revision=14628
* Fix repoman breakage from previous commit.Zac Medico2009-10-171-4/+4
| | | | svn path=/main/trunk/; revision=14627
* Inside dep_zapdeps(), detect cases such as || ( foo:1 foo:2 ), where we wantZac Medico2009-10-171-15/+70
| | | | | | | | | | to prefer the atom which matches the higher version rather than the atom furthest to the left. Sorting is done separately for each of choice_bins, so as not to interfere with the ordering of the bins. Because of the bin separation, the main function of this code is to allow --depclean to remove old slots (rather than to pull in new slots). svn path=/main/trunk/; revision=14626
* Bug #273636 - Add doins and newins support for symlink preservation inZac Medico2009-10-172-7/+30
| | | | | | | EAPI 3. Thanks to Jonathan Callen <abcd@g.o> for the initial patch (I added EAPI conditionals in order to share code between all EAPIs). svn path=/main/trunk/; revision=14625
* Bug #273643 - Don't export AA in EAPI 3. Thanks to Jonathan Callen <abcd@g.o>Zac Medico2009-10-171-0/+5
| | | | | | for the initial patch (I moved the code from spawnebuild to config.environ). svn path=/main/trunk/; revision=14624
* Use short substitution syntax in use_with() and use_enable(). Thanks toZac Medico2009-10-171-18/+4
| | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14623
* Fix einstall() change from previous commit, for compatibility with emptyZac Medico2009-10-171-1/+1
| | | | | | but set CONF_PREFIX. Thanks to Jonathan Callen <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14622
* Use [ "${foo+set}" = set ] instead of "${foo-unset}" != unset ], to avoidZac Medico2009-10-171-18/+18
| | | | | | | any possility of ambiguity. Thanks to Jonathan Callen <abcd@g.o> for the suggestion. svn path=/main/trunk/; revision=14621
* Fix WorldHandler to use the "selected" set.Zac Medico2009-10-171-2/+2
| | | | svn path=/main/trunk/; revision=14620
* In dyn_unpack, check mtimes on $A instead of $AA. Thanks to Jonathan CallenZac Medico2009-10-171-1/+1
| | | | | | <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14619
* Make phase variable local in has_phase_defined_up_to().Zac Medico2009-10-171-0/+1
| | | | svn path=/main/trunk/; revision=14618
* Simplify the conditionals from bug #273648. Thanks to Jonathan CallenZac Medico2009-10-172-18/+14
| | | | | | <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14617