Performance Co-Pilot Grafana Plugin
Go to file
2022-06-18 12:09:12 +02:00
.fmf Initial set of gating tests for grafana-pcp on Fedora 2021-02-03 21:00:35 +01:00
plans Initial set of gating tests for grafana-pcp on Fedora 2021-02-03 21:00:35 +01:00
tests Fix of test case ownership 2021-02-03 21:05:11 +01:00
.gitignore update to upstream 3.2.0 2021-11-12 16:21:30 +01:00
001-remove-unused-frontend-crypto.patch update to upstream 3.2.0 2021-11-12 16:21:30 +01:00
build_frontend.sh update to upstream 3.2.0 2021-11-12 16:21:30 +01:00
gating.yaml Initial set of gating tests for grafana-pcp on Fedora 2021-02-03 21:00:35 +01:00
grafana-pcp.rpmlintrc update to upstream 3.1.0 2021-06-25 18:05:09 +02:00
grafana-pcp.spec Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 2022-06-18 12:09:12 +02:00
list_bundled_nodejs_packages.py update to upstream 3.1.0 2021-06-25 18:05:09 +02:00
Makefile update to upstream 3.2.0 2021-11-12 16:21:30 +01:00
README.md update to upstream 3.2.0 2021-11-12 16:21:30 +01:00
sources add sources file 2021-11-12 17:02:34 +01:00

grafana-pcp

The grafana-pcp 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
  • run local build: rpkg local
  • run rpm linter: rpkg lint -r *.rpmlintrc
  • run a scratch build: fedpkg scratch-build --srpm
  • upload new source tarballs: fedpkg new-sources *.tar.gz *.tar.xz
  • commit new sources file

Patches

  • create the patch
  • declare and apply (%prep) the patch in the specfile
  • if the patch affects Go or Node.js dependencies, or the webpack
    • add the patch to PATCHES_PRE_VENDOR or PATCHES_PRE_WEBPACK in the Makefile
    • create new tarballs
    • update the specfile with new tarball name and contents of the .manifest file

General guidelines

  • aim to apply all patches in the specfile
  • avoid rebuilding the tarballs

Patches fall in several categories:

  • modify dependency versions
  • modify both sources and vendored dependencies (e.g. CVEs)
  • modify the Node.js source (i.e. affect the webpack)
  • some patches are conditional (e.g. FIPS)

Patches cannot be applied twice. It is not possible to unconditionally apply all patches in the Makefile, and great care must be taken to include the required patches at the correct stage of the build.