Bug 256031 - New port: sysutils/loki-logcli Command Line Client for Loki log aggregation system
Summary: New port: sysutils/loki-logcli Command Line Client for Loki log aggregation s...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitri Goutnik
URL:
Keywords:
Depends on: 256030
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-20 15:29 UTC by Christopher Beppler
Modified: 2022-07-18 12:20 UTC (History)
2 users (show)

See Also:


Attachments
git patch for sysutils/loki-logcli (61.98 KB, application/mbox)
2021-05-20 15:29 UTC, Christopher Beppler
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Beppler 2021-05-20 15:29:29 UTC
Created attachment 225127 [details]
git patch for sysutils/loki-logcli

New port with the LogCLI for Grafana Loki, the log aggregation system.

Belongs to #256030 as the client side.

Thanks
Christopher
Comment 1 Christopher Beppler 2022-05-17 14:34:10 UTC
Upgrade to v2.5.0 is currently blocked by go1.18.

the CLI would require a environment variable to be set if build with go1.18. Since it's discouraged to set GO_PORT in an individual port, I can't make it build with go1.17.

I'd recommend to wait until the upstream version is using an updated version of go4.org/unsafe/assume-no-moving-gc.

#256030 is not affected by this because the env variable can be set in the rc script.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-07-18 12:19:49 UTC
A commit in branch main references this bug:

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

commit a53efc77beaf0df89f1f9e9d3cfacb862140edeb
Author:     Christopher Beppler <freebsd@funzi.org>
AuthorDate: 2022-07-18 12:14:07 +0000
Commit:     Dmitri Goutnik <dmgk@FreeBSD.org>
CommitDate: 2022-07-18 12:14:07 +0000

    sysutils/loki: Update to 2.6.0

    - Update to 2.6.0
    - Add logcli, loki-canary and promtail

    Changes:        https://github.com/grafana/loki/releases/tag/v2.6.0

    PR:             265295
    PR:             256031
    PR:             265231

 sysutils/loki/Makefile      | 43 ++++++++++++++-----------
 sysutils/loki/distinfo      | 78 +++++++++++++++++++++++++++------------------
 sysutils/loki/files/loki.in |  3 --
 sysutils/loki/pkg-plist     |  3 ++
 4 files changed, 74 insertions(+), 53 deletions(-)