On 2023/01/28 00:15, 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?
Build fails:
$ make
===> gitlab-cli-1.24.1 depends on: go-=1.19.4p1 -> go-1.19.4p1
===> gitlab-cli-1.24.1 depends on: unzip-* -> unzip-6.0p16
===> Verifying specs: c pthread
===> found c.96.5 pthread.26.4
===> Checking files for gitlab-cli-1.24.1
`/y/Download/ftp/pub/OpenBSD/distfiles/cli-v1.24.1.zip' is up to date.
`/y/Download/ftp/pub/OpenBSD/distfiles/go_modules/cloud.google.com/go/@v/v0.81.0.zip' is up to date.
<...snip...>
>> (SHA256) go_modules/rsc.io/quote/v3/@v/v3.1.0.mod: OK
>> (SHA256) go_modules/rsc.io/sampler/@v/v1.3.0.mod: OK
===> Extracting for gitlab-cli-1.24.1
# move WRKDIST where MODGO_SETUP_WORKSPACE expects it
mkdir -p /pobj/gitlab-cli-1.24.1/gitlab.com/gitlab-org
mv /pobj/gitlab-cli-1.24.1/cli-v1.24.1-* /pobj/gitlab-cli-1.24.1/gitlab.com/gitlab-org/cli@v1.24.1
mv: /pobj/gitlab-cli-1.24.1/cli-v1.24.1-*: No such file or directory
*** Error 1 in . (Makefile:25 'post-extract')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2701 '/pobj/gitlab-cli-1.24.1/.extract_done': @cd /usr/ports/mystuff/sysutils/git...)
*** Error 2 in /usr/ports/mystuff/sysutils/gitlab-cli (/usr/ports/infrastructure/mk/bsd.port.mk:2600 'all': @lock=gitlab-cli-1.24.1; export...)
$ ls -l /pobj/gitlab-cli-1.24.1
total 16
drwxr-xr-x 2 _pbuild _pbuild 512 Jan 28 12:48 bin
drwxr-xr-x 3 _pbuild _pbuild 512 Jan 28 12:48 gitlab.com
> ---
> Information for inst:gitlab-cli-1.24.1
>
> Comment:
> GitLab CLI tool
>
> Description:
> GLab is an open source GitLab CLI tool bringing GitLab to your terminal
> next to where you are already working with `git` and your code without
> switching between windows and browser tabs. Work with issues, merge requests,
> **watch running pipelines directly from your CLI** among other features.
>
> `glab` is available for repositories hosted on GitLab.com and self-managed
> GitLab instances. `glab` supports multiple authenticated GitLab instances
> and automatically detects the authenticated hostname from the remotes
> available in the working Git directory.
Could you zap the Markdown formatting in pkg/DESCR too please.
No comments:
Post a Comment