Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use portage.StringIO to avoid duplicate import fallback code. | Zac Medico | 2009-12-06 | 3 | -22/+3 |
| | | | | svn path=/main/trunk/; revision=14931 | ||||
* | Move code for handling missing sandbox binary out of the config constructor. | Zac Medico | 2009-12-06 | 1 | -15/+18 |
| | | | | svn path=/main/trunk/; revision=14930 | ||||
* | Bug #295805 - Fix ValueError with python3 inside update_config_files(). | Zac Medico | 2009-12-05 | 1 | -4/+9 |
| | | | | svn path=/main/trunk/; revision=14929 | ||||
* | Bug #162404 - Automatically disable logging if sesandbox is enabled and a | Zac Medico | 2009-12-05 | 3 | -4/+30 |
| | | | | | | | pty is not available for some reason (currently they are never available with python3). svn path=/main/trunk/; revision=14928 | ||||
* | Always append QA Notices resulting from the build log search to the end of | Zac Medico | 2009-12-05 | 2 | -5/+37 |
| | | | | | | the log. Thanks to Diego E. Pettenò for reporting. svn path=/main/trunk/; revision=14927 | ||||
* | Bug #280336, comment #2 - Clear the package selection cache when packagesv2.2_rc55 | Zac Medico | 2009-12-03 | 1 | -0/+1 |
| | | | | | | | are added to the graph. This fixes incorrect choices that happen in some cases. svn path=/main/trunk/; revision=14922 | ||||
* | Bug #295351 - Make update_dbentries() return unicode if it's given unicode, | Zac Medico | 2009-12-02 | 1 | -3/+7 |
| | | | | | | and bytes if it's given bytes. svn path=/main/trunk/; revision=14921 | ||||
* | Fix deprecated usage of dep_getkey(). Thanks to Sebastian Mingramm (few)v2.2_rc54 | Zac Medico | 2009-11-28 | 1 | -2/+2 |
| | | | | | | for reporting. svn path=/main/trunk/; revision=14915 | ||||
* | Bug #294945 - Fix blocker satistfied state handling inside depgraph, to | Zac Medico | 2009-11-28 | 1 | -4/+10 |
| | | | | | | avoid a KeyError when displaying blockers. svn path=/main/trunk/; revision=14914 | ||||
* | Revert r14901 since it doesn't solve the problem (bug #294945). | Zac Medico | 2009-11-28 | 1 | -5/+1 |
| | | | | svn path=/main/trunk/; revision=14913 | ||||
* | In FakeVartree.sync(), skip the aux_get wrapper when populating old-stylev2.2_rc53 | Zac Medico | 2009-11-27 | 1 | -1/+7 |
| | | | | | | | virtuals, in order to avoid unwanted cache generation with --nodeps (reported by Arfrever). svn path=/main/trunk/; revision=14909 | ||||
* | Handle a KeyError in depgraph._ordered_tree_display(), reported on irc by | Zac Medico | 2009-11-27 | 1 | -1/+5 |
| | | | | | | romildo. svn path=/main/trunk/; revision=14901 | ||||
* | Add a note about lack of nanosecond precision in movefile(). | Zac Medico | 2009-11-27 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=14900 | ||||
* | In calc_depclean(), load the FakeVartree before using it. This fixes | Zac Medico | 2009-11-27 | 1 | -1/+1 |
| | | | | | | | a regression which causes incomplete graph creation (since r14773). Thanks to Vlastimil Babka <caster@g.o> for reporting. svn path=/main/trunk/; revision=14899 | ||||
* | Fix logic from previous commit so it only applies when a 'newmtime' parameter | Zac Medico | 2009-11-27 | 1 | -3/+5 |
| | | | | | | has not been specified (this is always the case when called by portage). svn path=/main/trunk/; revision=14898 | ||||
* | In movefile(), skip os.utime() when os.rename() succeeds, in order to | Zac Medico | 2009-11-26 | 1 | -0/+2 |
| | | | | | | completely preserve mtime resolution. svn path=/main/trunk/; revision=14897 | ||||
* | Set built=True when creating Package instances. This fixes a problem withv2.2_rc52 | Zac Medico | 2009-11-25 | 1 | -1/+1 |
| | | | | | | --resume, reported by Sebastian Mingramm (few). svn path=/main/trunk/; revision=14886 | ||||
* | Add a test case which simply compiles all modules, useful for testing syntax | Zac Medico | 2009-11-23 | 3 | -0/+23 |
| | | | | | | compatibility with the current version of python. svn path=/main/trunk/; revision=14876 | ||||
* | Bug #293614 - When the backtracking limit is reached and there is a SLOT | Zac Medico | 2009-11-23 | 1 | -0/+8 |
| | | | | | | | conflict to display, hint that a larger --backtrack value might solve the conflict automatically. svn path=/main/trunk/; revision=14875 | ||||
* | Add "repository" attribute to CategorySet (revert r11597). Thanks to TGL | Zac Medico | 2009-11-22 | 1 | -2/+11 |
| | | | | | | <tom.gl@free.fr> for this patch, posted on bug #291414. svn path=/main/trunk/; revision=14874 | ||||
* | Bug #293998 - Use OSError.errno instead of trying to subscript the exception | Zac Medico | 2009-11-22 | 1 | -4/+2 |
| | | | | | | | when handling errno.EXDEV in movefile(), since exceptions do not support subscripting in python3. svn path=/main/trunk/; revision=14873 | ||||
* | Optimized the code for bug #288083 and make it handle more cases. Now Packagev2.2_rc51 | Zac Medico | 2009-11-21 | 4 | -97/+116 |
| | | | | | | | instances have 'visible' and 'masks' attributes, since this information needs to be accessed in more places now. svn path=/main/trunk/; revision=14859 | ||||
* | Tweak logic from previous commit. | Zac Medico | 2009-11-21 | 1 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=14858 | ||||
* | In depgraph._serialize_tasks(), ensure that unsolvable blockers can't be | Zac Medico | 2009-11-21 | 1 | -1/+3 |
| | | | | | | accidentally marked as satisfied. svn path=/main/trunk/; revision=14857 | ||||
* | Fix blocker display to work properly with --tree --unordered-display. | Zac Medico | 2009-11-21 | 1 | -10/+10 |
| | | | | svn path=/main/trunk/; revision=14856 | ||||
* | Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks to | Zac Medico | 2009-11-20 | 1 | -1/+1 |
| | | | | | | Jonathan Callen <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14855 | ||||
* | Bug #293730 - Fix bad || choices triggered in some cases inside | Zac Medico | 2009-11-20 | 1 | -1/+4 |
| | | | | | | _dep_check_composite_db._visible() when --update is not enabled. svn path=/main/trunk/; revision=14854 | ||||
* | Disable backtracking in the depgraph constructor call when appropriate. | Zac Medico | 2009-11-20 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14853 | ||||
* | Bug #293603 - Blacklist EPREFIX and EROOT variables, in addition to ED. | Zac Medico | 2009-11-20 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=14852 | ||||
* | Bug #293603 - Add $ED to the blacklist, to prevent interference with related | Zac Medico | 2009-11-19 | 1 | -1/+1 |
| | | | | | | prefix code in eclasses and ebuilds. svn path=/main/trunk/; revision=14851 | ||||
* | Check for updates masked by license for any installed packages that have been | Zac Medico | 2009-11-17 | 1 | -2/+3 |
| | | | | | | added to the graph (regardless of --deep or --complete-graph).. svn path=/main/trunk/; revision=14845 | ||||
* | Bug #293448 - Fix TypeError when sending mail with python3, triggered by this | Zac Medico | 2009-11-17 | 1 | -1/+3 |
| | | | | | | | issue: http://bugs.python.org/issue6521. Thanks to Albert W. Hopkins <marduk@python.net> for this patch. svn path=/main/trunk/; revision=14844 | ||||
* | In the code from bug #288083, only show one LICENSE masking message per slot. | Zac Medico | 2009-11-15 | 1 | -0/+4 |
| | | | | svn path=/main/trunk/; revision=14823 | ||||
* | Bug #288083 - Always warn about installed packages masked by license, since | Zac Medico | 2009-11-15 | 2 | -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. svn path=/main/trunk/; revision=14822 | ||||
* | Bug #291200 - Make --quiet-build set PORTAGE_QUIET=1, so that --unmerge is | Zac Medico | 2009-11-14 | 1 | -1/+1 |
| | | | | | | quiet. svn path=/main/trunk/; revision=14821 | ||||
* | Inside LinkageMap.rebuild(), ensure that all preserved libraries have an | Zac Medico | 2009-11-13 | 1 | -0/+13 |
| | | | | | | | | entry in self._obj_properties, even when they fail to appear in scanelf output. This is important in order to prevent findConsumers from raising an unwanted KeyError. svn path=/main/trunk/; revision=14820 | ||||
* | Bug #292820 - Make the Package constructor handle invalid SLOT values. | Zac Medico | 2009-11-12 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=14819 | ||||
* | Bug #292910 - Don't mix print() and writemsg_stdout(), in order to avoid | Zac Medico | 2009-11-12 | 1 | -12/+16 |
| | | | | | | buffering issues. svn path=/main/trunk/; revision=14818 | ||||
* | Implement dblink.__hash__ and __eq__, so that `portageq owners` correctly groups | Zac Medico | 2009-11-12 | 1 | -1/+9 |
| | | | | | | | search results. Also, increase iter_owners dblink cache size from 25 to 100 instances. svn path=/main/trunk/; revision=14817 | ||||
* | Add setup phases to the tail of the merge queue instead of the front, since | Zac Medico | 2009-11-12 | 1 | -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. svn path=/main/trunk/; revision=14816 | ||||
* | Inside iter_owners, only cache a maximum of 25 dblink instances, in order | Zac Medico | 2009-11-11 | 1 | -0/+6 |
| | | | | | | to avoid potentially running out of memory. svn path=/main/trunk/; revision=14815 | ||||
* | Bug #292664 - Show ACCEPT_LICENSE in emerge --info. | Zac Medico | 2009-11-11 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=14814 | ||||
* | Convert MIMEText body to string before sending. | Zac Medico | 2009-11-11 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14808 | ||||
* | Preserve previous usage of MIMEText constructor under python2, since it's | Zac Medico | 2009-11-11 | 1 | -2/+5 |
| | | | | | | known to work this way. svn path=/main/trunk/; revision=14807 | ||||
* | Bug #292528 - Specify UTF-8 in the MIMEText constructor arguments, in order | Zac Medico | 2009-11-11 | 1 | -4/+5 |
| | | | | | | | to avoid conversiont to ascii and subsequent UnicodeEncodeError when sending mail. The idea comes from here: http://bugs.python.org/issue4403#msg76425. svn path=/main/trunk/; revision=14806 | ||||
* | Bug #278336 - Use adjust_config to set PORTAGE_QUIET when the config is | Zac Medico | 2009-11-09 | 2 | -8/+11 |
| | | | | | | | reloaded after sync, so that PORTAGE_QUIET is set when the post_sync script is executed. svn path=/main/trunk/; revision=14805 | ||||
* | When displaying masking messages, show the 'dependency required by' message | Zac Medico | 2009-11-07 | 1 | -1/+7 |
| | | | | | | before the masking docs message. svn path=/main/trunk/; revision=14802 | ||||
* | Fix typo in comment.v2.2_rc49 | Zac Medico | 2009-11-07 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14798 | ||||
* | Use writemsg instead of print, to send debug messages to stderr. | Zac Medico | 2009-11-06 | 1 | -5/+8 |
| | | | | svn path=/main/trunk/; revision=14784 | ||||
* | Bug #291200 - Add a --quiet-build option to redirect all build output to logs | Zac Medico | 2009-11-06 | 3 | -2/+11 |
| | | | | | | alone, and do not display it on stdout. svn path=/main/trunk/; revision=14783 |