summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Bug #291200 - Add a --quiet-build option to redirect all build output to logsZac Medico2009-11-063-2/+11
| | | | | | alone, and do not display it on stdout. svn path=/main/trunk/; revision=14783
* Bug #291142 - Fix some cases when a 'missed update' message might not beZac Medico2009-11-061-1/+14
| | | | | | displayed. svn path=/main/trunk/; revision=14780
* Use writemsg instead of print, to send debug messages to stderr.Zac Medico2009-11-061-7/+12
| | | | svn path=/main/trunk/; revision=14779
* 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-313-1/+32
| | | | | | allowed, and reduce the default from 30 to 5. svn path=/main/trunk/; revision=14763
* 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
* 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 #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
* 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-262-5/+5
| | | | | | --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-262-2/+3
| | | | | | the suggestion. svn path=/main/trunk/; revision=14730
* 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-245-23/+48
| | | | | | | --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
* Add --help output for --unordered-display, and move man page docs from theZac Medico2009-10-231-0/+9
| | | | | | actions to the options section. svn path=/main/trunk/; revision=14708
* 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-234-7/+54
| | | | | | | 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
* drop IMAGE -- people have had years to catch upMike Frysinger2009-10-191-1/+1
| | | | svn path=/main/trunk/; revision=14694
* 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
* 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-183-1/+21
| | | | | | | 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
* 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
* 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 #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
* Bug #287869 - Add a --selective[=n] option (inverse of --oneshot). This isZac Medico2009-10-162-0/+21
| | | | | | | useful if you want to use EMERGE_DEFAULT_OPTS to make --oneshot behavior default. svn path=/main/trunk/; revision=14615
* Bug #266454 - Make @world an all-inclusive set once again, like it was priorZac Medico2009-10-168-45/+47
| | | | | | | | to portage-2.2_rc* releases. In addition to @system, @world now includes a @selected set which represents user-selected "world" packages and sets that saved in /var/lib/portage/world{,sets}. svn path=/main/trunk/; revision=14614
* Remove soname_cache inside calc_depclean() since LinkageMap caches thatZac Medico2009-10-161-5/+1
| | | | | | already. svn path=/main/trunk/; revision=14613
* TODO: Make resume_depgraph() return reasons for dropped_tasks, forZac Medico2009-10-161-0/+1
| | | | | | display/logging. svn path=/main/trunk/; revision=14611
* Bug #289068 - Avoid KeyError: USE when depgraph calls _getMissingLicenses.Zac Medico2009-10-161-0/+3
| | | | svn path=/main/trunk/; revision=14610
* Add the "test" flag to implicit IUSE, so handling of FEATURES=test isZac Medico2009-10-151-1/+8
| | | | | | | | consistent regardless of explicit IUSE. Users may use use.mask and package.use.mask to control FEATURES=test for all ebuilds, regardless of explicit IUSE. svn path=/main/trunk/; revision=14607