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
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
|
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. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Monday, 07 August 2017, 15:49 GMT
Reason for closing: Fixed
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!
PKGBUILD