summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* pullqueue.py: Recalculate cache_key_from_artifact after pullingdual-cache-keysJürg Billeter2017-07-141-1/+2
|
* pullqueue.py: Do not skip elements for weak cache key artifactsJürg Billeter2017-07-141-1/+4
| | | | | Attempt to pull artifacts using the strong cache key even for elements where a local artifact is available using the weak cache key.
* element.py: Add strength parameter to _cached()Jürg Billeter2017-07-141-2/+12
|
* element.py: Remove _set_cached()Jürg Billeter2017-07-142-11/+1
| | | | | Use _cached(recalculate=True) instead to reduce the number of code paths touching __cached.
* _artifactcache.py: Support weak cache keysJürg Billeter2017-07-141-13/+65
|
* _artifactcache.py: Ensure unique extract dir with weak cache keysJürg Billeter2017-07-141-5/+5
| | | | | Use the OSTree checksum instead of the cache key as the name of the extract dir to ensure extract dir is unique even with weak cache keys.
* tests/artifactcache: Store cache keys as artifact metadataJürg Billeter2017-07-141-3/+16
|
* tests/artifactcache: Recalculate _cached after commitJürg Billeter2017-07-141-0/+1
|
* _ostree.py: Add set_ref()Jürg Billeter2017-07-141-0/+22
|
* _ostree.py: Support branches in commit()Jürg Billeter2017-07-141-1/+6
|
* element.py: Use appropriate cache key in _get_full_display_key()Jürg Billeter2017-07-141-4/+13
|
* element.py: Use _get_cache_key_for_build() for keys.yamlJürg Billeter2017-07-141-2/+2
| | | | This will only make a difference when building with weak cache keys.
* element.py: Add _get_cache_key_for_build()Jürg Billeter2017-07-141-0/+15
|
* element.py: Add _get_cache_key_from_artifact()Jürg Billeter2017-07-141-9/+34
|
* element.py: Store cache keys as artifact metadataJürg Billeter2017-07-141-0/+10
|
* element.py: Calculate weak cache key in addition to strong cache keyJürg Billeter2017-07-141-2/+33
| | | | | Weak cache keys include names of direct build dependencies but do not include cache keys of dependencies.
* element.py: Add __calculate_cache_key()Jürg Billeter2017-07-141-27/+37
|
* Move ArtifactError to exceptions.pyJürg Billeter2017-07-145-23/+22
| | | | This avoids cyclic imports between element.py and artifactcache.py.
* main.py: Add --strict/--no-strict optionJürg Billeter2017-07-141-0/+3
| | | | | With --strict, elements must be rebuilt when their dependencies have changed.
* context.py: Add strict_build_plan optionJürg Billeter2017-07-132-0/+8
|
* widget.py: Use _get_full_display_key()Jürg Billeter2017-07-131-11/+3
|
* element.py: Add _get_full_display_key()Jürg Billeter2017-07-131-9/+28
|
* _frontend/widget.py: Fixed stack trace found by Tristan MaatTristan Van Berkom2017-07-131-0/+6
| | | | | | | Early return in print_summary() if scheduler.queues is None, can happen when the pipeline early returns before running the scheduler for any reason, in which case we dont care about printing a summary of what never even happened.
* utils.py: Document exceptions from file operationsTristan Van Berkom2017-07-131-1/+25
|
* _pipeline.py: Additional writable check of directory in Pipeline.checkout()Tristan Van Berkom2017-07-131-0/+3
|
* _pipeline.py: Handle exceptions when checking out elementsJonathan Maw2017-07-131-1/+4
| | | | | Previously, an OSError would come up and be handled with a generic stack trace.
* _yaml.py: Fixed node_copy()Tristan Van Berkom2017-07-121-0/+2
| | | | | Jonathan Maw caught this bug, we were forgetting to transport the regular values to the new copied dictionary here.
* status.py: Enhanced queue formatting in status areaTristan Van Berkom2017-07-121-4/+4
|
* _pipeline.py: Simplified end of session reports.Tristan Van Berkom2017-07-121-23/+8
| | | | | | This was a bit contorted, and is no longer needed with the new end of session generic reports which show the status of each scheduler queue.
* main.py: Print the summary after a scheduled session (build, track and fetch)Tristan Van Berkom2017-07-121-0/+15
|
* widget.py: Added LogLine.print_summary()Tristan Van Berkom2017-07-121-3/+51
| | | | | Used to print a summary at the end of a scheduler session, prints the status of queues in order.
* _scheduler: Changed return value of Queue.done() aroundTristan Van Berkom2017-07-126-14/+18
| | | | | | Previously it returned True to record an element as 'skipped', this seems backwards; instead return True to indicate an element was 'processed' and False to indicate an element was 'skipped'
* _scheduler/job.py: Dont call sys._exit() during sys.exit()Tristan Van Berkom2017-07-121-1/+4
| | | | | | | | | | If process termination occurs we will call sys._exit(); ensure that this doesnt happen while the process is already busy in sys.exit(). Problem here was that child_shutdown() was being called inside the context manager with termination enabled (via element logging); only try to cleanly shutdown after the context manager is complete.
* _scheduler/scheduler.py: Done unset scheduler queues when exitingTristan Van Berkom2017-07-121-1/+0
| | | | We need the list of queues to print a summary after a session completes.
* artifacts documentation: Now there is 'push-port', amend artifact docs for thisTristan Van Berkom2017-07-111-14/+3
|
* widget.py: Show action name in the log lines along with the element nameTristan Van Berkom2017-07-111-18/+11
| | | | | Since now we can have a lot of different queues in play, things are otherwise confusing without this hint, I think.
* status.py: Minor touchups in the queue formattingTristan Van Berkom2017-07-111-6/+4
|
* _scheduler/pushqueue.py: Elements which did not need push appear in skipped ↵Tristan Van Berkom2017-07-111-2/+8
| | | | queue
* element.py: Element._push() returns boolean, indicating whether an upload ↵Tristan Van Berkom2017-07-111-1/+5
| | | | was needed
* context.py: Add option to specify artifact push portTristan Van Berkom2017-07-112-2/+10
|
* _artifactcache: Few changesTristan Van Berkom2017-07-112-17/+42
| | | | | | | o Allow specifying the push port o Additional timed messaging at push time o Return True if artifact was pushed, False if the artifact already existed remotely, raise ArtifactError only on error
* Update man pages for new placement of arch parametersTristan Van Berkom2017-07-118-82/+28
|
* frontend: New status heading style, show success/skipped/failed elementsTristan Van Berkom2017-07-112-33/+54
| | | | | | Now the (session/total) count is mentioned on the same line as the pipeline target and overall timer, the next line with queue counts now display success/skipped/failed element counts in them.
* Artifacts documentation: Amending poor documentation about sshd_configTristan Van Berkom2017-07-111-5/+11
|
* _artifactcache/pushreceive.py: Changing up the bst-artifact-receive optionsTristan Van Berkom2017-07-111-4/+6
| | | | Make the repo an argument, so that it bails out if not specified.
* main.py: Fix format stringarch_optionsTristan Maat2017-07-111-1/+1
|
* main.py: Improve arch help stringsTristan Maat2017-07-111-3/+3
|
* main.py: Move --arch* options to the main commandTristan Maat2017-07-111-70/+28
|
* Artifacts documentation: Fixed a little typoTristan Van Berkom2017-07-111-2/+2
|
* utils.py: Fix _tempdir for python3.4Jonathan Maw2017-07-101-1/+1
| | | | | | | Support for prefix=None and suffix=None was added in python 3.5. The default for suffix happens to be "", and the prefix happens to be "tmp" (though that's an implementation detail), but it's sufficient, and simpler than writing conditionals that omit certain args.