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

HEPData / hepdata / 1134
83%

Build:
DEFAULT BRANCH: master
Ran 06 Aug 2020 09:48AM UTC
Jobs 1
Files 66
Run time 15s
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

pending completion
1134

push

travis-ci

web-flow
Feature record update (#226)

* new_inspire_api initial commit

* Added switch in inspire_api to choose to try the new one without moving/renaming files. Update logic for some fields in new api. Started comparison test between new and old, including check for non exact match of strings.

* Improvements to new inspire api, expanded comparison test with old one.

* Moved inspire_api to old_inspire_api, inspire_api now is just a switch between old and new. Minor changes to tests

* Fixed submission test with new inspire api (added empty default for non-existing record). Status is set to 'success' as in old version, but this is a bit misleading.

* Modified keyword field in inspire information dictionary, all tests pass! Added comments in inspire_api_comparison_test

* inspire_api/view switch module

* Improvements to new_inspire_api, added script/extended_inspire_api_comparison_test, to compare the two api's over hundreds of records.

* Further tweaks to new inspire api and tests

* Resolved issue 197

* Slight tweaks to new_inspire_api to match more cases exactly to the old one.

* More tweaks to new inspire api

* Further adjustments

* Updated record_mapping (fixed typo); updated new_inspire_api/views.

* New function (for the moment in scripts) to get inspire ids of all records updated since a specific date, given as YYYY-MM-DD, or on a specific day given as number of days since today (-1 = yesterday, and so on)

* Trying to update record with dictionary obtained by new inspire api (needs debugging)

* Update of record can be done with 'hepdata update-record-info -i INSPIRE_ID'

* Added check for finished status for some operations during record update

* Allow updated of not yet finalised submissions by specifying an HEPData recid in addition to the Inspire ID. In practice this seems to be usable also to re-initialise a submission with a different inspire ID

* Moved record update related function into modules/r... (continued)

106 of 106 new or added lines in 8 files covered. (100.0%)

2438 of 2990 relevant lines covered (81.54%)

0.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
100.0
hepdata/modules/records/utils/records_update_utils.py
Jobs
ID Job ID Ran Files Coverage
1 1134.1 06 Aug 2020 09:48AM UTC 0
81.54
Travis Job 1134.1
Source Files on build 1134
  • Tree
  • List 66
  • Changed 8
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1134
  • 22ad83af on github
  • Prev Build on master (#1112)
  • Next Build on master (#1138)
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