Improve change-set handling #35

Merged
cmo merged 5 commits from improve-change-set into master 2026-03-10 13:24:42 +00:00
Owner

This PR implements the following change to change set creation:

  • JSON files in change sets are
    now pretty printed with an indentation of 2.

  • The directory in which the change set is created is written to stdout when
    dtc auto-curate --create-change-set ... exits.

  • The output of git-process execution is captured and not written to stdout
    or stderr on dtc auto-curate --create-change-set ....

  • All records that are added to a change set are removed from their inbox.

This PR implements the following change to change set creation: - JSON files in change sets are now pretty printed with an indentation of 2. - The directory in which the change set is created is written to stdout when `dtc auto-curate --create-change-set ...` exits. - The output of git-process execution is captured and not written to stdout or stderr on `dtc auto-curate --create-change-set ...`. - All records that are added to a change set are removed from their inbox.
Print the change set directory on exit, if --create-change-set
is set.

Capture git-command execution output
When a record is added to a change set, it is removed
from its inbox.
add test for record deletion in --create-change-set
All checks were successful
Test execution / Test-all (push) Successful in 29s
e1d3b212b0
Add a test that ensures that `auto-curate` empties the
inboxes for which a change set was created.
cmo merged commit aa84f6ebfa into master 2026-03-10 13:24:42 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
orinoco/dump-things-pyclient!35
No description provided.