Re: new sysutils/gitlab-cli

2023-01-28 Thread Laurent Cheylus
On Sat, 28 Jan 2023 15:04:15 +, Klemens Nanni wrote: > 28.01.2023 14:52, Laurent Cheylus пишет: >> Could you set the real build date with MODGO_LDFLAGS ? > > I deliberately set it to a fixed string such that package contents don't > change between builds. > > Do you encounter any issues? No

Re: new sysutils/gitlab-cli

2023-01-28 Thread Klemens Nanni
28.01.2023 15:14, Stuart Henderson пишет: > You could remove '-X main.build' completely which gives this which I > think everyone will be happy with: > > $ glab version > glab version 1.24.1 Even better, thanks!

Re: new sysutils/gitlab-cli

2023-01-28 Thread Stuart Henderson
On 2023/01/28 15:04, Klemens Nanni wrote: > 28.01.2023 14:52, Laurent Cheylus пишет: > > Build and tests OK on amd64. > > Thanks. > > > Could you set the real build date with MODGO_LDFLAGS ? > > > > _BUILD_DATE = $$(date +%Y-%m-%d) > > MODGO_LDFLAGS = -X main.build=${_B

Re: new sysutils/gitlab-cli

2023-01-28 Thread Klemens Nanni
28.01.2023 14:52, Laurent Cheylus пишет: > Build and tests OK on amd64. Thanks. > 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} > > W

Re: new sysutils/gitlab-cli

2023-01-28 Thread Laurent Cheylus
On Sat, 28 Jan 2023 00:15:23 +, 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 `

Re: new sysutils/gitlab-cli

2023-01-28 Thread Klemens Nanni
On Sat, Jan 28, 2023 at 12:51:31PM +, Stuart Henderson wrote: > Build fails: Mixup from starting out with the .zip from gitlab.com and later switching to proper proxy.golang.org which our bsd.port.mk is unable to recognise as different file (same name) unless you remove distfiles manually. >

Re: new sysutils/gitlab-cli

2023-01-28 Thread Stuart Henderson
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`. > > Feedba

new sysutils/gitlab-cli

2023-01-27 Thread Klemens Nanni
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 Comm