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

MITLibraries / dspace-submission-composer / 16478744848
97%
main: 96%

Build:
Build:
LAST BUILD BRANCH: IN-1555-migrate-to-uv
DEFAULT BRANCH: main
Ran 23 Jul 2025 06:26PM UTC
Jobs 1
Files 21
Run time 39min
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

23 Jul 2025 06:19PM UTC coverage: 93.403% (-2.2%) from 95.572%
16478744848

push

github

jonavellecuerdo
Add CLI command to sync data between two locations

Why these changes are being introduced:
DSC supports submissions to both test and prod instances of MITL's
DSpace repositories. Deposits to test are performed in the Dev and
Stage environments, while deposits to prod are performed in the
Prod environment. The required data must be present in, or uploaded to,
the appropriate S3 buckets for each environment. This method
provides an easy way to sync the data between two S3 buckets
using the AWS CLI 'aws s3 sync' command.

How this addresses that need:
* Implement 'sync' CLI command
* Add script shortcut 'dsc-sync' to Pipfile
* Update Dockerfile to include install of AWS CLI (and its dependencies)

Side effects of this change:
* In the case of DSC workflows, the command will be used to sync data
from an S3 bucket to (an S3 bucket) in another AWS account. While the
implemented 'sync' DSC CLI command is quite simple, this relies on
configuring bucket policies and IAM Roles and policies to
enable cross-account data transfer.

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IN-1352

7 of 29 new or added lines in 1 file covered. (24.14%)

892 of 955 relevant lines covered (93.4%)

0.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
22
73.86
-24.44% dsc/cli.py
Jobs
ID Job ID Ran Files Coverage
1 16478744848.1 23 Jul 2025 06:26PM UTC 21
93.4
GitHub Action Run
Source Files on build 16478744848
  • Tree
  • List 21
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16478744848
  • 6f95fd5c on github
  • Prev Build on main (#16153609134)
  • Next Build on IN-1352-add-sync-cli-command (#16480519614)
  • 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