Metrics dashboard and graph editor
| .fmf | ||
| plans | ||
| tests | ||
| .gitignore | ||
| 001-wrappers-grafana-cli.patch | ||
| 002-manpages.patch | ||
| 003-fix-dashboard-abspath-test.patch | ||
| 004-skip-x86-goldenfiles-tests.patch | ||
| 005-remove-unused-dependencies.patch | ||
| 006-fix-gtime-test-32bit.patch | ||
| 008-remove-unused-frontend-crypto.patch | ||
| 009-patch-unused-backend-crypto.vendor.patch | ||
| 010-fips.cond.patch | ||
| build_frontend.sh | ||
| distro-defaults.ini | ||
| gating.yaml | ||
| grafana.rpmlintrc | ||
| grafana.spec | ||
| list_bundled_nodejs_packages.py | ||
| Makefile | ||
| README.md | ||
| run_container_build.sh | ||
| sources | ||
grafana
The grafana package
Upgrade instructions
- update
Version,Release,%changelogand tarball NVRs in the specfile - create bundles and manifest:
make clean all - update specfile with contents of the
.manifestfile - check if the default configuration has changed:
diff grafana-X.Y.Z/conf/defaults.ini distro-defaults.iniand updatedistro-defaults.iniif necessary - update the manpages patch in
002-manpages.patchand 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
sourcesfile
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
.manifestfile
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
- compare the list of files with the upstream RPM at https://grafana.com/grafana/download