Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to graphql for nixpkgs-update-fetch-github #1693

Open
zowoq opened this issue Feb 1, 2025 · 1 comment
Open

switch to graphql for nixpkgs-update-fetch-github #1693

zowoq opened this issue Feb 1, 2025 · 1 comment

Comments

@zowoq
Copy link
Contributor

zowoq commented Feb 1, 2025

Current rest api takes a couple of hours to complete a run, even with a token to increase the rate limits.

There is some graphql discussion and examples in the upstream repo: nix-community/nixpkgs-update-github-releases#5.

systemd.services.nixpkgs-update-fetch-github = mkFetcher "github" "${inputs.nixpkgs-update-github-releases}/main.py";

@zowoq
Copy link
Contributor Author

zowoq commented Mar 12, 2025

nix-community/nixpkgs-update-github-releases@6cefc97

The github update data is basically redundant for python3 packages as they use their own updateScript, not fetching that data is roughly a 1/3 improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant