Bug 255138 - net-mgmt/netdata: Add package message
Summary: net-mgmt/netdata: Add package message
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Daniel Engberg
URL: https://cgit.freebsd.org/ports/tree/n...
Keywords: easy, needs-patch
Depends on:
Blocks:
 
Reported: 2021-04-17 01:20 UTC by Graham Perrin
Modified: 2021-09-20 06:33 UTC (History)
1 user (show)

See Also:
koobs: merge-quarterly?


Attachments
Quick start for local-only use (396 bytes, patch)
2021-04-25 19:40 UTC, Graham Perrin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2021-04-17 01:20:09 UTC
The package will benefit from a post-installation message. 

Food for thought: 


[
{ type: install
  message: <<EOM
## Quick start

1. sysrc netdata_enable="YES"
2. service netdata start
3. <http://localhost:19999/>
EOM
}
]


Thanks
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2021-04-21 04:38:27 UTC
@Graham Can you attach a patch such that it can be approved
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2021-04-21 05:05:51 UTC
What should I name the file? 

I haven't worked with patch files in years, but I'll try.
Comment 5 Graham Perrin freebsd_committer freebsd_triage 2021-04-21 07:31:42 UTC
Thanks, 

<https://docs.freebsd.org/en/books/porters-handbook/pkg-files/#porting-message> for the more recent edition …
Comment 6 Graham Perrin freebsd_committer freebsd_triage 2021-04-21 07:37:37 UTC
Something like this? 

<https://cgit.freebsd.org/ports/diff/sysutils/ipfs-go/pkg-message?id=713c35324e0f47fd679a27aafad96645a431e550>

(This is all very alien to me. I'm more accustomed to doing things in GitHub or GitLab.)
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2021-04-21 07:57:47 UTC
This was discussed at some point (I don't recall when or where) and deemed unnecessary as it is implied being a daemon. That said, I'm not a maintainer :-)
Comment 8 Graham Perrin freebsd_committer freebsd_triage 2021-04-25 19:40:52 UTC
Created attachment 224428 [details]
Quick start for local-only use
Comment 9 commit-hook freebsd_committer freebsd_triage 2021-09-20 06:31:50 UTC
A commit in branch main references this bug:

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

commit 1e5698e7736f71b17c1130ba713f2f286b528510
Author:     Graham Perrin <grahamperrin@gmail.com>
AuthorDate: 2021-09-20 06:30:23 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2021-09-20 06:30:27 +0000

    ports/net-mgmt: Add install message

    PR:             255138
    Approved by:    arrowd
    Differential Revision:  https://reviews.freebsd.org/D31978

 net-mgmt/netdata/pkg-message (new) | 11 +++++++++++
 1 file changed, 11 insertions(+)
Comment 10 Daniel Engberg freebsd_committer freebsd_triage 2021-09-20 06:33:53 UTC
Committed with some minor changes, thanks!