mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
2e19bc7074
Some terraform providers were moved to the `hashicorp` organization, some are still in the `terraform-providers` organization. GitHub doesn't show moved repositories when querying via the API (only on the web interface). In addition, if there are more than 100 results (there still are), we'd need to implement paging, which is cubersome in curl. In addition to that, to look up tags, we used to creating a HTTP request for each and every provider, which caused us to easily get blocked by GitHubs rate-limiting. Instead of all that, let's use `hub` (which implements paging) and the GitHub's GraphQL endpoint to get a list all repositories for a given organization AND the latest tag for each of them. We post-process the output with `jq`. This also removes the providers.txt and folds the data into the script. The blacklist was becoming too annoying to handle as a config file. For the whitelist, we still need to individually fetch tags. Fixes #83215 Co-Authored-By: zimbatm <zimbatm@zimbatm.com> |
||
---|---|---|
.. | ||
ansible | ||
elasticsearch | ||
gandi | ||
ibm | ||
libvirt | ||
lxd | ||
data.nix | ||
default.nix | ||
update-all |