Skip to content

More tidyups vaguely related to fully-dated trees#129

Merged
lentinj merged 6 commits into
mainfrom
issue-120-more-prerequisites
Jun 8, 2026
Merged

More tidyups vaguely related to fully-dated trees#129
lentinj merged 6 commits into
mainfrom
issue-120-more-prerequisites

Conversation

@lentinj

@lentinj lentinj commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Another bunch of things that came up whilst looking at the fully dated tree.

This doesn't apply the logging.error-means-script-fails-at-end change universally, that will come as we restructure things.

Fixes #125

lentinj added 6 commits June 8, 2026 09:44
There's 2 sets of 2 nodes with the same name. When we dict(zip(names,
remainder)), one of them is chosen arbitarily, and potentially
flapping, causing DVC noise.

Remove all 4 names to solve the inconsistencies, and add ERROR output
if/when the situation arises again.

Fixes #125
Work through a list of file arguments to version/copy into place, with
lots of special cases for existing files.

Ideally this would be responsible for the versioning and not the
cutmapping, but that can come later.
Instead of relying on log messages, write out an import script.

Move upload instructions to README.markdown & update to use this.
It's no longer used, so don't bother generating it.
Add to standard logging setup a handler to count error messages
emitted. On exit, if any came out then treat the script as failed and
exit with status 1, stopping the pipeline.

This means we can easily do things like report problems for all
missing/duplicate items in a tree without having to handle stop/restart
behaviour.
@lentinj lentinj force-pushed the issue-120-more-prerequisites branch from 0324d9f to 5f2ee7e Compare June 8, 2026 09:45
@lentinj lentinj merged commit c3b31be into main Jun 8, 2026
5 of 6 checks passed
@lentinj lentinj deleted the issue-120-more-prerequisites branch June 8, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add_ott_numbers_to_trees: Inconsistent output

1 participant