Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67278 - [grafana] Move configuration in subdirectory

Attached to Project: Community Packages
Opened by Éric (gileri) - Tuesday, 14 July 2020, 13:48 GMT
Last edited by freswa (frederik) - Tuesday, 14 July 2020, 18:26 GMT
Task Type Feature Request
Category Packages
Status Assigned
Assigned To Jelle van der Waa (jelly)
Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Since at least 2015 upstream deb|rpm packages use /etc/grafana as a configuration directory instead of placing grafana.ini directly in /etc/ [1]
Since at least 2017 using a folder is relevant as it hosts provisioning in addition to the grafana config [2]

I propose the attached patch to:

1. Place grafana.ini in /etc/grafana/
2. Install in package the provisioning skeletons
3. Move /etc/grafana.ini to /etc/grafana/grafana.ini

That way we are closer to upstream and other distributions.

[1] https://github.com/grafana/grafana/commit/4c6d7630cd398c95b85e6c2f8c9d30d881c10afb#diff-ad598638c92a28d5d7ffdaba305d92b2
[2] https://github.com/grafana/grafana/commit/5d49846e1d81008a795cb2f5b2fd1bf0ab81ec81#diff-dbd9cb7d903817ba9cc81e845e44fd9d
This task depends upon

Loading...