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

grafana: 11.2.0 -> 11.1.5 #340465

Closed
wants to merge 1 commit into from
Closed

Conversation

r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented Sep 8, 2024

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

meta.description for grafana is: Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB

meta.homepage for grafana is: https://grafana.com

Updates performed
  • Ran passthru.UpdateScript
To inspect upstream changes
Impact

Checks done


  • built on NixOS
  • The tests defined in passthru.tests, if any, passed
  • found 11.1.5 with grep in /nix/store/1iwlqha5iq7h3day28ziznn0pz55cray-grafana-11.1.5
  • found 11.1.5 in filename of file in /nix/store/1iwlqha5iq7h3day28ziznn0pz55cray-grafana-11.1.5

Rebuild report (if merged into master) (click to expand)
2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

grafana
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/1iwlqha5iq7h3day28ziznn0pz55cray-grafana-11.1.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A grafana https://github.com/r-ryantm/nixpkgs/archive/e3f64a1360f900ec71c658597c25f727e14305c4.tar.gz

Or:

nix build github:r-ryantm/nixpkgs/e3f64a1360f900ec71c658597c25f727e14305c4#grafana

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/1iwlqha5iq7h3day28ziznn0pz55cray-grafana-11.1.5
ls -la /nix/store/1iwlqha5iq7h3day28ziznn0pz55cray-grafana-11.1.5/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

Result of nixpkgs-review run on x86_64-linux 1

1 package built:
  • grafana

Maintainer pings

cc @offlinehacker @fpletz @WilliButz @globin @Ma27 @Frostman for testing.

Tip

As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.


Add a 👍 reaction to pull requests you find important.

@Ma27
Copy link
Member

Ma27 commented Sep 8, 2024

@rhendric I do the updates on my own regularly and the last three times the bot jumped was because it attempted a downgrade (nix-community/nixpkgs-update#398). Would it be possible to exclude Grafana?

I know in theory how to do it myself, but no idea if the prefixOf matches against the full drv name and in that case other packages would be affected as well.

@Ma27 Ma27 closed this Sep 8, 2024
@r-ryantm r-ryantm deleted the auto-update/grafana branch September 9, 2024 00:21
@rhendric
Copy link
Member

rhendric commented Sep 9, 2024

I think we should fix this in nix-update-script, not nixpkgs-update. Update scripts shouldn't be recommending downgrades.

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

Successfully merging this pull request may close these issues.

3 participants