• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MITLibraries / interim-att / 15712683259
50%
main: 50%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/urllib3-2.6.0
DEFAULT BRANCH: main
Ran 17 Jun 2025 04:19PM UTC
Jobs 1
Files 4
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Jun 2025 04:18PM UTC coverage: 50.485%. First build
15712683259

push

github

web-flow
Update create_nas_folder Method and Update Metadata Output

Why these changes are being introduced:

In the last PR, an issue was raised with the create_nas_folder returning a Boolean instead of raising exceptions in the method itself. Duing testing, Joe asked that the Dropbox-style SHA256 checksum be made available to the user running the script. We agreed that it was best if that metadata was just another line in the metadata JSON file that is saved to the folder on the NAS.

How this addresses that need:
* Update the `create_nas_folder()` method in the Archive class to return None by switching the return statements to raise statements instead
* Update the CLI commands that use this method to remove any Boolean references
* Update the tests for this method to look for exceptions instead of Boolean values
* Rename the static method that calculates the Dropbox-style SHA256 checksum on the file in the NAS (to make it more clear what that method is actually doing)
* Update the return value for the copy from Dropbox to NAS method to return a pair of strings (the timestamp and the content_hash metadata)
* Update the bulk_file_copy command to add the content_has metadata to the JSON file in the target

Resolves: #9 (GH issue)

Related Jira Tickets:
* https://mitlibraries.atlassian.net/browse/IR-217

9 of 25 new or added lines in 2 files covered. (36.0%)

156 of 309 relevant lines covered (50.49%)

0.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
16
44.94
att/cli.py
Jobs
ID Job ID Ran Files Coverage
1 15712683259.1 17 Jun 2025 04:19PM UTC 4
50.49
GitHub Action Run
Source Files on build 15712683259
  • Tree
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15712683259
  • 5b9260f6 on github
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc