Bug 275525 - net-mgmt/icingaweb2-module-grafana: change upstream and take maintainership
Summary: net-mgmt/icingaweb2-module-grafana: change upstream and take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Lars Engels
URL: https://github.com/NETWAYS/icingaweb2...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-04 16:22 UTC by Denis Shaposhnikov
Modified: 2025-02-13 17:25 UTC (History)
3 users (show)

See Also:
dsh: maintainer-feedback-


Attachments
fix compatibility with php 8.2 (2.15 KB, patch)
2023-12-04 16:22 UTC, Denis Shaposhnikov
no flags Details | Diff
icingaweb2-module-grafana-3.0.1.patch (7.75 KB, patch)
2025-02-13 16:02 UTC, Denis Shaposhnikov
dsh: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Shaposhnikov 2023-12-04 16:22:01 UTC
Created attachment 246769 [details]
fix compatibility with php 8.2

Hi,

the grafana module is broken with php 8.2. See

https://github.com/Mikesch-mp/icingaweb2-module-grafana/issues/325
https://github.com/Mikesch-mp/icingaweb2-module-grafana/pull/320

I'm attaching a patch which fixes it from the GH issue and PR.
Comment 1 Denis Shaposhnikov 2024-06-21 12:57:55 UTC
Maintainer timeout
Comment 2 Jochen Neumeister freebsd_committer freebsd_triage 2024-09-13 14:50:38 UTC
Over to new maintainer.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2024-11-24 03:53:14 UTC
^Triage: canonicalize assignment.
Comment 4 Lars Engels freebsd_committer freebsd_triage 2025-02-13 14:51:54 UTC
FYI:

Upstream development moved to a fork by NETWAYS:

https://github.com/NETWAYS/icingaweb2-module-grafana

However https://github.com/NETWAYS/icingaweb2-module-grafana/blob/main/doc/02-installation.md still says PHP 8.1 is needed.
Comment 5 Denis Shaposhnikov 2025-02-13 16:02:36 UTC
Created attachment 257477 [details]
icingaweb2-module-grafana-3.0.1.patch
Comment 6 Denis Shaposhnikov 2025-02-13 16:03:34 UTC
(In reply to Lars Engels from comment #4)
> Upstream development moved to a fork by NETWAYS

Thanks. I replaced the patch. It works fine with php 8.3.
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-02-13 17:24:57 UTC
A commit in branch main references this bug:

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

commit 0ef06e4105808c37e8549aa864f71f31aab1d5d8
Author:     Denis Shaposhnikov <dsh@bamus.cz>
AuthorDate: 2025-02-13 16:57:06 +0000
Commit:     Lars Engels <lme@FreeBSD.org>
CommitDate: 2025-02-13 17:12:01 +0000

    net-mgmt/icingaweb2-module-grafana: Update to latest version

    - Update to 3.0.1 (compatible with PHP >= 8.1)
    - Switch to new upstream (now maintained by NETWAYS)
    - Pass maintainership to submitter

    PR:             275525
    Reported by:    Denis Shaposhnikov <dsh@bamus.cz>

 net-mgmt/icingaweb2-module-grafana/Makefile                    |  9 ++++-----
 net-mgmt/icingaweb2-module-grafana/distinfo                    |  6 +++---
 ...tch-application_controllers_IcingadbimgController.php (new) | 10 ++++++++++
 ...Grafana_ProvidedHook_Icingadb_HostDetailExtension.php (new) | 10 ++++++++++
 ...fana_ProvidedHook_Icingadb_ServiceDetailExtension.php (new) | 10 ++++++++++
 net-mgmt/icingaweb2-module-grafana/pkg-plist                   |  8 ++------
 6 files changed, 39 insertions(+), 14 deletions(-)
Comment 8 Lars Engels freebsd_committer freebsd_triage 2025-02-13 17:25:51 UTC
Committed. 

Thank you for volunteering as new maintainer!
Comment 9 Lars Engels freebsd_committer freebsd_triage 2025-02-13 17:25:55 UTC
Committed. 

Thank you for volunteering as new maintainer!