YangCatalog / backend

YANG Catalog's REST API and internal module processing pipeline
https://yangcatalog.org
Apache License 2.0
2 stars 11 forks source link

chore: remove logic for maintaining GitHub schema URLs #726

Closed richardzilincikPantheon closed 1 year ago

richardzilincikPantheon commented 1 year ago

YANG files are instead assumed to be hosted at YC.O

codecov[bot] commented 1 year ago

Codecov Report

Merging #726 (1492326) into develop (744ba67) will increase coverage by 0.17%. The diff coverage is 74.44%.

:exclamation: Current head 1492326 differs from pull request most recent head b1077a5. Consider uploading reports for the commit b1077a5 to get more accurate results

@@             Coverage Diff             @@
##           develop     #726      +/-   ##
===========================================
+ Coverage    77.82%   78.00%   +0.17%     
===========================================
  Files          115      114       -1     
  Lines        12566    12227     -339     
===========================================
- Hits          9780     9538     -242     
+ Misses        2786     2689      -97     
Impacted Files Coverage Δ
parseAndPopulate/groupings.py 68.66% <31.70%> (+0.33%) :arrow_up:
parseAndPopulate/resolvers/imports.py 90.32% <33.33%> (+42.70%) :arrow_up:
parseAndPopulate/modulesComplicatedAlgorithms.py 64.70% <72.50%> (+0.39%) :arrow_up:
parseAndPopulate/modules.py 84.48% <87.50%> (-0.92%) :arrow_down:
sandbox/save_yang_files.py 88.57% <88.57%> (ø)
...userSpecificModuleMaintenance/moduleMaintenance.py 92.11% <100.00%> (+0.18%) :arrow_up:
parseAndPopulate/parse_directory.py 98.92% <100.00%> (-0.03%) :arrow_down:
parseAndPopulate/resolvers/submodule.py 100.00% <100.00%> (+4.34%) :arrow_up:
tests/test_dumper.py 79.33% <100.00%> (-0.41%) :arrow_down:
tests/test_groupings.py 97.44% <100.00%> (-0.14%) :arrow_down:
... and 6 more
richardzilincikPantheon commented 1 year ago

This script replaces all the existing URLs in the redis database. https://gist.github.com/richardzilincikPantheon/0f9632a8bd848fb8a997dcc6dabb8dc0