Bug 226808 - [NEW PORT] www/carbonapi: frontend to carbonzipper which queries databases/go-carbon
Summary: [NEW PORT] www/carbonapi: frontend to carbonzipper which queries databases/g...
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: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-20 21:46 UTC by Andreas Andersson
Modified: 2018-03-21 16:50 UTC (History)
1 user (show)

See Also:


Attachments
www/carbonapi (8.75 KB, patch)
2018-03-20 21:46 UTC, Andreas Andersson
no flags Details | Diff
Fix portlint warning (8.75 KB, patch)
2018-03-20 22:00 UTC, Andreas Andersson
a.andersson.thn: maintainer-approval+
Details | Diff
Be nicer to SVN with rc.d script (8.68 KB, patch)
2018-03-21 08:56 UTC, Andreas Andersson
a.andersson.thn: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Andersson 2018-03-20 21:46:06 UTC
Created attachment 191671 [details]
www/carbonapi

This brings www/carbonapi (https://github.com/go-graphite/carbonapi)

It serves as a frontend to carbonzipper which is what will query databases/go-carbon. https://github.com/lomik/go-carbon/issues/130#issuecomment-270866633 shows the architecture.

It passes Poudriere QA on 10.3, 10.4, 11.1 and 12-CURRENT. There are two portlint warning which I am unsure of getting rid of: 

WARN: Makefile: extra item placed in the *_DEPENDS section, for example, "USES".
WARN: /usr/ports/www/carbonapi/pkg-message: possible use of absolute pathname "/etc/rc.conf".
0 fatal errors and 2 warnings found.

Any advice on how to get rid of them (maybe isn't needed?) are very welcome.

This ports existence ows alot to dmgk (Dmitri Goutnik) who has been been mentoring and helping me with improvements to the Makefile.
Comment 1 Andreas Andersson 2018-03-20 22:00:37 UTC
Created attachment 191672 [details]
Fix portlint warning
Comment 2 Andreas Andersson 2018-03-21 08:56:53 UTC
Created attachment 191689 [details]
Be nicer to SVN with rc.d script

Removed the commit reference in rc.d script (was basing rc.d script off of grafana).
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2018-03-21 16:49:28 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-03-21 16:50:15 UTC
A commit references this bug:

Author: pi
Date: Wed Mar 21 16:49:22 UTC 2018
New revision: 465192
URL: https://svnweb.freebsd.org/changeset/ports/465192

Log:
  New port: www/carbonapi

  carbonapi is a frontend for carbonzipper and can partially replace graphiteweb.

  WWW: https://github.com/go-graphite/carbonapi

  PR:		226808
  Submitted by:	Andreas Andersson <a.andersson.thn@gmail.com>

Changes:
  head/www/Makefile
  head/www/carbonapi/
  head/www/carbonapi/Makefile
  head/www/carbonapi/distinfo
  head/www/carbonapi/files/
  head/www/carbonapi/files/carbonapi.in
  head/www/carbonapi/files/patch-carbonapi.example.toml
  head/www/carbonapi/files/patch-carbonapi.example.yaml
  head/www/carbonapi/pkg-descr
  head/www/carbonapi/pkg-message
  head/www/carbonapi/pkg-plist