VForWaTer / metacatalog

Modular metadata management platform for environmental data.
https://vforwater.github.io/metacatalog
GNU General Public License v3.0
4 stars 1 forks source link

license dl-by-de/2.0 added + database revision #184

Closed AlexDo1 closed 2 years ago

AlexDo1 commented 2 years ago

License dl-by-de/2.0 (Data licence Germany – attribution – version 2.0) added, including a database revision for the new license.

We could also hardcode id=10 here for the new license, but that would make the UPGRADE_SQL statement incompatible with database instances where a new license (with id 10) has already been added previously (which is unlikely to be the case). As it is currently solved, the new license gets automatically assigned id 10001 during database UPGRADE: https://github.com/VForWaTer/metacatalog/blob/0a4c0f23605aa7a2a1d98f3f68a0d04c441ffa40/metacatalog/db/revisions/rev9.py#L14-L19

codecov[bot] commented 2 years ago

Codecov Report

Merging #184 (69fd366) into master (75a4757) will decrease coverage by 0.04%. The diff coverage is 53.84%.

@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
- Coverage   62.67%   62.62%   -0.05%     
==========================================
  Files          68       69       +1     
  Lines        3255     3267      +12     
==========================================
+ Hits         2040     2046       +6     
- Misses       1215     1221       +6     
Flag Coverage Δ
e2e 62.62% <53.84%> (-0.05%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
metacatalog/db/revisions/__init__.py 100.00% <ø> (ø)
metacatalog/db/revisions/rev9.py 50.00% <50.00%> (ø)
metacatalog/__version__.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.