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

Pushing HTML files into YangModels/yang #707

Closed richardzilincikPantheon closed 1 year ago

richardzilincikPantheon commented 1 year ago

https://github.com/YangModels/yang/pull/1356/files#diff-5392424194f980e1cdad7a1a733957a020e06bdd949d81dc9244d88f0bbadfc5

The backend seems to somehow be pushing YC HTML files to this repo and overwriting yang files.

bskqd commented 1 year ago

I close this issue as a duplicate of this one: https://github.com/YangCatalog/backend/issues/698 The problem itself was in this function: https://github.com/YangCatalog/backend/blob/develop/ietfYangDraftPull/draftPullUtility.py#L167 it gets html in response if the module isn’t in our files yet

richardzilincikPantheon commented 1 year ago

Oh yeah, sorry, missed that.