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

CSCfi / metadata-submitter / 14172308686
72%
master: 68%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 31 Mar 2025 01:09PM UTC
Jobs 1
Files 39
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

31 Mar 2025 01:07PM UTC coverage: 72.716% (+1.0%) from 71.762%
14172308686

push

github

mradavi
Patch submission files and other minor fixes (merge commit)

Merge branch 'refactor/patch-files-for-submission' into 'main'
* Update OpenAPI specifications

Refactoring post/put files into submission to
patch requests required documentation updates.
At the same time I found some other things to improve
with the OpenAPI specs.

* Unify post and put submission files

In actuality it's a PATCH operation and having both
POST and PUT requests for altering the files list
in submission didn't seem reasonable anymore.

* Error when submission by the same name already exists

Previously you could create a submission with same exact name
and this didn't seem correct to me. So this just checks that
the same submission name doesn't appear in the same project.

* Fix some typos

* Refactor patch operations to submission

* Reduce deprecation warnings

Unit tests produce some warnings about the
datetime.utcnow() method being deprecated

* Simplify get_submission_field behavior slightly

Closes #828, #830, and #864
See merge request https://gitlab.ci.csc.fi/sds-dev/sd-submit/metadata-submitter/-/merge_requests/962

Approved-by: Hang Le <lhang@csc.fi>
Approved-by: Monika Radaviciute <mradavic@csc.fi>
Co-authored-by: Joonatan Mäkinen <joonatan.makinen@csc.fi>
Merged by Monika Radaviciute <mradavic@csc.fi>

47 of 51 new or added lines in 4 files covered. (92.16%)

1 existing line in 1 file now uncovered.

2929 of 4028 relevant lines covered (72.72%)

0.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
70.5
13.1% metadata_backend/api/handlers/submission.py
1
89.22
0.0% metadata_backend/api/operators/user.py
2
77.36
-1.39% metadata_backend/api/operators/file.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
89.81
3.65% metadata_backend/api/operators/submission.py
Jobs
ID Job ID Ran Files Coverage
1 14172308686.1 31 Mar 2025 01:09PM UTC 39
72.72
GitHub Action Run
Source Files on build 14172308686
  • Tree
  • List 39
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fe0e4703 on github
  • Prev Build on main (#13992556987)
  • Next Build on main (#14175338480)
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