Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: save log button? #554

Open
kieranjol opened this issue Oct 11, 2023 · 5 comments
Open

Feature request: save log button? #554

kieranjol opened this issue Oct 11, 2023 · 5 comments

Comments

@kieranjol
Copy link

Would it be possible to add a 'Save Log' button at the end of a job, for example bag validation and bag creation?
I'm aware of the log file but it could be useful to allow a user to save the outcome of the job, even if it's just the Job/ProcessID/Started At/Validation/outcome etc.

@diamondap
Copy link
Member

This feature is already in the pipeline for DART 3, in which I plan to automatically save artifacts for each job. Artifacts include:

  1. A summary of the outcome of the job's bagging, validation and upload steps.
  2. The bag's tag files.
  3. The bag's payload manifests.

I've gotten various requests for all of these over the years, so it seems to be a pretty common need. DART 3's improved storage layer makes these features much easier to implement. These artifacts will be searchable and discoverable through the UI.

@kieranjol
Copy link
Author

This is brilliant, I'll leave this open so.

@diamondap
Copy link
Member

Update: This feature won't make it into the existing DART, but it is now fully implemented in DART 3, which still has a ways to go before release. Here's what the jobs list looks like in DART3. You'll notice an Artifacts link for each job.

DART3-Jobs-List

If you click that, you'll see artifacts from each time this job was run listed in the left nav. Artifacts include manifests, tag files, and a JSON file describing what happened when the job ran. Click any file to view its contents. This shows the md5 manifest from the last run.

DART3-Job-Artifacts

@kieranjol
Copy link
Author

This is wonderful! I’m teaching a class on file transfer and fixity in University College Dublin on Thursday and I’ll show off these screenshots :)
Will there be a “save as” type button where these artefacts can be saved in a file that an archivist could store as evidence that the workflow and validation was carried out?

@diamondap
Copy link
Member

Yes. At the bottom of the artifact page is a Copy to Clipboard button so you can copy the file contents into a text file or wherever else you want. It was cut off in the other screenshot, but you can see it here.

DART3-Copy-Artifact

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

No branches or pull requests

2 participants