summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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 whenZac 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
* 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