Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't enable EAPI 4_pre1 yet. | Zac Medico | 2009-12-10 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=15014 | ||||
* | Handle permission problems when trying to cache the remote Packages file | Zac Medico | 2009-12-10 | 1 | -4/+11 |
| | | | | | | from a binhost. Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=14997 | ||||
* | Detect cases when long(stat_obj.st_mtime) != stat_obj[stat.ST_MTIME] due to | Zac Medico | 2009-12-10 | 1 | -1/+19 |
| | | | | | | | rounding up, and truncate digits as necessary to preserve the integral seconds portion of the mtime. svn path=/main/trunk/; revision=14996 | ||||
* | In movefile(), always use stat_obj[stat.ST_MTIME] for the integral timestamp | Zac Medico | 2009-12-09 | 1 | -3/+6 |
| | | | | | | | which is returned, since the stat_obj.st_mtime float attribute rounds *up* if the nanosecond part of the timestamp is 999999881 ns or greater. svn path=/main/trunk/; revision=14995 | ||||
* | Remove obsolete env-update.sh script. | Zac Medico | 2009-12-09 | 1 | -219/+0 |
| | | | | svn path=/main/trunk/; revision=14992 | ||||
* | Add localization variables (LANG and LC_*) to the environment whitelist and | Zac Medico | 2009-12-09 | 2 | -0/+12 |
| | | | | | | | filter them from the saved environment (so user settings override those of binary packages). Thanks to Fabio Erculiani <lxnay@g.o> for reporting. svn path=/main/trunk/; revision=14975 | ||||
* | When overridding sys.std* in python2, use binary streams. | Zac Medico | 2009-12-09 | 1 | -6/+8 |
| | | | | svn path=/main/trunk/; revision=14974 | ||||
* | Fix handling for TEMP, TMP, and TMPDIR variables: | Zac Medico | 2009-12-09 | 3 | -1/+12 |
| | | | | | | | | * Add to whitelist so current values are always used. * Always filter them from the saved environment. * Always add thier values to SANDBOX_WRITE. svn path=/main/trunk/; revision=14973 | ||||
* | Use ImportError handling to import _TextTestResult which moved from | Zac Medico | 2009-12-09 | 1 | -57/+8 |
| | | | | | | | unittest to unittest.runner in python-2.7. Thanks to Arfrever for the suggestion. svn path=/main/trunk/; revision=14972 | ||||
* | When temporarily replacing the sys.std* streams, use the normal open() func | Zac Medico | 2009-12-08 | 1 | -3/+13 |
| | | | | | | | in python3 so that we get the right class (otherwise our code that expects the 'buffer' attribute will break). svn path=/main/trunk/; revision=14971 | ||||
* | Don't assign f to sys.stderr inside EOutput._write(). | Zac Medico | 2009-12-08 | 1 | -1/+0 |
| | | | | svn path=/main/trunk/; revision=14970 | ||||
* | When reading the remote Packages file for --getbinpkg, use codecs.iterdecode | Zac Medico | 2009-12-08 | 1 | -6/+6 |
| | | | | | | | to decode the stream. Also, don't use finally to close the atomic_ofstream when writing the file since we want it to abort if an exception is raised. svn path=/main/trunk/; revision=14969 | ||||
* | Use OrderedDict in portdbapi.getFetchMap() so that order in $A corresponds | Zac Medico | 2009-12-08 | 1 | -2/+2 |
| | | | | | | to order in SRC_URI. svn path=/main/trunk/; revision=14968 | ||||
* | Add OrderedDict class. | Zac Medico | 2009-12-08 | 1 | -0/+26 |
| | | | | svn path=/main/trunk/; revision=14967 | ||||
* | Move ebuild helpers to account for rename of EAPI 3 to 4. | Zac Medico | 2009-12-08 | 3 | -0/+0 |
| | | | | svn path=/main/trunk/; revision=14966 | ||||
* | Bump EAPI conditionals to account for rename of EAPI 3 to 4. Thanks to | Zac Medico | 2009-12-08 | 6 | -32/+32 |
| | | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14965 | ||||
* | Copy the unittest._TextTestResult class from python-2.6 since it's been | Zac Medico | 2009-12-07 | 1 | -6/+60 |
| | | | | | | removed in python-2.7. svn path=/main/trunk/; revision=14963 | ||||
* | Remove unused filter_phases, filter_mergephases, and filter_unmergephasesv2.2_rc56 | Zac Medico | 2009-12-07 | 1 | -20/+0 |
| | | | | | | functions. svn path=/main/trunk/; revision=14958 | ||||
* | Remove unnecessary elog_process() phasefilter arguements. | Zac Medico | 2009-12-07 | 1 | -6/+3 |
| | | | | svn path=/main/trunk/; revision=14957 | ||||
* | Make more code conditional on existence of PORTAGE_BUILDDIR inside | Zac Medico | 2009-12-07 | 1 | -15/+16 |
| | | | | | | dblink._merge(). svn path=/main/trunk/; revision=14955 | ||||
* | Inside dblink._merge(), make sure PORTAGE_BUILDDIR still exists before trying | Zac Medico | 2009-12-07 | 1 | -10/+16 |
| | | | | | | | to call ebuild success/die hooks, since it might have already been removed by fail-clean (and the hooks would have already been called). svn path=/main/trunk/; revision=14953 | ||||
* | Fix possibly unsafe modification of list during iteration inside | Zac Medico | 2009-12-07 | 1 | -1/+1 |
| | | | | | | update_config_files(). svn path=/main/trunk/; revision=14951 | ||||
* | Bug #295715 - Implement a register_success_hook function to complement | Zac Medico | 2009-12-06 | 9 | -23/+108 |
| | | | | | | | register_die_hook, and also add code to ensure the die hooks are called even when the failure is on the python side (like for file collisions). svn path=/main/trunk/; revision=14936 | ||||
* | Add 'tla' to the lists of live eclasses. | Zac Medico | 2009-12-06 | 3 | -3/+5 |
| | | | | svn path=/main/trunk/; revision=14935 | ||||
* | Fix _spawn_misc_sh() to properly unset EBUILD_PHASE, and add a 'phase' | Zac Medico | 2009-12-06 | 1 | -4/+5 |
| | | | | | | description parameter for use in messages. svn path=/main/trunk/; revision=14934 | ||||
* | Add a AbstractEbuildProcess class for MiscFunctionsProcess to inherit the | Zac Medico | 2009-12-06 | 3 | -23/+34 |
| | | | | | | _pipe and _can_log methods that used to be in the EbuildProcess class. svn path=/main/trunk/; revision=14933 | ||||
* | Make register_die_hook() ensure that each hook is registered only once. | Zac Medico | 2009-12-06 | 1 | -1/+5 |
| | | | | svn path=/main/trunk/; revision=14932 | ||||
* | 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 | ||||
* | Bug #294886 - Show some basic info at the beginning of the build log, | Zac Medico | 2009-11-27 | 1 | -0/+5 |
| | | | | | | including USE flags. svn path=/main/trunk/; revision=14907 | ||||
* | 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 | ||||
* | Use einfo instead of ewarn for the "Skipping make test/check due to ebuild | Zac Medico | 2009-11-25 | 1 | -1/+1 |
| | | | | | | restriction." message. svn path=/main/trunk/; revision=14885 | ||||
* | 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 | 2 | -2/+19 |
| | | | | | | <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 |