Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WIP: bst-job-replayaevri/sandbox_none | Angelos Evripiotis | 2019-05-23 | 2 | -0/+20 |
| | |||||
* | WIP: sandboxnone: use initial SandboxNone | Angelos Evripiotis | 2019-05-23 | 3 | -2/+70 |
| | |||||
* | Revert "WIP: pickle: rm special cases, plugins pickle now"aevri/picklable_jobs | Angelos Evripiotis | 2019-05-23 | 2 | -0/+8 |
| | | | | This reverts commit 0a9b85460c2ad1298449a1eea936a2ca30220ffd. | ||||
* | WIP: pickle: rm special cases, plugins pickle now | Angelos Evripiotis | 2019-05-23 | 2 | -8/+0 |
| | |||||
* | WIP: pickle: rm commented out special case | Angelos Evripiotis | 2019-05-23 | 1 | -8/+0 |
| | |||||
* | WIP: pickle: remove PicklablePluginProxy | Angelos Evripiotis | 2019-05-23 | 3 | -47/+2 |
| | |||||
* | WIP: pickle: use custom reduction for plugins | Angelos Evripiotis | 2019-05-23 | 5 | -15/+75 |
| | | | | | This removes the need for a PicklablePluginProxy, and perhaps makes this easier to follow, as it is more direct. | ||||
* | WIP: pickle: _do_pickled_child_job and friends | Angelos Evripiotis | 2019-05-23 | 1 | -14/+35 |
| | |||||
* | WIP: pickle: queues no longer pickled | Angelos Evripiotis | 2019-05-23 | 3 | -18/+0 |
| | |||||
* | WIP: perf: don't bind entire queue to callback | Angelos Evripiotis | 2019-05-23 | 7 | -34/+50 |
| | |||||
* | WIP: spawn: Job no longer pickled | Angelos Evripiotis | 2019-05-23 | 1 | -9/+0 |
| | |||||
* | TEMP: time and size of pickling and spawning | Angelos Evripiotis | 2019-05-23 | 1 | -2/+20 |
| | |||||
* | WIP: pickle: comment out test_pickle in Job | Angelos Evripiotis | 2019-05-23 | 1 | -7/+7 |
| | |||||
* | TEMP: breakpoint on recursion error | Angelos Evripiotis | 2019-05-23 | 1 | -1/+2 |
| | |||||
* | WIP: pickle: use PicklablePluginProxy instead | Angelos Evripiotis | 2019-05-23 | 5 | -80/+55 |
| | |||||
* | TEMP: testpickle | Angelos Evripiotis | 2019-05-23 | 2 | -0/+207 |
| | |||||
* | TEMP: MultiprocessingPdb, traceback in Job._child_action | Angelos Evripiotis | 2019-05-23 | 1 | -1/+21 |
| | |||||
* | TEMP: disable status rendering | Angelos Evripiotis | 2019-05-23 | 1 | -1/+1 |
| | | | | This interferes with pdb debugging in subprocesses. | ||||
* | WIP: pickle: Plugin - disable pickling | Angelos Evripiotis | 2019-05-23 | 1 | -0/+6 |
| | |||||
* | WIP: pickle: Element, Source _meta_kind | Angelos Evripiotis | 2019-05-23 | 2 | -0/+3 |
| | |||||
* | WIP: pickle: FetchQueue - not needed? | Angelos Evripiotis | 2019-05-23 | 1 | -0/+6 |
| | |||||
* | WIP: pickle: {ArtifactPush,Build}Queue - not needed? | Angelos Evripiotis | 2019-05-23 | 2 | -0/+12 |
| | |||||
* | WIP: pickle: Job, ElementJob, Element, Source | Angelos Evripiotis | 2019-05-23 | 2 | -0/+87 |
| | |||||
* | WIP: pickle: optionpool: make picklable | Angelos Evripiotis | 2019-05-23 | 1 | -0/+12 |
| | |||||
* | WIP: pickle: PluginContext, ElementFactory, SourceFactory | Angelos Evripiotis | 2019-05-23 | 4 | -10/+40 |
| | | | | | | | Make PluginContext picklable by passing down unique identifiers that can used to reconstruct them afterwards. Clear out the 'types' cache, we'll have to build it up again on-demand. | ||||
* | WIP: pickle: Context: no _message_handler | Angelos Evripiotis | 2019-05-23 | 1 | -0/+13 |
| | |||||
* | WIP: pickle: _{artifact,source}cache: __getstate__ no elements | Angelos Evripiotis | 2019-05-23 | 2 | -0/+12 |
| | |||||
* | WIP: spawn: can't use job result yet | Angelos Evripiotis | 2019-05-23 | 1 | -2/+3 |
| | |||||
* | WIP: spawn: use multiprocessing.Manager | Angelos Evripiotis | 2019-05-23 | 2 | -9/+16 |
| | | | | | Note that the queue changes went into 4d0a2d60c6ac01695b39871002d990646c6fc327 for pickling Job, ElementJob, etc. | ||||
* | WIP: spawn: no Plugin._lookup, class instance plugin map | Angelos Evripiotis | 2019-05-23 | 1 | -4/+4 |
| | |||||
* | WIP: spawn: no _is_main_process | Angelos Evripiotis | 2019-05-23 | 1 | -1/+3 |
| | |||||
* | jobs/job: send ChildJob the context, not scheduler | Angelos Evripiotis | 2019-05-23 | 1 | -6/+6 |
| | | | | | | | Instead of passing the whole scheduler to the ChildJob, only pass the part that is used - the context. Reducing the amount of shared state makes it easier to follow what's going on, and will make it more economical to move to away from the 'fork' model later. | ||||
* | spawn: split jobs into parent and child | Angelos Evripiotis | 2019-05-23 | 4 | -64/+153 |
| | | | | | | | | | | Make it a bit clearer what happens in which process by splitting out a 'ChildJob', which encapsulates the work that will happen in the child process. This also makes it possible to control what will be transferred to the child process, which is very useful for adding support for the 'spawn' method of creating child processes as opposed to the 'fork' method. | ||||
* | jobs/job: Add a fullstop to Job explanation | Angelos Evripiotis | 2019-05-23 | 1 | -1/+1 |
| | |||||
* | jobs: refactor, use new set_message_unique_idaevri/set_message_unique_id | Angelos Evripiotis | 2019-05-23 | 2 | -26/+37 |
| | | | | | | | | | | | Ease the burden on subclasses of Job slightly, by providing a new set_message_unique_id() method. It ensures that created Message instances will use that id. This removes the need to override the message() method, so it is no longer in the 'abstract method' section. Enable callers to Job's message() method to override the 'unique_id'. | ||||
* | _scheduler/jobs/job: mv _parent* above _child* | Angelos Evripiotis | 2019-05-22 | 1 | -131/+131 |
| | | | | | | | | Move the parent-specific methods above the child-specific methods. This makes slightly more sense chronologically, as the parent creates the child. It will also make diffs cleaner when splitting parent and child into separate classes. | ||||
* | Move source from 'buildstream' to 'src/buildstream' | Chandan Singh | 2019-05-21 | 234 | -0/+49947 |
This was discussed in #1008. Fixes #1009. |