Bug 264959 - [NEW PORT] www/grafana9: Dashboard and graph editor for multiple data stores
Summary: [NEW PORT] www/grafana9: Dashboard and graph editor for multiple data stores
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitri Goutnik
URL: https://grafana.com/docs/grafana/late...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-30 08:16 UTC by Boris Korzun
Modified: 2022-06-30 13:19 UTC (History)
2 users (show)

See Also:


Attachments
grafana9.patch (404.38 KB, patch)
2022-06-30 08:16 UTC, Boris Korzun
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Korzun 2022-06-30 08:16:23 UTC
Created attachment 234999 [details]
grafana9.patch

I've prepared grafana9 port. Switched it to GO_MODULE.
But I couldn't prebuild a wire utility in the port with GO_MODULE using.
I've moved a wire utility to a separate port (devel/go-wire) for prebuilding it.
Can anybody review/help with it?

Changelog:
* https://github.com/grafana/grafana/releases/tag/v9.0.0
* https://github.com/grafana/grafana/releases/tag/v9.0.1
* https://github.com/grafana/grafana/releases/tag/v9.0.2
Comment 1 Dmitri Goutnik freebsd_committer freebsd_triage 2022-06-30 12:34:31 UTC
LGTM, thanks. Given that google/wire is a separate utility, it makes sense to have it as a separate port.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-06-30 13:19:12 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f7db38fe17b80f39aa195d7c1419305f5f594d5b

commit f7db38fe17b80f39aa195d7c1419305f5f594d5b
Author:     Boris Korzun <drtr0jan@yandex.ru>
AuthorDate: 2022-06-30 13:16:17 +0000
Commit:     Dmitri Goutnik <dmgk@FreeBSD.org>
CommitDate: 2022-06-30 13:16:17 +0000

    www/grafana9: Add new port

    Grafana is an open source and composable observability and data
    visualization platform. Visualize metrics, logs, and traces from
    multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB,
    Postgres and many more.

    WWW: https://github.com/grafana/grafana

    PR:             264959

 www/Makefile                        |    1 +
 www/grafana9/Makefile (new)         |  104 +
 www/grafana9/distinfo (new)         |    7 +
 www/grafana9/files/grafana.in (new) |   77 +
 www/grafana9/pkg-descr (new)        |    5 +
 www/grafana9/pkg-message (new)      |   11 +
 www/grafana9/pkg-plist (new)        | 6011 +++++++++++++++++++++++++++++++++++
 7 files changed, 6216 insertions(+)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-06-30 13:19:13 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=20b08e780feadd1faaa43b1de4d4c3e657b4df75

commit 20b08e780feadd1faaa43b1de4d4c3e657b4df75
Author:     Boris Korzun <drtr0jan@yandex.ru>
AuthorDate: 2022-06-30 12:44:48 +0000
Commit:     Dmitri Goutnik <dmgk@FreeBSD.org>
CommitDate: 2022-06-30 12:44:48 +0000

    devel/go-wire: Add new port

    Wire is a code generation tool that automates connecting components
    using dependency injection. Dependencies between components are
    represented in Wire as function parameters, encouraging explicit
    initialization instead of global variables. Because Wire operates
    without runtime state or reflection, code written to be used with Wire
    is useful even for hand-written initialization.

    WWW: https://github.com/google/wire

    PR:             264959

 devel/Makefile                |  1 +
 devel/go-wire/Makefile (new)  | 20 ++++++++++++++++++++
 devel/go-wire/distinfo (new)  |  5 +++++
 devel/go-wire/pkg-descr (new) |  7 +++++++
 4 files changed, 33 insertions(+)
Comment 4 Dmitri Goutnik freebsd_committer freebsd_triage 2022-06-30 13:19:53 UTC
Committed, thanks!