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

MITLibraries / interim-att
50%
main: 50%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/ruff-0.14.2
DEFAULT BRANCH: main
Repo Added 10 Jun 2025 12:42PM UTC
Token JQjGrtnUObzUHi0tywR1An2jKs1k4eOLJ regen
Build 56 Last
Files 4
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

LAST BUILD ON BRANCH v0.2
branch: v0.2
CHANGE BRANCH
x
Reset
Sync Branches
  • v0.2
  • IR-214
  • dependabot/pip/mypy-1.16.1
  • dependabot/pip/mypy-1.17.0
  • dependabot/pip/mypy-1.17.1
  • dependabot/pip/mypy-1.18.1
  • dependabot/pip/mypy-1.18.2
  • dependabot/pip/pandas-stubs-2.3.0.250703
  • dependabot/pip/pandas-stubs-2.3.2.250827
  • dependabot/pip/pandas-stubs-2.3.2.250926
  • dependabot/pip/pytest-8.4.1
  • dependabot/pip/pytest-8.4.2
  • dependabot/pip/requests-2.32.4
  • dependabot/pip/ruff-0.11.13
  • dependabot/pip/ruff-0.12.0
  • dependabot/pip/ruff-0.12.1
  • dependabot/pip/ruff-0.12.10
  • dependabot/pip/ruff-0.12.11
  • dependabot/pip/ruff-0.12.12
  • dependabot/pip/ruff-0.12.2
  • dependabot/pip/ruff-0.12.3
  • dependabot/pip/ruff-0.12.4
  • dependabot/pip/ruff-0.12.5
  • dependabot/pip/ruff-0.12.7
  • dependabot/pip/ruff-0.12.8
  • dependabot/pip/ruff-0.12.9
  • dependabot/pip/ruff-0.13.0
  • dependabot/pip/ruff-0.13.1
  • dependabot/pip/ruff-0.13.3
  • dependabot/pip/ruff-0.14.0
  • dependabot/pip/ruff-0.14.1
  • dependabot/pip/ruff-0.14.2
  • dependabot/pip/types-requests-2.32.4.20250611
  • dependabot/pip/urllib3-2.5.0
  • issue-9
  • main
  • renovate/configure
  • renovate/migrate-config
  • renovate2
  • v0.3

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

Relevant lines Covered
Build:
Build:
309 RELEVANT LINES 156 COVERED LINES
0.5 HITS PER LINE
Source Files on v0.2
  • Tree
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
15712683259 v0.2 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 testi... push 17 Jun 2025 04:19PM UTC web-flow github
50.49
See All Builds (56)

Badge your Repo: interim-att

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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

© 2025 Coveralls, Inc