summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a note about lack of nanosecond precision in movefile(). (trunk r14900)Zac Medico2009-11-271-0/+3
| | | | svn path=/main/branches/2.1.7/; revision=14905
* In calc_depclean(), load the FakeVartree before using it. This fixesZac Medico2009-11-271-1/+1
| | | | | | | a regression which causes incomplete graph creation (since r14773). Thanks to Vlastimil Babka <caster@g.o> for reporting. (trunk r14899) svn path=/main/branches/2.1.7/; revision=14904
* Fix logic from previous commit so it only applies when a 'newmtime' parameterZac Medico2009-11-271-3/+5
| | | | | | | has not been specified (this is always the case when called by portage). (trunk r14898) svn path=/main/branches/2.1.7/; revision=14903
* In movefile(), skip os.utime() when os.rename() succeeds, in order toZac Medico2009-11-271-0/+2
| | | | | | completely preserve mtime resolution. (trunk r14897) svn path=/main/branches/2.1.7/; revision=14902
* Set built=True when creating Package instances. This fixes a problem withv2.1.7.7Zac Medico2009-11-251-1/+1
| | | | | | --resume, reported by Sebastian Mingramm (few). (trunk r14886) svn path=/main/branches/2.1.7/; revision=14891
* Add a test case which simply compiles all modules, useful for testing syntaxZac Medico2009-11-253-0/+23
| | | | | | compatibility with the current version of python. (trunk r14876) svn path=/main/branches/2.1.7/; revision=14889
* Bug #293614 - When the backtracking limit is reached and there is a SLOTZac Medico2009-11-251-0/+8
| | | | | | | conflict to display, hint that a larger --backtrack value might solve the conflict automatically. (trunk r14875) svn path=/main/branches/2.1.7/; revision=14888
* Bug #293998 - Use OSError.errno instead of trying to subscript the exceptionZac Medico2009-11-251-4/+2
| | | | | | | when handling errno.EXDEV in movefile(), since exceptions do not support subscripting in python3. (trunk r14873) svn path=/main/branches/2.1.7/; revision=14887
* Optimized the code for bug #288083 and make it handle more cases. Now Packagev2.1.7.6Zac Medico2009-11-214-97/+116
| | | | | | | instances have 'visible' and 'masks' attributes, since this information needs to be accessed in more places now. (trunk r14859) svn path=/main/branches/2.1.7/; revision=14870
* Tweak logic from previous commit. (trunk r14858)Zac Medico2009-11-211-4/+4
| | | | svn path=/main/branches/2.1.7/; revision=14869
* In depgraph._serialize_tasks(), ensure that unsolvable blockers can't beZac Medico2009-11-211-1/+3
| | | | | | accidentally marked as satisfied. (trunk r14857) svn path=/main/branches/2.1.7/; revision=14868
* Fix blocker display to work properly with --tree --unordered-display.Zac Medico2009-11-211-10/+10
| | | | | | (trunk r14856) svn path=/main/branches/2.1.7/; revision=14867
* Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks toZac Medico2009-11-211-1/+1
| | | | | | Jonathan Callen <abcd@g.o> for reporting. (trunk r14855) svn path=/main/branches/2.1.7/; revision=14866
* Bug #293730 - Fix bad || choices triggered in some cases insideZac Medico2009-11-211-1/+4
| | | | | | _dep_check_composite_db._visible() when --update is not enabled. (trunk r14854) svn path=/main/branches/2.1.7/; revision=14865
* Disable backtracking in the depgraph constructor call when appropriate.Zac Medico2009-11-211-1/+1
| | | | | | (trunk r14853) svn path=/main/branches/2.1.7/; revision=14864
* Bug #293603 - Blacklist EPREFIX and EROOT variables, in addition to ED.Zac Medico2009-11-211-1/+2
| | | | | | (trunk r14852) svn path=/main/branches/2.1.7/; revision=14863
* Bug #293603 - Add $ED to the blacklist, to prevent interference with relatedZac Medico2009-11-211-1/+1
| | | | | | prefix code in eclasses and ebuilds. (trunk r14851) svn path=/main/branches/2.1.7/; revision=14862
* Check for updates masked by license for any installed packages that have beenZac Medico2009-11-211-2/+3
| | | | | | added to the graph (regardless of --deep or --complete-graph).. (trunk r14845) svn path=/main/branches/2.1.7/; revision=14861
* Bug #293448 - Fix TypeError when sending mail with python3, triggered by thisZac Medico2009-11-211-1/+3
| | | | | | | issue: http://bugs.python.org/issue6521. Thanks to Albert W. Hopkins <marduk@python.net> for this patch. (trunk r14844) svn path=/main/branches/2.1.7/; revision=14860
* In the code from bug #288083, only show one LICENSE masking message per slot.Zac Medico2009-11-161-0/+4
| | | | | | (trunk r14823) svn path=/main/branches/2.1.7/; revision=14840
* Bug #288083 - Always warn about installed packages masked by license, sinceZac Medico2009-11-162-7/+53
| | | | | | | | the user likely wants to adjust ACCEPT_LICENSE. For updates masked by license, warn if --complete-graph or --deep is given, since otherwise it is likely a waste of time. (trunk r14822) svn path=/main/branches/2.1.7/; revision=14839
* Bug #291200 - Make --quiet-build set PORTAGE_QUIET=1, so that --unmerge isZac Medico2009-11-161-1/+1
| | | | | | quiet. (trunk r14821) svn path=/main/branches/2.1.7/; revision=14838
* Bug #292820 - Make the Package constructor handle invalid SLOT values.Zac Medico2009-11-161-2/+4
| | | | | | (trunk r14819) svn path=/main/branches/2.1.7/; revision=14837
* Bug #292910 - Don't mix print() and writemsg_stdout(), in order to avoidZac Medico2009-11-161-11/+16
| | | | | | buffering issues. (trunk r14818) svn path=/main/branches/2.1.7/; revision=14836
* Implement dblink.__hash__ and __eq__, so that `portageq owners` correctly groupsZac Medico2009-11-161-1/+9
| | | | | | | search results. Also, increase iter_owners dblink cache size from 25 to 100 instances. (trunk r14817) svn path=/main/branches/2.1.7/; revision=14835
* Add setup phases to the tail of the merge queue instead of the front, sinceZac Medico2009-11-161-1/+1
| | | | | | | | otherwise when merging binary packages we sometimes tend to get a large number of setup phases flooding the queue and preventing queued installs from running. (trunk r14816) svn path=/main/branches/2.1.7/; revision=14834
* Inside iter_owners, only cache a maximum of 25 dblink instances, in orderZac Medico2009-11-161-0/+6
| | | | | | to avoid potentially running out of memory. (trunk r14815) svn path=/main/branches/2.1.7/; revision=14833
* Bug #292664 - Show ACCEPT_LICENSE in emerge --info. (trunk r14814)Zac Medico2009-11-161-1/+2
| | | | svn path=/main/branches/2.1.7/; revision=14832
* Convert MIMEText body to string before sending. (trunk r14808)Zac Medico2009-11-161-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=14831
* Preserve previous usage of MIMEText constructor under python2, since it'sZac Medico2009-11-161-2/+5
| | | | | | known to work this way. (trunk r14807) svn path=/main/branches/2.1.7/; revision=14830
* Bug #292528 - Specify UTF-8 in the MIMEText constructor arguments, in orderZac Medico2009-11-161-4/+5
| | | | | | | | to avoid conversiont to ascii and subsequent UnicodeEncodeError when sending mail. The idea comes from here: http://bugs.python.org/issue4403#msg76425. (trunk r14806) svn path=/main/branches/2.1.7/; revision=14829
* Bug #278336 - Use adjust_config to set PORTAGE_QUIET when the config isZac Medico2009-11-162-8/+11
| | | | | | | reloaded after sync, so that PORTAGE_QUIET is set when the post_sync script is executed. (trunk r14805) svn path=/main/branches/2.1.7/; revision=14828
* When displaying masking messages, show the 'dependency required by' messageZac Medico2009-11-161-1/+7
| | | | | | before the masking docs message. (trunk r14802) svn path=/main/branches/2.1.7/; revision=14825
* 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