94df28375b
- Update to version 7.5.11: * Fix certs issue (#40002) * Release v7.5.11 (#124) * Fix static path matching issue in macaron * OAuth: add docs for disableAutoLogin param (#38752) (#38894) * Fix #747; remove 'other variables'. (#37866) (#37878) * Update alert docs (#33658) (#33659) * [7.5.x] Docs: added documentation for the "prepare time series"-transformation. (#36836) * cherry picked dc5778c303ca555b70e8ca8c28e95997e26ecfc1 (#36813) * "Release: Updated versions in package to 7.5.10" (#36792) * [v7.5.x] Transformations: add 'prepare time series' transformer (#36749) * Remove verify-drone from windows (#36775) * Update queries.md (#31941) (#36764) * Updated content to specify method to use to get keyboard shortcuts wh… (#36084) (#36087) * ReleaseNotes: Updated changelog and release notes for 7.5.9 (#36057) (#36077) * "Release: Updated versions in package to 7.5.9" (#36056) * Login: Fixes Unauthorized message showing when on login page or snapshot page (#35311) (#35880) * ReleaseNotes: Updated changelog and release notes for 7.5.8 (#35703) (#35822) * CI: Upgrade pipeline tool to use main (#35804) * CI: try to force v7.5.x instead of master (#35799) * CI: supports move from master to main in 7.5.x release branch (#35747) * "Release: Updated versions in package to 7.5.8" (#35701) * Chore: Bump acorn and lodash-es (#35650) * Snapshots: Remove dashboard links from snapshots (#35567) (#35585) * [v7.5.x] Datasource: Allow configuring `MaxConnsPerHost` (#35519) * Remove docs sync from v7.5.x (#35443) * "Release: Updated versions in package to 7.5.7" (#35412) * Add max_idle_connections_per_host to config (#35365) * Update go.sum to fix failing enterprise pipeline (#35353) * [v7.5.x] HTTP Client: Introduce `go-conntrack` (#35321) (forwarded request 932046 from oertel) OBS-URL: https://build.opensuse.org/request/show/932047 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grafana?expand=0&rev=21 |
||
---|---|---|
_service | ||
_servicedata | ||
.gitattributes | ||
.gitignore | ||
0001-Add-source-code-reference.patch | ||
grafana-7.5.11.tar.gz | ||
grafana-rpmlintrc | ||
grafana.changes | ||
grafana.spec | ||
Makefile | ||
README | ||
vendor.tar.gz |
The tarball is generated via the OBS source service, but Grafana needs to ship the compiled frontend assets as well, which have to be built by running yarn inside the source tree (see https://github.com/grafana/grafana/blob/master/contribute/developer-guide.md#frontend). This can't be done at build time on OBS, because it involves downloading and installing packages from the internet, so instead we have a Makefile which does the following: - Runs `osc service disabledrun` to get the latest source tarball - Unpacks the tarball to a temporary directory - Runs `yarn install --pure-lockfile && yarn build` - Adds the generated "vendor" and "public" content to the tarball, then compresses it with xz. - The tarball can then be used by OBS to build an RPM. In order for this to work you need to have npm >= 14 and yarn installed. # zypper in npm14 # zypper in obs-service-download_files obs-service-go_modules \ obs-service-obs_scm # npm install -g yarn Then, to package a new release of Grafana, run `make` then `osc ci` and you should be good. If you have a patch for the Javascript frontend to apply you need to do the following: - Create the patch and add it with `osc add <PATCH>` to the repo - Open the Makefile - Add after the `cd $$basename && \` the patch with: `patch -p1 < ../../000x-<NAME>.patch && \` - Do NOT add the patch to the Specfile. - Then use the process of building Grafana as described above. Please direct any questions to Tim Serong <tserong@suse.com> If Tim is not available you may also contact Enno Gotthold <egotthold@suse.de>