nixpkgs/pkgs/applications/networking/cluster/terraform-providers
Florian Klink 2e19bc7074 terraform-providers: refactor
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>
2020-04-02 17:53:05 +02:00
..
ansible treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
elasticsearch Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin" 2020-03-27 07:33:21 +00:00
gandi treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ibm treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
libvirt terraform-libvirt: fix strict deps build 2020-03-23 08:16:46 +00:00
lxd terraform-providers.lxd: init at 1.3.0 2020-03-19 00:10:04 +01:00
data.nix Updated the terraform providers 2020-01-23 10:34:48 -08:00
default.nix Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin" 2020-03-27 07:33:21 +00:00
update-all terraform-providers: refactor 2020-04-02 17:53:05 +02:00