Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make portage.locks avoid importing the portage.output module when in | Zac Medico | 2010-09-03 | 1 | -6/+10 |
| | | | | | quiet mode. This is one less import triggered by ebuild-ipc.py, which should be as lightweight as possible. | ||||
* | Move registration of the close_portdbapi_caches() exit hook from the | Zac Medico | 2010-09-03 | 2 | -8/+2 |
| | | | | | | | | portage base module to the portree module, so that the base portage module can be imported without triggering import of the portage.process (for atexit_register) and portage.dbapi.porttree modules. Also, don't bother to commit the mtimedb in the exit hook since it's not really needed. | ||||
* | Use a lazy import for portage.dep instide portage.util. | Zac Medico | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | Move portage.locks imports to the top of the file. | Zac Medico | 2010-09-03 | 1 | -4/+4 |
| | |||||
* | Adjust AlarmSignal.unregister() call in ebuild-ipc. | Zac Medico | 2010-09-03 | 1 | -7/+8 |
| | |||||
* | Use AlarmSignal for timout handling in mod_mail_summary.finalize(). | Zac Medico | 2010-09-03 | 1 | -10/+6 |
| | |||||
* | Make AlarmSignal._signal_handler() restore the default SIGALRM | Zac Medico | 2010-09-03 | 1 | -0/+1 |
| | | | | handler. | ||||
* | Use AlarmSignal for timeout handling in elog_process(). | Zac Medico | 2010-09-03 | 1 | -7/+6 |
| | |||||
* | Fix breakage from previous commit. | Zac Medico | 2010-09-03 | 1 | -6/+6 |
| | |||||
* | Move AlarmSignal.unregister() call to a better place in action_sync(). | Zac Medico | 2010-09-03 | 1 | -2/+3 |
| | |||||
* | Use AlarmSignal for alarm timeout in action_sync(). | Zac Medico | 2010-09-03 | 1 | -8/+5 |
| | |||||
* | Make AlarmSignal.register() require a time parameter and pass it to | Zac Medico | 2010-09-03 | 2 | -3/+4 |
| | | | | signal.alarm(). | ||||
* | Add AlarmSignal.register() and unregister() classmethods in order to | Zac Medico | 2010-09-03 | 2 | -4/+13 |
| | | | | handle interaction with the signal module. | ||||
* | Add a test case for intentionally short timeout with QueueScheduler.run(). | Zac Medico | 2010-09-03 | 1 | -1/+35 |
| | |||||
* | Add support for a timeout argument to QueueScheduler.run() and | Zac Medico | 2010-09-03 | 4 | -11/+57 |
| | | | | | use it in IpcDaemonTestCase to implement a 40 second timeout in test cases. | ||||
* | Bug #335777 - Add a 40 second timeout in ebuild-ipc.py, so that if an | Zac Medico | 2010-09-03 | 2 | -1/+34 |
| | | | | | orphan is left for any reason then it will exit with an error message instead of hanging indefinitely. | ||||
* | Account for package.use.force/mask in previous commit. | Zac Medico | 2010-09-03 | 1 | -2/+4 |
| | |||||
* | autounmask: Don't print masked/forced flags in "required by" comments | Sebastian Luther | 2010-09-03 | 1 | -0/+4 |
| | |||||
* | Old "Change USE" message: Don't screw up if the highest version is masked ↵ | Sebastian Luther | 2010-09-03 | 1 | -7/+17 |
| | | | | and parent changes exist | ||||
* | Make emerge display a warning message if FEATURES contains keepwork | Zac Medico | 2010-09-03 | 1 | -0/+15 |
| | | | | | or keeptemp since these features may confuse users and lead them to report invalid bugs. | ||||
* | Fix VDB_PATH handling in ebuild(1) to join with EROOT. | Zac Medico | 2010-09-03 | 1 | -2/+2 |
| | |||||
* | Add a "Delayed Evaluation of Disjunctive Dependency Choices" section | Zac Medico | 2010-09-02 | 1 | -0/+13 |
| | | | | to depenency resolution documentation. | ||||
* | Unify to different pieces of code that handle sandbox considerations for | Zac Medico | 2010-09-02 | 1 | -12/+12 |
| | | | | TEMP, TMP, and TMPDIR variables. | ||||
* | Fix whenago() to show times as integers instead of floats.v2.2_rc74 | Zac Medico | 2010-09-02 | 1 | -5/+5 |
| | |||||
* | Add backward compatible config.pmaskdict and punmaskdict properties | Zac Medico | 2010-09-02 | 1 | -0/+8 |
| | | | | | | that return copies of the corresponding MaskManager attributes. This is safe since MaskManager now stores the values in these dicts as immutable tuples. | ||||
* | Make MaskManager use tuples for values inside _pmaskdict and | Zac Medico | 2010-09-02 | 1 | -0/+4 |
| | | | | _punmaskdict. | ||||
* | Implement ExtendedAtomDict.copy(). | Zac Medico | 2010-09-02 | 1 | -0/+6 |
| | |||||
* | Bug #335620 - Add backward compatible config.virtuals and virts_p | Zac Medico | 2010-09-02 | 1 | -0/+14 |
| | | | | properties, and trigger a DeprecationWarning if they are accessed. | ||||
* | 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 | 2 | -6/+10 |
| | |||||
* | Fix breakage for python3 from trying to mix bytes and unicode in | Zac Medico | 2010-09-02 | 1 | -1/+1 |
| | | | | load_default_config(). | ||||
* | Add a _SANDBOX_COMPAT_LEVEL constant which will be used to enable | Zac Medico | 2010-09-02 | 5 | -3/+19 |
| | | | | 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. | ||||
* | Omit dotfiles in /usr/share/portage/config/sets (e.g. vim swapfiles). | Michał Górny | 2010-09-02 | 1 | -1/+2 |
| | |||||
* | Bug #248603 - Add a _ENABLE_REPO_NAME_WARN constant that's used to | Zac Medico | 2010-09-02 | 2 | -1/+5 |
| | | | | | disable warnings about "missing repo_name entries" for the stable branch. | ||||
* | Hide the portageq list_preserved_libs command when _ENABLE_PRESERVE_LIBS | Zac Medico | 2010-09-02 | 1 | -0/+3 |
| | | | | is False. | ||||
* | Bug #335670 - Make copyright header in herdbase.py refer to "GPL 2 or later" | Zac Medico | 2010-09-02 | 1 | -1/+1 |
| | | | | instead of just GPL-2. | ||||
* | 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 | 3 | -8/+56 |
| | | | | | atomc reading and writing of whole pickles. This should be the least error-prone approach, given the non-blocking nature of the streams. | ||||
* | Bug #335642 - Also make show_masked_packages() display to stdout since | Zac Medico | 2010-09-01 | 1 | -2/+2 |
| | | | | depgraph._show_unsatisfied_dep() calls it. | ||||
* | Bug #335642 - Revert depgraph._show_unsatisfied_dep() to display to | Zac Medico | 2010-09-01 | 1 | -14/+14 |
| | | | | | | | | | stdout, so that app-portage/autounmask continues to work. Note that depgraph.display_problems() temporarily overrides the stdout stream to point to stderr, so mask messages shown there continue to go to stderr. Maybe the emerge --autounmask will eventually make app-portage/autounmask obsolete, but for now we should support both approaches since emerge --autounmask is relatively experimental. | ||||
* | Remove reference to nonexistent _unlock_builddir() method inv2.2_rc73 | Zac Medico | 2010-09-01 | 1 | -1/+0 |
| | | | | EbuildPhase._env_extractor_exit(). | ||||
* | Add support to config.setcpv() for caching USE settings from built | Zac Medico | 2010-09-01 | 4 | -9/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Make atomic directory creation code in dblink.mergeme() use equivalent | Zac Medico | 2010-09-01 | 1 | -4/+16 |
| | | | | error handling to portage.util.ensure_dirs(). | ||||
* | Add a note to the ensure_dirs() docstring about atomic directory creation. | Zac Medico | 2010-09-01 | 1 | -1/+6 |
| | |||||
* | Make ensure_dirs() use os.path.isdir() to verify that the directory | Zac Medico | 2010-09-01 | 1 | -2/+3 |
| | | | | exists when EISDIR is raised, since this is abnormal behavior. | ||||
* | In ensure_dirs(), only call apply_permissions() when keyword arguments | Zac Medico | 2010-09-01 | 1 | -2/+5 |
| | | | | for it are given. | ||||
* | Make more doebuild() commands exempt from _check_temp_dir(). | Zac Medico | 2010-09-01 | 1 | -2/+8 |
| | |||||
* | In doebuild(), don't call _check_temp_dir() for pseudo-phases such as | Zac Medico | 2010-09-01 | 1 | -3/+5 |
| | | | | 'manifest' and 'digest' that don't require a temp dir. |