Bug 255138

Summary: net-mgmt/netdata: Add package message
Product: Ports & Packages Reporter: Graham Perrin <grahamperrin>
Component: Individual Port(s)Assignee: Daniel Engberg <diizzy>
Status: Closed FIXED    
Severity: Affects Some People CC: diizzy
Priority: --- Keywords: easy, needs-patch
Version: LatestFlags: koobs: merge-quarterly?
Hardware: Any   
OS: Any   
URL: https://cgit.freebsd.org/ports/tree/net-mgmt/netdata/
Attachments:
Description Flags
Quick start for local-only use none

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!