summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* WIP: bst-job-replayaevri/sandbox_noneAngelos Evripiotis2019-05-232-0/+20
|
* WIP: sandboxnone: use initial SandboxNoneAngelos Evripiotis2019-05-233-2/+70
|
* Revert "WIP: pickle: rm special cases, plugins pickle now"aevri/picklable_jobsAngelos Evripiotis2019-05-232-0/+8
| | | | This reverts commit 0a9b85460c2ad1298449a1eea936a2ca30220ffd.
* WIP: pickle: rm special cases, plugins pickle nowAngelos Evripiotis2019-05-232-8/+0
|
* WIP: pickle: rm commented out special caseAngelos Evripiotis2019-05-231-8/+0
|
* WIP: pickle: remove PicklablePluginProxyAngelos Evripiotis2019-05-233-47/+2
|
* WIP: pickle: use custom reduction for pluginsAngelos Evripiotis2019-05-235-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 friendsAngelos Evripiotis2019-05-231-14/+35
|
* WIP: pickle: queues no longer pickledAngelos Evripiotis2019-05-233-18/+0
|
* WIP: perf: don't bind entire queue to callbackAngelos Evripiotis2019-05-237-34/+50
|
* WIP: spawn: Job no longer pickledAngelos Evripiotis2019-05-231-9/+0
|
* TEMP: time and size of pickling and spawningAngelos Evripiotis2019-05-231-2/+20
|
* WIP: pickle: comment out test_pickle in JobAngelos Evripiotis2019-05-231-7/+7
|
* TEMP: breakpoint on recursion errorAngelos Evripiotis2019-05-231-1/+2
|
* WIP: pickle: use PicklablePluginProxy insteadAngelos Evripiotis2019-05-235-80/+55
|
* TEMP: testpickleAngelos Evripiotis2019-05-232-0/+207
|
* TEMP: MultiprocessingPdb, traceback in Job._child_actionAngelos Evripiotis2019-05-231-1/+21
|
* TEMP: disable status renderingAngelos Evripiotis2019-05-231-1/+1
| | | | This interferes with pdb debugging in subprocesses.
* WIP: pickle: Plugin - disable picklingAngelos Evripiotis2019-05-231-0/+6
|
* WIP: pickle: Element, Source _meta_kindAngelos Evripiotis2019-05-232-0/+3
|
* WIP: pickle: FetchQueue - not needed?Angelos Evripiotis2019-05-231-0/+6
|
* WIP: pickle: {ArtifactPush,Build}Queue - not needed?Angelos Evripiotis2019-05-232-0/+12
|
* WIP: pickle: Job, ElementJob, Element, SourceAngelos Evripiotis2019-05-232-0/+87
|
* WIP: pickle: optionpool: make picklableAngelos Evripiotis2019-05-231-0/+12
|
* WIP: pickle: PluginContext, ElementFactory, SourceFactoryAngelos Evripiotis2019-05-234-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_handlerAngelos Evripiotis2019-05-231-0/+13
|
* WIP: pickle: _{artifact,source}cache: __getstate__ no elementsAngelos Evripiotis2019-05-232-0/+12
|
* WIP: spawn: can't use job result yetAngelos Evripiotis2019-05-231-2/+3
|
* WIP: spawn: use multiprocessing.ManagerAngelos Evripiotis2019-05-232-9/+16
| | | | | Note that the queue changes went into 4d0a2d60c6ac01695b39871002d990646c6fc327 for pickling Job, ElementJob, etc.
* WIP: spawn: no Plugin._lookup, class instance plugin mapAngelos Evripiotis2019-05-231-4/+4
|
* WIP: spawn: no _is_main_processAngelos Evripiotis2019-05-231-1/+3
|
* jobs/job: send ChildJob the context, not schedulerAngelos Evripiotis2019-05-231-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 childAngelos Evripiotis2019-05-234-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 explanationAngelos Evripiotis2019-05-231-1/+1
|
* jobs: refactor, use new set_message_unique_idaevri/set_message_unique_idAngelos Evripiotis2019-05-232-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 Evripiotis2019-05-221-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 Singh2019-05-21234-0/+49947
This was discussed in #1008. Fixes #1009.