1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs
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
..
applications terraform-providers: refactor 2020-04-02 17:53:05 +02:00
build-support skawarePackages: support static builds via pkgsStatic 2020-03-30 01:35:39 +02:00
common-updater
data numix-icon-theme: 19.09.20 -> 20.03.20 2020-03-30 05:50:39 +00:00
desktops Merge pull request #83684 from romildo/fix.xfce4-hardware-monitor-plugin 2020-03-29 13:08:04 -04:00
development Merge pull request #83727 from marsam/update-pgformatter 2020-03-30 05:51:56 -05:00
games Merge pull request #83706 from 7c6f434c/pingus-fix 2020-03-29 20:03:49 +00:00
misc Merge pull request #83638 from veprbl/pr/higan_darwin_fix 2020-03-29 06:42:33 +01:00
os-specific Merge pull request #83128 from michojel/ffado-2.4.2 2020-03-29 23:19:17 -04:00
servers Merge pull request #83750 from r-ryantm/auto-update/mpd 2020-03-30 12:25:17 +02:00
shells Merge pull request #83397 from marsam/update-xonsh 2020-03-28 14:43:26 +01:00
stdenv armv{5tel,6l,7l}: bootstrap-files: quote URLs for rfc-45 2020-03-16 19:04:39 -04:00
test
tools Merge pull request #83729 from marsam/update-fluent-bit 2020-03-30 05:52:21 -05:00
top-level Merge pull request #83128 from michojel/ffado-2.4.2 2020-03-29 23:19:17 -04:00