FS#55057 - [gitlab] help errors trying to deduce own git revision at runtime

Attached to Project: Community Packages
Opened by Jonas Hahnfeld (hahnjo) - Sunday, 06 August 2017, 19:08 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 07 August 2017, 15:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

GitLab tries to deduce its own git revision. Upstream exepects that the complete git history is deployed which is not the case for this package - and saves a lot of disk space!
In 9.4 this problem has got bigger as /help will return server error 500 if the revision cannot be determined.

I'm attaching a PKGBUILD and its diff to extract the git revision from the downloaded tar ball and place it statically into config/initializers/2_app.rb. Please consider adding this to the binary packet.
   PKGBUILD (11.1 KiB)
   git.diff (0.7 KiB)
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 07 August 2017, 15:49 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 07 August 2017, 15:39 GMT
Super helpful patch, thanks!

Loading...