grafana/README.md
DistroBaker 69a6f71052 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/grafana.git#8b048a5bf5e5e75dc52ea4411b0605c55a171ceb
2020-12-21 19:37:43 +00:00

1.1 KiB

grafana

The grafana package

Upgrade instructions

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

  • update Version, Release and %changelog in the specfile
  • create bundles and manifest: VER=X.Y.Z make clean all
  • update specfile with contents of the .manifest file
  • 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 *.tar.xz

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 with new tarball path and contents of the .manifest file

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