Page MenuHomeFreeBSD

New port www/gitlab-pages required for gitlab 10.5.x update
ClosedPublic

Authored by mfechner on Mar 25 2018, 7:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 3:01 PM
Unknown Object (File)
Fri, Oct 25, 1:37 PM
Unknown Object (File)
Oct 19 2024, 7:10 PM
Unknown Object (File)
Sep 30 2024, 9:27 AM
Unknown Object (File)
Sep 29 2024, 11:58 PM
Unknown Object (File)
Sep 26 2024, 10:48 PM
Unknown Object (File)
Sep 26 2024, 4:54 AM
Unknown Object (File)
Sep 25 2024, 5:32 PM
Subscribers

Details

Summary

Commit message will be:
New ports required for gitlab update to 10.5.x.

Submitted by: swills@freebsd.org
Reviewed by: tz/swills (mentor)
Approved by: tz/swills (mentor)
Differential Revision: URL to this revision

Test Plan

All patches are build, you can find all build logs:
https://pkg.fechner.net/jail.html?mastername=111amd64-gitlab

The fresh packages are tested against a new installation using:
https://gitlab.fechner.net/mfechner/Gitlab-vagrant

An old version is updated following the manual:
https://gitlab.fechner.net/mfechner/Gitlab-docu

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

www/gitlab-pages/Makefile
6–7 ↗(On Diff #40723)

Please use USE_GITLAB.

40–44 ↗(On Diff #40723)

Do all this in one target.

www/gitlab-pages/Makefile
6–7 ↗(On Diff #40723)

FWIW, when this was initially created, USE_GITHUB didn't exist.

40–44 ↗(On Diff #40723)

I don't understand why the rm is needed.

www/gitlab-pages/Makefile
6–7 ↗(On Diff #40723)

Thanks for this tip, I will check the documentation.

40–44 ↗(On Diff #40723)

The rm is needed because go creates with the new version a cache and poudriere will then complain about a dirty directory and stops creating the package.

I'm not sure if it is an issue which should be handled in poudriere by setting the newly required env variables.
Maybe this problem is already fixed. The time I tested the port it was required to build it.

I will look again into this issue after the gitlab update is in ports. gitlab-pages is not that important yet, we can bring it also later.

www/gitlab-pages/Makefile
40–44 ↗(On Diff #40723)

Setting the GOCACHE=off environment variable during the build will disable the cache.

Updated diff to not use cache for go and removed the rm command.

This revision is now accepted and ready to land.Apr 6 2018, 3:18 PM
This revision was automatically updated to reflect the committed changes.