Metrics dashboard and graph editor
Go to file
2021-09-30 18:08:19 +02:00
.fmf Initial set of gating tests for grafana on Fedora 2021-02-03 19:58:40 +01:00
plans Initial set of gating tests for grafana on Fedora 2021-02-03 19:58:40 +01:00
tests Initial set of gating tests for grafana on Fedora 2021-02-03 19:58:40 +01:00
.gitignore update to upstream version 7.5.10 2021-09-30 17:08:41 +02:00
001-wrappers-grafana-cli.patch update to upstream version 7.5.8 2021-06-18 16:23:45 +02:00
002-manpages.patch update to upstream version 7.5.10 2021-09-30 17:08:41 +02:00
003-fix-dashboard-abspath-test.patch update to upstream version 7.5.7 2021-05-25 17:56:00 +02:00
004-skip-x86-goldenfiles-tests.patch update goldenfiles patch, call t.Skip in verifyGoldenResponse instead of executeMockedQuery 2021-05-25 18:04:24 +02:00
005-remove-unused-dependencies.patch update to upstream version 7.5.8 2021-06-18 16:23:45 +02:00
006-fix-gtime-test-32bit.patch update to upstream version 7.5.7 2021-05-25 17:56:00 +02:00
008-remove-unused-frontend-crypto.patch update to upstream version 7.5.8 2021-06-18 16:23:45 +02:00
009-patch-unused-backend-crypto.vendor.patch update to upstream version 7.5.10 2021-09-30 17:08:41 +02:00
010-fips.cond.patch update to upstream version 7.5.10 2021-09-30 17:08:41 +02:00
build_frontend.sh update to upstream version 7.5.7 2021-05-25 17:56:00 +02:00
distro-defaults.ini update to upstream version 7.5.8 2021-06-18 16:23:45 +02:00
gating.yaml Initial set of gating tests for grafana on Fedora 2021-02-03 19:58:40 +01:00
grafana.rpmlintrc update to upstream version 7.3.4 2020-11-25 18:55:36 +01:00
grafana.spec define gobuild and gotest macros in case they are not available 2021-09-30 18:08:19 +02:00
list_bundled_nodejs_packages.py remove unused crypto, use OpenSSL if FIPS mode is enabled 2021-06-11 12:44:26 +02:00
Makefile update to upstream version 7.5.10 2021-09-30 17:08:41 +02:00
README.md update to upstream version 7.5.10 2021-09-30 17:08:41 +02:00
run_container_build.sh update to upstream version 7.1.1 2020-07-30 18:09:47 +02:00
sources update to upstream version 7.5.10 2021-09-30 17:08:41 +02:00

grafana

The grafana package

Upgrade instructions

  • update Version, Release, %changelog and tarball NVRs in the specfile
  • create bundles and manifest: 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
  • update the manpages patch in 002-manpages.patch and other patches if required
  • 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
  • commit new sources file

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

Note: the Makefile automatically applies patches before creating the tarballs

Patches

  • *.patch: regular patches applied to the source, applied in the Makefile before vendoring and in the specfile (e.g. updating dependencies)
  • *.vendor.patch: patches applied to the vendor tarball (e.g. patching vendored sources before generating a webpack)
  • *.cond.patch: conditionally applied patches in the specfile

Verification