grafana/README.md

17 lines
1.1 KiB
Markdown
Raw Normal View History

2019-04-29 12:46:34 +00:00
# grafana
The grafana package
2019-04-29 12:46:34 +00:00
## Upgrade instructions
(replace X.Y.Z with the new Grafana version)
2020-04-28 12:01:56 +00:00
* update `Version` and `%changelog` in the specfile
* download source tarball and create webpack: `./make_grafana_webpack.sh X.Y.Z`
* update golang buildrequires: `./scripts/list_go_buildrequires.sh grafana-X.Y.Z` and replace the old golang `BuildRequires:` with the new ones
* update nodejs provides: `./scripts/list_bundled_nodejs_packages.py grafana-X.Y.Z` and replace the old nodejs `Provides:` with the new ones
* 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
* install all new golang build dependencies: `sudo dnf builddep grafana.spec` and create packages for missing dependencies
* run local build: `rpkg local`, and if any patches fail, update them accordingly
* run rpm linter: `rpkg lint`
* run local builds with different OS versions: `./scripts/run_container_build.sh version` (place not yet published dependencies in the `deps/` directory)
* run a scratch build: `fedpkg scratch-build --srpm`