The URLs currently point to the GitHub repository from which the specific module was retrieved.
We keep a copy of every module's text on our server and could serve them ourselves at URLs like https://yangcatalog.org/all_modules/yang-catalog@2018-04-03.yang, which would allow us to remove complex code that currently manages the GitHub URLs. We would also be able to keep serving a module if it’s GitHub repo is deleted.
We keep a URL to a copy of every module's text.
Example: https://yangcatalog.org/yang-search/module_details/yang-catalog, the URL is https://raw.githubusercontent.com/YangModels/yang/39c9ea61985fc8efdf90db25b58118cac2bf1533/experimental/ietf-extracted-YANG-modules/yang-catalog@2018-04-03.yang.
The URLs currently point to the GitHub repository from which the specific module was retrieved.
We keep a copy of every module's text on our server and could serve them ourselves at URLs like https://yangcatalog.org/all_modules/yang-catalog@2018-04-03.yang, which would allow us to remove complex code that currently manages the GitHub URLs. We would also be able to keep serving a module if it’s GitHub repo is deleted.