You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
License: Ocura OSS is now released under the Apache License 2.0. Versions 0.5.0
and earlier remain under MPL-2.0. Contributions are accepted under Apache-2.0.
branch --from, compare --from, and run --pathway accept a shortened ID: at
least four of its leading hexadecimal characters, with or without the kind word.
The prefix must match exactly one record; an ambiguous one is rejected with the
matches listed. Output and records still carry full IDs. Add Store.resolve_id().
The Python workflow functions still take full IDs.
Changed: a run now records its pathway's effective parameters together with
its own, so a run on a branch no longer repeats the branch's --param values. A
parameter declared on the run replaces the pathway's value for the same key. Before
this release a run recorded only what it declared, plus any pathway parameter that --substitute used. compare therefore reports a child run's inherited labels
under run_parameters where it previously reported none. Atoms already recorded
are not changed.
A command run where there is no state now names ocura-oss init in its error.
When a directory above the root holds state, the error names that directory
instead. State is never created implicitly.
ocura-oss run now handles SIGTERM, SIGHUP, and Ctrl+Break on Windows as it
handles the first Ctrl+C: the command is stopped and the run is recorded as interrupted with exit status 1. Before this release those requests ended the
recorder, left an abandoned attempt, and left the command running. A signal the
caller ignores, as under nohup, stays ignored. The Python run() function
installs no signal handlers.
Changed: a command no longer outlives a killed recorder on Windows or Linux.
On Windows the operating system ends the command and the processes it started,
and an interrupted run now ends those processes too. On Linux the kernel kills
the command itself. On macOS the command still keeps running. A command that
finishes on its own is not affected. See "When the recorder stops" in docs/state-and-verification.md.
Documentation: the README and overview show what compare prints, say when a
different tool is the better choice, and state how to remove the package's data.
Add an optional, standalone tool to copy complete 0.4 ledgers into schema 2.
It verifies the source, preserves IDs and log bytes, and writes a separate copy
with a migration receipt. Download it from tools/migrations/; it is excluded
from both the wheel and source distribution and adds no runtime dependencies.