Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make ebuild-ipc.py display EOFError if no data is read from the | Zac Medico | 2010-09-10 | 1 | -2/+2 |
| | | | | pipe. | ||||
* | Add missing comma in tuple. | Zac Medico | 2010-09-09 | 1 | -2/+2 |
| | |||||
* | Make the "warning: call to .* will always overflow destination buffer" | Zac Medico | 2010-09-09 | 1 | -0/+3 |
| | | | | | gcc warning fatal. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion. | ||||
* | Bug #336644 - Make ebuild-ipc.py use array.fromfile() to read pickles | Zac Medico | 2010-09-09 | 2 | -33/+36 |
| | | | | | | | in single atomic non-blocking read() calls, similar to how AbstractPollTask._read_buf() does it. If the read fails, exit with status 2 so that best_version() and has_version() can detect the error and die when necessary. | ||||
* | Filter the FEATURES variable out of the environment between phases, | Zac Medico | 2010-09-07 | 1 | -2/+3 |
| | | | | | | | so that it always matches the latest value from the config class and it can never be stale. With the ability to use package.env for per-package FEATURES settings, there's no need for bashrc to make persistent modifications to the FEATURES variable. | ||||
* | Fix dyn_setup 'already setup' message to refer to setup instead of | Zac Medico | 2010-09-07 | 1 | -1/+1 |
| | | | | prepare. | ||||
* | Move stale elog cleanup code from ebuild.sh to _doebuild_spawn(), so | Zac Medico | 2010-09-07 | 1 | -10/+11 |
| | | | | that elog messages generated by bashrc are preserved when appropriate. | ||||
* | Define EBUILD_MASTER_PID earlier in ebuild.sh, before $EBUILD isv2.2_rc76 | Zac Medico | 2010-09-06 | 1 | -4/+8 |
| | | | | sourced. | ||||
* | Bug #336285 - Add workaround to unpack() in order to prevent unzip | Zac Medico | 2010-09-06 | 1 | -0/+3 |
| | | | | from interactively prompting under some error conditions. | ||||
* | Remove all \a (alert/bell/beep) tokens (bug 336024) | Sebastian Luther | 2010-09-06 | 3 | -26/+23 |
| | |||||
* | print up-to-date copyright years | Fabian Groffen | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | Update copyright header. | Ulrich Mueller | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | dodoc, prepalldocs: Don't test for EAPI; use helpers in subdir 4 instead. | Ulrich Mueller | 2010-09-05 | 4 | -8/+2 |
| | |||||
* | Don't regenerate GNU Info if the dir contains a .keepinfodir file, bug 257260. | Ulrich Mueller | 2010-09-05 | 1 | -0/+3 |
| | |||||
* | Take the code which displays ebuild information before pkg_setup, | Zac Medico | 2010-09-05 | 1 | -5/+0 |
| | | | | | and move it from ebuild.sh to EbuildPhase. This way we can easily use python to extend it for bug #336019. | ||||
* | Remove redundant initial os.sep argument to os.path.join() calls | Zac Medico | 2010-09-05 | 1 | -2/+2 |
| | | | | involving EROOT. | ||||
* | use EROOT with WORLD_FILE | Fabian Groffen | 2010-09-04 | 1 | -1/+1 |
| | |||||
* | use EROOT with VDB_PATH | Fabian Groffen | 2010-09-04 | 3 | -4/+5 |
| | |||||
* | Make ebuild-ipc.py call portage._disable_legacy_globals() since it | Zac Medico | 2010-09-03 | 1 | -0/+1 |
| | | | | doesn't need any of that stuff. | ||||
* | Adjust AlarmSignal.unregister() call in ebuild-ipc. | Zac Medico | 2010-09-03 | 1 | -7/+8 |
| | |||||
* | Make AlarmSignal.register() require a time parameter and pass it to | Zac Medico | 2010-09-03 | 1 | -2/+2 |
| | | | | signal.alarm(). | ||||
* | Add AlarmSignal.register() and unregister() classmethods in order to | Zac Medico | 2010-09-03 | 1 | -3/+2 |
| | | | | handle interaction with the signal module. | ||||
* | Bug #335777 - Add a 40 second timeout in ebuild-ipc.py, so that if an | Zac Medico | 2010-09-03 | 1 | -1/+20 |
| | | | | | orphan is left for any reason then it will exit with an error message instead of hanging indefinitely. | ||||
* | Fix VDB_PATH handling in ebuild(1) to join with EROOT. | Zac Medico | 2010-09-03 | 1 | -2/+2 |
| | |||||
* | Unify to different pieces of code that handle sandbox considerations for | Zac Medico | 2010-09-02 | 1 | -12/+12 |
| | | | | TEMP, TMP, and TMPDIR variables. | ||||
* | Prevent local x variable in ebuild_main() from showing up in | Zac Medico | 2010-09-02 | 1 | -2/+2 |
| | | | | environment.bz2. | ||||
* | Prevent the local filter_opts variable in filter_readonly_variables() | Zac Medico | 2010-09-02 | 1 | -5/+6 |
| | | | | from being saved in environment.bz2. | ||||
* | Filter more variables that don't need to end up in environment.bz2. | Zac Medico | 2010-09-02 | 1 | -1/+1 |
| | |||||
* | Add a _SANDBOX_COMPAT_LEVEL constant which will be used to enable | Zac Medico | 2010-09-02 | 2 | -1/+11 |
| | | | | a workaround for bug #288863 in the stable branch. | ||||
* | When signaling successful exit from an ebuild phase via ebuild-ipc, | Zac Medico | 2010-09-02 | 2 | -2/+27 |
| | | | | | | first check for non-empty $SANDBOX_LOG and signal unsuccessful exit if necessary. This fixes an issue with phases being treated as successful even when there were sandbox violations. | ||||
* | Hide the portageq list_preserved_libs command when _ENABLE_PRESERVE_LIBS | Zac Medico | 2010-09-02 | 1 | -0/+3 |
| | | | | is False. | ||||
* | Make repoman disable FEATURES=unknown-features-warn for the profiles | Zac Medico | 2010-09-02 | 1 | -0/+4 |
| | | | | | it's checking, since it's confusing if these warnings are displayed without the user being told which profile they come from. | ||||
* | Adjust EbuildIpcDaemon pickle read and write code in order to ensure | Zac Medico | 2010-09-02 | 1 | -4/+26 |
| | | | | | atomc reading and writing of whole pickles. This should be the least error-prone approach, given the non-blocking nature of the streams. | ||||
* | Add support to config.setcpv() for caching USE settings from built | Zac Medico | 2010-09-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages, and use it for evaluating conditional USE deps in atoms passed via IPC to helpers like has_version and best_version. Since the pickled object that contains the IPC command will no longer contain USE, it should solve cases that have been reported in which large USE strings trigger poor handling of non-blocking read in pickle.load(): Traceback (most recent call last): File "/usr/bin/emerge", line 43, in <module> retval = emerge_main() File "/usr/lib64/portage/pym/_emerge/main.py", line 1649, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/actions.py", line 437, in action_build retval = mergetask.merge() File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1033, in merge rval = self._merge() File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1349, in _merge self._main_loop() File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1498, in _main_loop self._poll_loop() File "/usr/lib64/portage/pym/_emerge/PollScheduler.py", line 139, in _poll_loop handler(f, event) File "/usr/lib64/portage/pym/_emerge/EbuildIpcDaemon.py", line 36, in _input_handler obj = pickle.load(self._files.pipe_in) File "/usr/lib64/python2.6/pickle.py", line 1370, in load return Unpickler(file).load() File "/usr/lib64/python2.6/pickle.py", line 858, in load dispatch[key](self) File "/usr/lib64/python2.6/pickle.py", line 1195, in load_setitem value = stack.pop() IndexError: pop from empty list | ||||
* | Add a fallback PORTAGE_BZIP2_COMMAND setting in ebuild.sh, as a | Zac Medico | 2010-08-31 | 1 | -0/+6 |
| | | | | workaround for portage-9999 users. | ||||
* | Bug #335340 - Use PORTAGE_BUNZIP2_COMMAND and PORTAGE_BZIP2_COMMAND in | Zac Medico | 2010-08-30 | 1 | -9/+9 |
| | | | | | | ebuild.sh where appropriate: * unpack() * environment.bz2 compression | ||||
* | Bug #335340 - Add support for PORTAGE_BZIP2_COMMAND and | Zac Medico | 2010-08-30 | 2 | -1/+2 |
| | | | | | | PORTAGE_BUNZIP2_COMMAND settings in make.conf. This only adds support for binary packages, since that's where pbzip2 can provide the most benefit in common cases. | ||||
* | Invert _ebuild_helpers_path EAPI conditional in ebuild.sh. | Zac Medico | 2010-08-30 | 1 | -3/+3 |
| | |||||
* | Bug fix in canonicalize() function. | Ulrich Mueller | 2010-08-30 | 1 | -3/+3 |
| | |||||
* | Rename the portage.sets module to portage._sets since it will be useful | Zac Medico | 2010-08-30 | 3 | -4/+4 |
| | | | | | in the upcoming 2.1.9 branch which will not have sets support but will still have the code in private and disabled form. | ||||
* | Rename vardbapi.plib_registry to vardbapi._plib_registry since I'm | Zac Medico | 2010-08-29 | 1 | -1/+1 |
| | | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form. | ||||
* | Add canonicalize() function, replacement for "readlink -f".v2.2_rc72 | Ulrich Mueller | 2010-08-28 | 1 | -16/+22 |
| | | | | | Expand symlinks in prepcompress() completely, not only to the last directory component. | ||||
* | Change a comment in prepcompress(). | Ulrich Mueller | 2010-08-28 | 1 | -2/+3 |
| | |||||
* | Update copyright headers. | Ulrich Mueller | 2010-08-28 | 4 | -4/+4 |
| | |||||
* | Implement controllable compression and docompress, bug #273633. | Ulrich Mueller | 2010-08-28 | 9 | -4/+142 |
| | |||||
* | Make egencache --update-use-local-desc use codecs.open() to write to | Zac Medico | 2010-08-28 | 1 | -14/+21 |
| | | | | use.local.desc (fixes possible unicode issues with python3). | ||||
* | For egencache --preserve-comments, probe comments in binary mode in | Zac Medico | 2010-08-28 | 1 | -9/+11 |
| | | | | | | order to avoid potential character encoding issues (both in terms of decoding and in calculating file position given variable-width character encodings like UTF-8. | ||||
* | egencache: Add comment preserving to --update-use-local-desc. | Michał Górny | 2010-08-28 | 1 | -5/+32 |
| | |||||
* | Support specifying an alternate output file for --update-use-local-desc. | Michał Górny | 2010-08-28 | 1 | -16/+31 |
| | |||||
* | Define a cmp work-alike function for use in the egencache | Zac Medico | 2010-08-27 | 1 | -5/+11 |
| | | | | | --update-use-local-desc code, since it's ugly to have so many repetitions of this construct. |