Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package grafana for openSUSE:Factory checked in at 2022-02-07 23:38:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grafana (Old) and /work/SRC/openSUSE:Factory/.grafana.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grafana" Mon Feb 7 23:38:18 2022 rev:25 rq:952102 version:8.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/grafana/grafana.changes 2021-12-20 21:06:52.106959443 +0100 +++ /work/SRC/openSUSE:Factory/.grafana.new.1898/grafana.changes 2022-02-07 23:39:51.485718733 +0100 @@ -1,0 +2,1190 @@ +Thu Jan 20 14:01:12 UTC 2022 - witold.be...@suse.com + +- Update to Go 1.17. +- Add build-time dependency on `wire`. +- Update license to GNU Affero General Public License v3.0. + +- Update to version 8.3.4 (jsc#PM-3191) + + Security: + * GetUserInfo: return an error if no user was found + (bsc#1194873, CVE-2022-21673) + + Features and enhancements: + * Alerting: Allow configuration of non-ready alertmanagers. + * Alerting: Allow customization of Google chat message. + * AppPlugins: Support app plugins with only default nav. + * InfluxDB: query editor: skip fields in metadata queries. + * Postgres/MySQL/MSSQL: Cancel in-flight SQL query if user + cancels query in grafana. + * Prometheus: Forward oauth tokens after prometheus datasource + migration. + + Bug fixes: + * Azure Monitor: Bug fix for variable interpolations in metrics + dropdowns. + * Azure Monitor: Improved error messages for variable queries. + * CloudMonitoring: Fixes broken variable queries that use group + bys. + * Configuration: You can now see your expired API keys if you + have no active ones. + * Elasticsearch: Fix handling multiple datalinks for a single + field. + * Export: Fix error being thrown when exporting dashboards + using query variables that reference the default datasource. + * ImportDashboard: Fixes issue with importing dashboard and + name ending up in uid. + * Login: Page no longer overflows on mobile. + * Plugins: Set backend metadata property for core plugins. + * Prometheus: Fill missing steps with null values. + * Prometheus: Fix interpolation of $__rate_interval variable. + * Prometheus: Interpolate variables with curly brackets syntax. + * Prometheus: Respect the http-method data source setting. + * Table: Fixes issue with field config applied to wrong fields + when hiding columns. + * Toolkit: Fix bug with rootUrls not being properly parsed when + signing a private plugin. + * Variables: Fix so data source variables are added to adhoc + configuration. + + Plugin development fixes & changes: + * Toolkit: Revert build config so tslib is bundled with plugins + to prevent plugins from crashing. + +- Update to version 8.3.3: + + Features and enhancements: + * BarChart: Use new data error view component to show actions + in panel edit. + * CloudMonitor: Iterate over pageToken for resources. + * Macaron: Prevent WriteHeader invalid HTTP status code panic. + + Bug fixes: + * AnnoListPanel: Fix interpolation of variables in tags. + * CloudWatch: Allow queries to have no dimensions specified. + * CloudWatch: Fix broken queries for users migrating from + 8.2.4/8.2.5 to 8.3.0. + * CloudWatch: Make sure MatchExact flag gets the right value. + * Dashboards: Fix so that empty folders can be deleted from the + manage dashboards/folders page. + * InfluxDB: Improve handling of metadata query errors in + InfluxQL. + * Loki: Fix adding of ad hoc filters for queries with parser + and line_format expressions. + * Prometheus: Fix running of exemplar queries for non-histogram + metrics. + * Prometheus: Interpolate template variables in interval. + * StateTimeline: Fix toolitp not showing when for frames with + multiple fields. + * TraceView: Fix virtualized scrolling when trace view is + opened in right pane in Explore. + * Variables: Fix repeating panels for on time range changed + variables. + * Variables: Fix so queryparam option works for scoped + variables. + +- Update to version 8.3.2 + + Security: Fixes CVE-2021-43813 and CVE-2021-43815. + +- Update to version 8.3.1 + + Security: Fixes CVE-2021-43798. + +- Update to version 8.3.0 + + Features and enhancements: + * Alerting: Prevent folders from being deleted when they + contain alerts. + * Alerting: Show full preview value in tooltip. + * BarGauge: Limit title width when name is really long. + * CloudMonitoring: Avoid to escape regexps in filters. + * CloudWatch: Add support for AWS Metric Insights. + * TooltipPlugin: Remove other panels' shared tooltip in edit + panel. + * Visualizations: Limit y label width to 40% of visualization + width. + + Bug fixes: + * Alerting: Clear alerting rule evaluation errors after + intermittent failures. + * Alerting: Fix refresh on legacy Alert List panel. + * Dashboard: Fix queries for panels with non-integer widths. + * Explore: Fix url update inconsistency. + * Prometheus: Fix range variables interpolation for time ranges + smaller than 1 second. + * ValueMappings: Fixes issue with regex value mapping that only + sets color. + +- Update to version 8.3.0-beta2 + + Breaking changes: + * Grafana 8 Alerting enabled by default for installations that + do not use legacy alerting. + * Keep Last State for "If execution error or timeout" when + upgrading to Grafana 8 alerting. + + Features and enhancements: + * Alerting: Create DatasourceError alert if evaluation returns + error. + * Alerting: Make Unified Alerting enabled by default for those + who do not use legacy alerting. + * Alerting: Support mute timings configuration through the api + for the embedded alert manager. + * CloudWatch: Add missing AWS/Events metrics. + * Docs: Add easier to find deprecation notices to certain data + sources and to the changelog. + * Plugins Catalog: Enable install controls based on the + pluginAdminEnabled flag. + * Table: Add space between values for the DefaultCell and + JSONViewCell. + * Tracing: Make query editors available in dashboard for Tempo + and Zipkin. + + Bug fixes: + * AccessControl: Renamed orgs roles, removed fixed:orgs:reader + introduced in beta1. + * Azure Monitor: Add trap focus for modals in grafana/ui and + other small a11y fixes for Azure Monitor. + * CodeEditor: Prevent suggestions from being clipped. + * Dashboard: Fix cache timeout persistence. + * Datasource: Fix stable sort order of query responses. + * Explore: Fix error in query history when removing last item. + * Logs: Fix requesting of older logs when flipped order. + * Prometheus: Fix running of health check query based on access + mode. + * TextPanel: Fix suggestions for existing panels. + * Tracing: Fix incorrect indentations due to reoccurring + spanIDs. + * Tracing: Show start time of trace with milliseconds + precision. + * Variables: Make renamed or missing variable section + expandable. + + Plugin development fixes & changes: + * Select: Select menus now properly scroll during keyboard + navigation. + +- Update to version 8.3.0-beta1 + + Features and enhancements: + * Alerting: Add UI for contact point testing with custom + annotations and labels. + * Alerting: Make alert state indicator in panel header work + with Grafana 8 alerts. + * Alerting: Option for Discord notifier to use webhook name. + * Annotations: Deprecate AnnotationsSrv. + * Auth: Omit all base64 paddings in JWT tokens for the JWT + auth. + * Azure Monitor: Clean up fields when editing Metrics. + * AzureMonitor: Add new starter dashboards. + * AzureMonitor: Add starter dashboard for app monitoring with + Application Insights. + * Barchart/Time series: Allow x axis label. + * CLI: Improve error handling for installing plugins. + * CloudMonitoring: Migrate to use backend plugin SDK contracts. + * CloudWatch Logs: Add retry strategy for hitting max + concurrent queries. + * CloudWatch: Add AWS RoboMaker metrics and dimension. + * CloudWatch: Add AWS Transfer metrics and dimension. + * Dashboard: replace datasource name with a reference object. + * Dashboards: Show logs on time series when hovering. + * Elasticsearch: Add support for Elasticsearch 8.0 (Beta). + * Elasticsearch: Add time zone setting to Date Histogram + aggregation. + * Elasticsearch: Enable full range log volume histogram. + * Elasticsearch: Full range logs volume. + * Explore: Allow changing the graph type. + * Explore: Show ANSI colors when highlighting matched words in + the logs panel. + * Graph(old) panel: Listen to events from Time series panel. + * Import: Load gcom dashboards from URL. + * LibraryPanels: Improves export and import of library panels + between orgs. + * OAuth: Support PKCE. + * Panel edit: Overrides now highlight correctly when searching. + * PanelEdit: Display drag indicators on draggable sections. + * Plugins: Refactor Plugin Management. + * Prometheus: Add custom query parameters when creating + PromLink url. + * Prometheus: Remove limits on metrics, labels, and values in + Metrics Browser. + * StateTimeline: Share cursor with rest of the panels. ++++ 993 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/grafana/grafana.changes ++++ and /work/SRC/openSUSE:Factory/.grafana.new.1898/grafana.changes Old: ---- grafana-7.5.12.tar.gz New: ---- grafana-8.3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grafana.spec ++++++ --- /var/tmp/diff_new_pack.o4AuU8/_old 2022-02-07 23:39:52.397712493 +0100 +++ /var/tmp/diff_new_pack.o4AuU8/_new 2022-02-07 23:39:52.401712466 +0100 @@ -1,7 +1,7 @@ # # spec file for package grafana # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,10 +22,10 @@ %endif Name: grafana -Version: 7.5.12 +Version: 8.3.4 Release: 0 Summary: The open-source platform for monitoring and observability -License: Apache-2.0 +License: AGPL-3.0-only Group: System/Monitoring URL: http://grafana.org/ Source: %{name}-%{version}.tar.gz @@ -39,15 +39,13 @@ BuildRequires: fdupes BuildRequires: git-core BuildRequires: golang-packaging -BuildRequires: golang(API) >= 1.15 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: wire +BuildRequires: golang(API) >= 1.17 Requires(post): %fillup_prereq Requires: group(grafana) Requires: user(grafana) %systemd_ordering -%go_nostrip - # Exclude s390 on SLE12, since golang 1.14 itself is not built for this arch on SLE12 # See https://build.suse.de/package/view_file/SUSE:SLE-12:Update/go1.14/go1.14.spec?expand=1 %if 0%{?suse_version} == 1315 @@ -76,13 +74,12 @@ export BUILDFLAGS="-v -p 4 -x -buildmode=pie -mod=vendor" export GOPATH=%{_builddir}/go:%{_builddir}/contrib export GOBIN=%{_builddir}/go/bin +wire gen -tags 'oss' ./pkg/server ./pkg/cmd/grafana-cli/runner go install $BUILDFLAGS -ldflags '-X main.version=%{version}' $IMPORTPATH/pkg/cmd/... %install %goinstall -# we're missing %%gosrc and %%gofilelist... (although that *might* be ok...) - install -Dm644 {packaging/rpm/systemd/,%{buildroot}%{_unitdir}/}%{name}-server.service install -dm755 %{buildroot}%{_sbindir} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}-server ++++++ 0001-Add-source-code-reference.patch ++++++ --- /var/tmp/diff_new_pack.o4AuU8/_old 2022-02-07 23:39:52.421712329 +0100 +++ /var/tmp/diff_new_pack.o4AuU8/_new 2022-02-07 23:39:52.425712302 +0100 @@ -1,22 +1,23 @@ -From 4a0ab78a061ac25039f33a3f9b620ef0f8032d3a Mon Sep 17 00:00:00 2001 +From 6fb703952cbbdf7c0c2b629061db1e0aaae6f984 Mon Sep 17 00:00:00 2001 From: Witek Bedyk <witold.be...@suse.com> -Date: Thu, 16 Sep 2021 15:43:01 +0200 -Subject: [PATCH] Patch SLE15 source code +Date: Thu, 20 Jan 2022 15:16:54 +0100 +Subject: [PATCH] Add source code reference --- - public/app/core/components/Footer/Footer.tsx | 14 ++++++-------- - 1 file changed, 6 insertions(+), 8 deletions(-) + public/app/core/components/Footer/Footer.tsx | 15 ++++++--------- + 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/public/app/core/components/Footer/Footer.tsx b/public/app/core/components/Footer/Footer.tsx -index 5b7be702bd..4b4948c30e 100644 +index 9096de3910..8bed2ef5a2 100644 --- a/public/app/core/components/Footer/Footer.tsx +++ b/public/app/core/components/Footer/Footer.tsx -@@ -45,14 +45,12 @@ export let getVersionLinks = (): FooterLink[] => { +@@ -46,15 +46,12 @@ export let getVersionLinks = (): FooterLink[] => { links.push({ text: `v${buildInfo.version} (${buildInfo.commit})` }); - if (buildInfo.hasUpdate) { - links.push({ +- id: 'updateVersion', - text: `New version available!`, - icon: 'download-alt', - url: 'https://grafana.com/grafana/download?utm_source=grafana_footer', @@ -33,6 +34,6 @@ return links; }; -- -2.26.2 +2.31.1 ++++++ Makefile ++++++ --- /var/tmp/diff_new_pack.o4AuU8/_old 2022-02-07 23:39:52.445712165 +0100 +++ /var/tmp/diff_new_pack.o4AuU8/_new 2022-02-07 23:39:52.449712137 +0100 @@ -25,7 +25,7 @@ # Patches for the JS frontend go after here \ patch -p1 -i ../../0001-Add-source-code-reference.patch && \ # End patches section \ - yarn install --pure-lockfile && \ + yarn install --immutable && \ yarn run build && \ cd .. && \ echo "Updating $$basename/public in tarball..." && \ ++++++ _service ++++++ --- /var/tmp/diff_new_pack.o4AuU8/_old 2022-02-07 23:39:52.481711918 +0100 +++ /var/tmp/diff_new_pack.o4AuU8/_new 2022-02-07 23:39:52.481711918 +0100 @@ -5,7 +5,7 @@ <param name="exclude">.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> - <param name="revision">v7.5.12</param> + <param name="revision">v8.3.4</param> <param name="changesgenerate">enable</param> </service> <service name="recompress" mode="disabled"> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.o4AuU8/_old 2022-02-07 23:39:52.501711781 +0100 +++ /var/tmp/diff_new_pack.o4AuU8/_new 2022-02-07 23:39:52.505711755 +0100 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/grafana/grafana</param> - <param name="changesrevision">896df7435dfd03ce9f4665e7af8c07fc72743283</param> + <param name="changesrevision">a551d74b11dd89b512d642da5b620225a5d88cc9</param> </service> </servicedata> (No newline at EOF) ++++++ grafana-7.5.12.tar.gz -> grafana-8.3.4.tar.gz ++++++ /work/SRC/openSUSE:Factory/grafana/grafana-7.5.12.tar.gz /work/SRC/openSUSE:Factory/.grafana.new.1898/grafana-8.3.4.tar.gz differ: char 5, line 1 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/grafana/vendor.tar.gz /work/SRC/openSUSE:Factory/.grafana.new.1898/vendor.tar.gz differ: char 5, line 1