Files could not be expanded: conflict in file _service

Dashboards and editors for Graphite, InfluxDB, OpenTSDB

Edit Package grafana
http://grafana.org/

A graph and dashboard builder for visualizing time series metrics.

Grafana provides ways to create, explore, and share
dashboards and data with teams.

Refresh
Refresh
Source Files

Sources could not be expanded: conflict in file _service

Show unmerged sources

Comments 5

Marius Kittler's avatar

Hi, considering SUSE employees are motivated to help maintaining orphaned packages I'd like to help maintaining this package. Of course this package isn't orphaned but it looks like there's still help needed, e.g. last time I had to update quite a big gab (https://build.opensuse.org/request/show/999209) and now the package is again one major version behind.

Am I correct that I should first update to the latest minor/patch version within the currently packaged major version to submit this to Leap first (and only then update to the current major release)?


Marius Kittler's avatar

Looks like the last two 8.x releases (https://github.com/grafana/grafana/releases/tag/v8.5.16 and https://github.com/grafana/grafana/releases/tag/v8.5.20) were just updating the Go version. Is it necessary to take note of these at all (considering we're using out own version of Go)? Supposedly these tags could also be left out in grafana.changes as they are not relevant for our packaging (and grafana.changes will likely get cluttered enough).


Marius Kittler's avatar

I went ahead and created an updated package: https://build.opensuse.org/package/show/home:mkittler:branches:server:monitoring/grafana

I'm going to submit it after testing it locally.


Marius Kittler's avatar

I would update this package but for me the yarn build fails:

# This file contains the result of Yarn building a package (esbuild@npm:0.18.12)
# Script name: postinstall


node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^
TypeError [Error]: [ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "file:///hdd/osc/home:mkittler:branches:server:monitoring/grafana/tmp.ZaCkiUwfW9/grafana-10.2.1/.yarn/unplugged/esbuild-npm-0.18.12-cca10dbb26/node_modules/esbuild/package.json" needs an import assertion of type "json"
    at load$1 (file:///hdd/osc/home:mkittler:branches:server:monitoring/grafana/tmp.ZaCkiUwfW9/grafana-10.2.1/.pnp.loader.mjs:1458:17)
    at nextLoad (node:internal/modules/esm/hooks:749:28)
    at Hooks.load (node:internal/modules/esm/hooks:382:26)
    at MessagePort.handleMessage (node:internal/modules/esm/worker:199:24)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:810:20)
    at exports.emitMessage (node:internal/per_context/messageport:23:28) {
  code: 'ERR_IMPORT_ASSERTION_TYPE_MISSING'
}

Node.js v21.1.0

Marius Kittler's avatar

The yarn build no longer fails for me with the current version. However, now the Go build fails and updating to the latest version doesn't change that. I suppose we need to wait until https://github.com/grafana/grafana/pull/82114 has been released.

openSUSE Build Service is sponsored by