Metrics dashboard and graph editor
Go to file
Troy Dawson d85849279e RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/grafana#07f640b8f32493c9cd709a5ca63a491d5e919f64
2020-11-16 14:57:05 -08:00
.gitignore RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
001-wrappers-grafana-cli.patch RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
002-manpages.patch RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
003-remove-dashboard-abspath-test.patch RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
004-skip-x86-goldenfiles-tests.patch RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
build_frontend.sh RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
distro-defaults.ini RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
grafana.rpmlintrc RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
grafana.spec RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
list_bundled_nodejs_packages.py RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
Makefile RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
README.md RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
run_container_build.sh RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00
sources RHEL 9.0.0 Alpha bootstrap 2020-11-16 14:57:05 -08:00

grafana

The grafana package

Upgrade instructions

(replace X.Y.Z with the new Grafana version)

  • update Version and %changelog in the specfile
  • create bundles and manifests: VER=X.Y.Z make clean all
  • update specfile with contents of the *.manifest files
  • check if the default configuration has changed: diff grafana-X.Y.Z/conf/defaults.ini distro-defaults.ini and update distro-defaults.ini if necessary
  • run local build: rpkg local
  • run rpm linter: rpkg lint -r grafana.rpmlintrc
  • run local builds with different OS versions: ./run_container_build.sh fedora-version
  • run a scratch build: fedpkg scratch-build --srpm
  • upload new source tarballs: fedpkg new-sources *.tar.gz

Backporting

  • create the patch
  • declare and apply (%prep) the patch in the specfile
  • if the patch affects Go or Node.js dependencies, or the webpack
    • create new tarballs and rename them to grafana-...-X.Y.Z-R.tar.gz
    • update the specfile

Note: the Makefile automatically applies all patches before creating the tarballs