Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2023 07:27:46 +0200
From:      Matthias Fechner <mfechner@freebsd.org>
To:        Yasuhiro Kimura <yasu@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: bd7b119c2f9e - main - www/gitlab-pages: update to 15.7.5
Message-ID:  <696c4300-c24a-3d72-a323-de42b68f4f03@freebsd.org>
In-Reply-To: <20230131.085635.2199992999040654747.yasu@FreeBSD.org>
References:  <202301302131.30ULVkW6001221@gitrepo.freebsd.org> <20230131.085635.2199992999040654747.yasu@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 31.01.2023 um 01:56 schrieb Yasuhiro Kimura:
> From: Matthias Fechner <mfechner@FreeBSD.org>
> Subject: git: bd7b119c2f9e - main - www/gitlab-pages: update to 15.7.5
> Date: Mon, 30 Jan 2023 21:31:46 GMT
>
>> The branch main has been updated by mfechner:
>>
>> URL: https://cgit.FreeBSD.org/ports/commit/?id=bd7b119c2f9e4b278215bca23fcdc785a4167817
>>
>> commit bd7b119c2f9e4b278215bca23fcdc785a4167817
>> Author:     Matthias Fechner <mfechner@FreeBSD.org>
>> AuthorDate: 2023-01-30 21:13:00 +0000
>> Commit:     Matthias Fechner <mfechner@FreeBSD.org>
>> CommitDate: 2023-01-30 21:25:39 +0000
>>
>>      www/gitlab-pages: update to 15.7.5
>>      
>>      Required for gitlab-ce 15.7 update
>>      Changelog:
>>      https://gitlab.com/gitlab-org/gitlab-pages/-/blob/master/CHANGELOG.md
> After this commit `make describe` causes following warnings.
>
> yasu@rolling-vm-freebsd2[1022]% pwd
> /usr/ports/www/gitlab-pages
> yasu@rolling-vm-freebsd2[1023]% make describe
> make: "/usr/ports/Mk/Uses/go.mk" line 192: warning: duplicate script for target "go-post-fetch" ignored
> make: "Makefile" line 35: warning: using previous script for "go-post-fetch" defined here
> make: "/usr/ports/Mk/Uses/go.mk" line 193: warning: duplicate script for target "go-post-fetch" ignored
> make: "Makefile" line 35: warning: using previous script for "go-post-fetch" defined here
> gitlab-pages-15.7.5|/usr/ports/www/gitlab-pages|/usr/local|Official GitLab Pages daemon|/usr/ports/www/gitlab-pages/pkg-descr|swills@FreeBSD.org|www|||/usr/ports/lang/go119 /usr/ports/security/ca_root_nss|/usr/ports/lang/go119||https://gitlab.com/gitlab-org/gitlab-pages
> yasu@rolling-vm-freebsd2[1024]%
>
> ---
> Yasuhiro Kimura

yes I'm aware of the warning.
The problem is that gitlab will not publish [1] the go.mod file anymore 
to the go proxy but they will host it in there environment.

And the current Mk/Uses/go.mk cannot be configured in a way that the 
go.mod file can be downloaded from another site.

What I do now is reuse most of the definitions from go.mk, but redefine 
the fetch part to be able to download the go.mod from gitlab directly.

I think the perfect solution would be the extend go.mod that it can also 
download the go.mod from a custom location.

[1]: https://gitlab.com/gitlab-org/gitlab-pages/-/issues/824#note_1252658965

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696c4300-c24a-3d72-a323-de42b68f4f03>