Saturday, January 28, 2023

Re: new sysutils/gitlab-cli

On Sat, 28 Jan 2023 00:15:23 +0000, Klemens Nanni wrote:

> Same as devel/github-cli but different in that upstream sources extraact
> differently, so post-extract moves it into place.
>
> LDFLAGS and gen-docs flags are also slightly different, otherwise `glab`
> works and does the equivalent to `gh`.
>
> Feedback? OK?
> ---
> Information for inst:gitlab-cli-1.24.1

Build and tests OK on amd64.

Could you set the real build date with MODGO_LDFLAGS ?

_BUILD_DATE = $$(date +%Y-%m-%d)
MODGO_LDFLAGS = -X main.build=${_BUILD_DATE} \
-X main.version=${V}

With this modification, my build is OK :

$ /usr/obj/ports/gitlab-cli-1.24.1/fake-amd64/usr/local/bin/glab version
glab version 1.24.1 (2023-01-28)

Laurent

No comments:

Post a Comment