summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in comment. (trunk r14798)v2.1.7.4Zac Medico2009-11-071-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=14799
* Use writemsg instead of print, to send debug messages to stderr. (trunk r14784)Zac Medico2009-11-071-5/+8
| | | | svn path=/main/branches/2.1.7/; revision=14797
* Bug #291200 - Add a --quiet-build option to redirect all build output to logsZac Medico2009-11-073-2/+11
| | | | | | alone, and do not display it on stdout. (trunk r14783) svn path=/main/branches/2.1.7/; revision=14796
* Bug #291142 - Fix some cases when a 'missed update' message might not beZac Medico2009-11-071-1/+14
| | | | | | displayed. (trunk r14780) svn path=/main/branches/2.1.7/; revision=14793
* Use writemsg instead of print, to send debug messages to stderr. (trunk r14779)Zac Medico2009-11-071-7/+12
| | | | svn path=/main/branches/2.1.7/; revision=14792
* Define portage.proxy.objectproxy.ObjectProxy.__add__() to fix problem with ↵Zac Medico2009-11-071-0/+3
| | | | | | | | string concatenation reported by dol-sen. (trunk r14778) svn path=/main/branches/2.1.7/; revision=14791
* Decode git output in _emerge.actions.git_sync_timestamps() for bug #291790.Zac Medico2009-11-071-1/+2
| | | | | | (trunk r14777) svn path=/main/branches/2.1.7/; revision=14790
* Bug #291331 - Make send_mail() encode the unicode message as bytes beforeZac Medico2009-11-071-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. (trunk r14776) svn path=/main/branches/2.1.7/; revision=14789
* Inside depgraph._complete_graph(), only pull in deps for the relevant rootZac Medico2009-11-071-0/+4
| | | | | | during remove operations. Thanks to acevery for reporting. (trunk r14775) svn path=/main/branches/2.1.7/; revision=14788
* Don't call FakeVartree.sync() redundantly when backtracking. (trunk r14774)Zac Medico2009-11-072-1/+11
| | | | svn path=/main/branches/2.1.7/; revision=14787
* Move FakeVartree population out of the constructor by calling the sync()Zac Medico2009-11-073-9/+10
| | | | | | | | method explicitly. This allows the depgraph constructor avoid populating the FakeVartree, and delay it until depgraph._load_vdb() is called. (trunk r14773) svn path=/main/branches/2.1.7/; revision=14786
* Eliminate duplicate code from the FakeVartree constructor which does theZac Medico2009-11-071-45/+6
| | | | | | same thing as FakeVartree.sync(). (trunk r14772) svn path=/main/branches/2.1.7/; revision=14785
* Fix --backtrack option handling. (trunk r14767)v2.1.7.3Zac Medico2009-10-311-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=14768
* 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. (trunk r14763) svn path=/main/branches/2.1.7/; revision=14766
* Make cacheddir() always behave like EmptyOnError is True, since listdir()Zac Medico2009-10-311-7/+3
| | | | | | doesn't handle a None return value correctly. (trunk r14755) svn path=/main/branches/2.1.7/; revision=14759
* Make dblink.delete() remove empty parent category directories. (trunk r14754)Zac Medico2009-10-311-0/+5
| | | | svn path=/main/branches/2.1.7/; revision=14758
* Bug #291271 - Make vardbapi._bump_mtime() create category directories whenZac Medico2009-10-311-2/+5
| | | | | | necessary. (trunk r14753) svn path=/main/branches/2.1.7/; revision=14757
* Bug #290428 - Update mtime of /var/db/pkg and category subdirectories whenv2.1.7.2Zac Medico2009-10-271-0/+22
| | | | | | | stuff inside is modified, so that consumers can use directory mtimes to validate caches. (trunk r14735) svn path=/main/branches/2.1.7/; revision=14742
* Bug #290625 - Manually encode output to stdout in python3, in order to avoidZac Medico2009-10-274-27/+41
| | | | | | potential UnicodeEncodeError exceptions. (trunk r14734) svn path=/main/branches/2.1.7/; revision=14741
* Add a reference to bug #141118 inside _expand_new_virtuals(). (trunk r14732)Zac Medico2009-10-271-2/+4
| | | | svn path=/main/branches/2.1.7/; revision=14740
* Take the -c option and make it mean --depclean instead of --clean, sinceZac Medico2009-10-272-5/+5
| | | | | | --clean is pretty useless anyway. (trunk r14731) svn path=/main/branches/2.1.7/; revision=14739
* Add -R as a shortcut for --depclean. Thanks to Jonathan Callen <abcd@g.o> forZac Medico2009-10-272-2/+3
| | | | | | the suggestion. (trunk r14730) svn path=/main/branches/2.1.7/; revision=14738
* update documentation on _test_openpty_eof and disable openpty on Solaris ↵Zac Medico2009-10-251-11/+10
| | | | | | | | again (branches/prefix r14721) (trunk r14722) svn path=/main/branches/2.1.7/; revision=14726
* 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. (trunk r14710) svn path=/main/branches/2.1.7/; revision=14719
* Add --help output for --unordered-display, and move man page docs from theZac Medico2009-10-241-0/+9
| | | | | | actions to the options section. (trunk r14708) svn path=/main/branches/2.1.7/; revision=14717
* Factor vdb loading code out of the depgraph constructor, since this procedureZac Medico2009-10-241-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. (trunk r14705) svn path=/main/branches/2.1.7/; revision=14714
* Factor out duplicate "These are the packages that would be merged",Zac Medico2009-10-243-71/+63
| | | | | | "Calculating dependencies", and spinner cleanup code. (trunk r14704) svn path=/main/branches/2.1.7/; revision=14713
* Add a --unordered-display option for use with --tree. This allows the displayZac Medico2009-10-244-7/+54
| | | | | | | to be optimized differently since the merge order is not preserved. Thanks to Sebastian Mingramm (few) for the initial patch. (trunk r14703) svn path=/main/branches/2.1.7/; revision=14712
* Factor the --tree code out of depgraph.display(). (trunk r14702)Zac Medico2009-10-241-136/+146
| | | | svn path=/main/branches/2.1.7/; revision=14711
* 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. (trunk r14696) svn path=/main/branches/2.1.7/; revision=14698
* drop IMAGE -- people have had years to catch up (trunk r14694)Zac Medico2009-10-191-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=14697
* In calc_depclean(), Rename 'selected' to 'world', since 'selected' is currentlyZac Medico2009-10-191-0/+4
| | | | | | | considered to be an internal set and we don't want it to be displayed to the user as a reverse dependency. svn path=/main/branches/2.1.7/; revision=14693
* Add support for display of nested sets in --depclean and --prune reverseZac Medico2009-10-192-41/+60
| | | | | | | | dependency output. This also fixes a bug from the 'selected' set changes which could cause the system set to be disregarded in some cases. (trunk r14680) svn path=/main/branches/2.1.7/; revision=14691
* Remove support for 'extend', 'remove', and 'intersect' sets.conf sectionZac Medico2009-10-191-27/+4
| | | | | | | | | | | | | | | | 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. (trunk r14679) svn path=/main/branches/2.1.7/; revision=14690
* Convert --select to boolean True when enabled, so --resume code handlesZac Medico2009-10-191-0/+1
| | | | | | it like other boolean options. (trunk r14667) svn path=/main/branches/2.1.7/; revision=14687
* Warn aabout default world and system set configuration being used whenZac Medico2009-10-191-0/+1
| | | | | | | sets.conf is corrupt. Thanks to Thanks to Sebastian Mingramm (few) for the suggestion. (trunk r14666) svn path=/main/branches/2.1.7/; revision=14686
* Add a --use-ebuild-visibility option, for using unbuilt ebuild metadataZac Medico2009-10-193-1/+21
| | | | | | | in visibility checks for built ebuilds. Thanks to Sebastian Mingramm (few) for reporting the problem and testing the patch. (trunk r14665) svn path=/main/branches/2.1.7/; revision=14685
* In 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. (trunk r14660) svn path=/main/branches/2.1.7/; revision=14661
* Call config._init_dirs() from emerge so that it's not called every timeZac Medico2009-10-182-2/+1
| | | | | | the portage api is imported. (trunk r14631) svn path=/main/branches/2.1.7/; revision=14659
* Automatically create a fallback setconfig, so emerge isn't crippled due toZac Medico2009-10-181-0/+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. (trunk r14630) svn path=/main/branches/2.1.7/; revision=14658
* Make cpv_getkey() use catpkgsplit() insead of a separate regex. (trunk r14628)Zac Medico2009-10-181-4/+3
| | | | svn path=/main/branches/2.1.7/; revision=14656
* Fix repoman breakage from previous commit. (trunk r14627)Zac Medico2009-10-181-4/+4
| | | | svn path=/main/branches/2.1.7/; revision=14655
* Inside dep_zapdeps(), detect cases such as || ( foo:1 foo:2 ), where we wantZac Medico2009-10-181-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). (trunk r14626) svn path=/main/branches/2.1.7/; revision=14654
* Bug #273643 - Don't export AA in EAPI 3. Thanks to Jonathan Callen <abcd@g.o>Zac Medico2009-10-181-0/+5
| | | | | | | for the initial patch (I moved the code from spawnebuild to config.environ). (trunk r14624) svn path=/main/branches/2.1.7/; revision=14652
* Bug #287869 - Add a --selective[=n] option (inverse of --oneshot). This isZac Medico2009-10-182-0/+21
| | | | | | | useful if you want to use EMERGE_DEFAULT_OPTS to make --oneshot behavior default. (trunk r14615) svn path=/main/branches/2.1.7/; revision=14643
* Merge the internal package set changes from trunk r14614 (bug #266454). NoneZac Medico2009-10-187-38/+44
| | | | | | | of these changes should be noticeable to users. This is just to keep the diff relative to trunk as small as possible. svn path=/main/branches/2.1.7/; revision=14642
* TODO: Make resume_depgraph() return reasons for dropped_tasks, forZac Medico2009-10-181-0/+1
| | | | | | display/logging. (trunk r14611) svn path=/main/branches/2.1.7/; revision=14640
* Bug #289068 - Avoid KeyError: USE when depgraph calls _getMissingLicenses.Zac Medico2009-10-181-0/+3
| | | | | | (trunk r14610) svn path=/main/branches/2.1.7/; revision=14639
* Add the "test" flag to implicit IUSE, so handling of FEATURES=test isZac Medico2009-10-181-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. (trunk r14607) svn path=/main/branches/2.1.7/; revision=14637
* Only call _test_pty_eof() on Linux, since it seems to hang on most otherZac Medico2009-10-182-7/+25
| | | | | | | | kernels. This should fix the hang reported on FreeBSD here: http://archives.gentoo.org/gentoo-alt/msg_d81c5e8c6dd6849312ecb048feb41c5b.xml (trunk r14606) svn path=/main/branches/2.1.7/; revision=14636