summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Define portage.proxy.objectproxy.ObjectProxy.__add__() to fix problem with ↵Arfrever Frehtes Taifersar Arahesis2009-11-051-0/+3
| | | | | | string concatenation reported by dol-sen. svn path=/main/trunk/; revision=14778
* Decode git output in _emerge.actions.git_sync_timestamps() for bug #291790.Arfrever Frehtes Taifersar Arahesis2009-11-041-1/+2
| | | | svn path=/main/trunk/; revision=14777
* Bug #291331 - Make send_mail() encode the unicode message as bytes beforeZac Medico2009-11-041-1/+3
| | | | | | | passing it to smtplib.SMTP.sendmail(), in order to avoid a UnicodeEncodeError which SMTP.send() tries to encode the message a plain ascii. svn path=/main/trunk/; revision=14776
* Inside depgraph._complete_graph(), only pull in deps for the relevant rootZac Medico2009-11-041-0/+4
| | | | | | during remove operations. Thanks to acevery for reporting. svn path=/main/trunk/; revision=14775
* Don't call FakeVartree.sync() redundantly when backtracking.Zac Medico2009-11-022-1/+11
| | | | svn path=/main/trunk/; revision=14774
* Move FakeVartree population out of the constructor by calling the sync()Zac Medico2009-11-013-9/+10
| | | | | | | method explicitly. This allows the depgraph constructor avoid populating the FakeVartree, and delay it until depgraph._load_vdb() is called. svn path=/main/trunk/; revision=14773
* Eliminate duplicate code from the FakeVartree constructor which does theZac Medico2009-11-011-45/+6
| | | | | | same thing as FakeVartree.sync(). svn path=/main/trunk/; revision=14772
* Fix --backtrack option handling.v2.2_rc48Zac Medico2009-10-311-1/+1
| | | | svn path=/main/trunk/; revision=14767
* Add a --backtrack=COUNT option to control how many times backtracking isZac Medico2009-10-314-1/+37
| | | | | | allowed, and reduce the default from 30 to 5. svn path=/main/trunk/; revision=14763
* For compatibility, still exit successfully if there are skipped directories.Zac Medico2009-10-311-1/+1
| | | | | | We can make it more strict later. svn path=/main/trunk/; revision=14762
* Allow unmerge of packages from the "selected" set when a package set suchZac Medico2009-10-311-4/+3
| | | | | | | as @unavailable is given on the command line. Thanks to Vlastimil Babka <caster@g.o> for reporting. svn path=/main/trunk/; revision=14761
* Bug #290921 - Always exit unsuccessfully if -r is not specified and aZac Medico2009-10-311-5/+6
| | | | | | directory is skipped. This reverts a behavior change from r9484. svn path=/main/trunk/; revision=14760
* Make cacheddir() always behave like EmptyOnError is True, since listdir()Zac Medico2009-10-311-7/+3
| | | | | | doesn't handle a None return value correctly. svn path=/main/trunk/; revision=14755
* Make dblink.delete() remove empty parent category directories.Zac Medico2009-10-311-0/+5
| | | | svn path=/main/trunk/; revision=14754
* Bug #291271 - Make vardbapi._bump_mtime() create category directories whenZac Medico2009-10-311-2/+5
| | | | | | necessary. svn path=/main/trunk/; revision=14753
* Bug #259697 - Update IUSE.invalid docs for GLEP 56.Zac Medico2009-10-311-1/+1
| | | | svn path=/main/trunk/; revision=14751
* Bug #290428 - Update mtime of /var/db/pkg and category subdirectories whenv2.2_rc48_14769v2.2_rc47Zac Medico2009-10-271-0/+22
| | | | | | | stuff inside is modified, so that consumers can use directory mtimes to validate caches. svn path=/main/trunk/; revision=14735
* 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