Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pullqueue.py: Recalculate cache_key_from_artifact after pullingdual-cache-keys | Jürg Billeter | 2017-07-14 | 1 | -1/+2 |
| | |||||
* | pullqueue.py: Do not skip elements for weak cache key artifacts | Jürg Billeter | 2017-07-14 | 1 | -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 Billeter | 2017-07-14 | 1 | -2/+12 |
| | |||||
* | element.py: Remove _set_cached() | Jürg Billeter | 2017-07-14 | 2 | -11/+1 |
| | | | | | Use _cached(recalculate=True) instead to reduce the number of code paths touching __cached. | ||||
* | _artifactcache.py: Support weak cache keys | Jürg Billeter | 2017-07-14 | 1 | -13/+65 |
| | |||||
* | _artifactcache.py: Ensure unique extract dir with weak cache keys | Jürg Billeter | 2017-07-14 | 1 | -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 metadata | Jürg Billeter | 2017-07-14 | 1 | -3/+16 |
| | |||||
* | tests/artifactcache: Recalculate _cached after commit | Jürg Billeter | 2017-07-14 | 1 | -0/+1 |
| | |||||
* | _ostree.py: Add set_ref() | Jürg Billeter | 2017-07-14 | 1 | -0/+22 |
| | |||||
* | _ostree.py: Support branches in commit() | Jürg Billeter | 2017-07-14 | 1 | -1/+6 |
| | |||||
* | element.py: Use appropriate cache key in _get_full_display_key() | Jürg Billeter | 2017-07-14 | 1 | -4/+13 |
| | |||||
* | element.py: Use _get_cache_key_for_build() for keys.yaml | Jürg Billeter | 2017-07-14 | 1 | -2/+2 |
| | | | | This will only make a difference when building with weak cache keys. | ||||
* | element.py: Add _get_cache_key_for_build() | Jürg Billeter | 2017-07-14 | 1 | -0/+15 |
| | |||||
* | element.py: Add _get_cache_key_from_artifact() | Jürg Billeter | 2017-07-14 | 1 | -9/+34 |
| | |||||
* | element.py: Store cache keys as artifact metadata | Jürg Billeter | 2017-07-14 | 1 | -0/+10 |
| | |||||
* | element.py: Calculate weak cache key in addition to strong cache key | Jürg Billeter | 2017-07-14 | 1 | -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 Billeter | 2017-07-14 | 1 | -27/+37 |
| | |||||
* | Move ArtifactError to exceptions.py | Jürg Billeter | 2017-07-14 | 5 | -23/+22 |
| | | | | This avoids cyclic imports between element.py and artifactcache.py. | ||||
* | main.py: Add --strict/--no-strict option | Jürg Billeter | 2017-07-14 | 1 | -0/+3 |
| | | | | | With --strict, elements must be rebuilt when their dependencies have changed. | ||||
* | context.py: Add strict_build_plan option | Jürg Billeter | 2017-07-13 | 2 | -0/+8 |
| | |||||
* | widget.py: Use _get_full_display_key() | Jürg Billeter | 2017-07-13 | 1 | -11/+3 |
| | |||||
* | element.py: Add _get_full_display_key() | Jürg Billeter | 2017-07-13 | 1 | -9/+28 |
| | |||||
* | _frontend/widget.py: Fixed stack trace found by Tristan Maat | Tristan Van Berkom | 2017-07-13 | 1 | -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 operations | Tristan Van Berkom | 2017-07-13 | 1 | -1/+25 |
| | |||||
* | _pipeline.py: Additional writable check of directory in Pipeline.checkout() | Tristan Van Berkom | 2017-07-13 | 1 | -0/+3 |
| | |||||
* | _pipeline.py: Handle exceptions when checking out elements | Jonathan Maw | 2017-07-13 | 1 | -1/+4 |
| | | | | | Previously, an OSError would come up and be handled with a generic stack trace. | ||||
* | _yaml.py: Fixed node_copy() | Tristan Van Berkom | 2017-07-12 | 1 | -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 area | Tristan Van Berkom | 2017-07-12 | 1 | -4/+4 |
| | |||||
* | _pipeline.py: Simplified end of session reports. | Tristan Van Berkom | 2017-07-12 | 1 | -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 Berkom | 2017-07-12 | 1 | -0/+15 |
| | |||||
* | widget.py: Added LogLine.print_summary() | Tristan Van Berkom | 2017-07-12 | 1 | -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() around | Tristan Van Berkom | 2017-07-12 | 6 | -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 Berkom | 2017-07-12 | 1 | -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 exiting | Tristan Van Berkom | 2017-07-12 | 1 | -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 this | Tristan Van Berkom | 2017-07-11 | 1 | -14/+3 |
| | |||||
* | widget.py: Show action name in the log lines along with the element name | Tristan Van Berkom | 2017-07-11 | 1 | -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 formatting | Tristan Van Berkom | 2017-07-11 | 1 | -6/+4 |
| | |||||
* | _scheduler/pushqueue.py: Elements which did not need push appear in skipped ↵ | Tristan Van Berkom | 2017-07-11 | 1 | -2/+8 |
| | | | | queue | ||||
* | element.py: Element._push() returns boolean, indicating whether an upload ↵ | Tristan Van Berkom | 2017-07-11 | 1 | -1/+5 |
| | | | | was needed | ||||
* | context.py: Add option to specify artifact push port | Tristan Van Berkom | 2017-07-11 | 2 | -2/+10 |
| | |||||
* | _artifactcache: Few changes | Tristan Van Berkom | 2017-07-11 | 2 | -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 parameters | Tristan Van Berkom | 2017-07-11 | 8 | -82/+28 |
| | |||||
* | frontend: New status heading style, show success/skipped/failed elements | Tristan Van Berkom | 2017-07-11 | 2 | -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_config | Tristan Van Berkom | 2017-07-11 | 1 | -5/+11 |
| | |||||
* | _artifactcache/pushreceive.py: Changing up the bst-artifact-receive options | Tristan Van Berkom | 2017-07-11 | 1 | -4/+6 |
| | | | | Make the repo an argument, so that it bails out if not specified. | ||||
* | main.py: Fix format stringarch_options | Tristan Maat | 2017-07-11 | 1 | -1/+1 |
| | |||||
* | main.py: Improve arch help strings | Tristan Maat | 2017-07-11 | 1 | -3/+3 |
| | |||||
* | main.py: Move --arch* options to the main command | Tristan Maat | 2017-07-11 | 1 | -70/+28 |
| | |||||
* | Artifacts documentation: Fixed a little typo | Tristan Van Berkom | 2017-07-11 | 1 | -2/+2 |
| | |||||
* | utils.py: Fix _tempdir for python3.4 | Jonathan Maw | 2017-07-10 | 1 | -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. |