[ ] This PR addresses an already opened issue (for bug fixes / features)
This PR fixes #xyz
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] (If applicable) Documentation has been added / updated (for bug fixes / features)
[x] CHANGELOG.rst has been updated (with summary of main changes)
[x] Link to issue (:issue:number) and pull request (:pull:number) has been added
What kind of change does this PR introduce?
Overloads the fetch() method of nimbus() to add a UserAgent, thus preventing requests from ReadTheDocs from being forbidden by GitHub.
Fixes up the logic for fetching the registry.txt files and testing data from non-Ouranosinc/xclim-testdata repositories that follow the same conventions (forks, xhydro-testdata, etc.).
Does this PR introduce a breaking change?
Not really. The fetch calls have been modified and the registry files for non-Ouranosinc/xclim-testdata files are now saved to the testing folder with the following convention: registry.{repo-name}.{branch-name}.txt.
Pull Request Checklist:
number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
fetch()
method ofnimbus()
to add aUserAgent
, thus preventing requests from ReadTheDocs from being forbidden by GitHub.registry.txt
files and testing data from non-Ouranosinc/xclim-testdata
repositories that follow the same conventions (forks,xhydro-testdata
, etc.).Does this PR introduce a breaking change?
Not really. The
fetch
calls have been modified and the registry files for non-Ouranosinc/xclim-testdata
files are now saved to the testing folder with the following convention:registry.{repo-name}.{branch-name}.txt
.Other information:
https://github.com/readthedocs/readthedocs.org/issues/11763