[DRE-maint] Bug#890877: gitlab: javascript locales not precompiled

Libor Klepáč libor.klepac at bcom.cz
Tue Feb 20 08:59:32 UTC 2018


Package: gitlab
Version: 9.5.4+dfsg-5
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,
it seems, that javascript locales are not precompiled before running webpack.
Upstream changed to yarn based build system and fixed it here.
https://gitlab.com/gitlab-org/gitlab-ce/commit/4c57d5ad188fe59e0c85798ccc4c81405652048c

You can run
bundle exec rake gettext:po_to_json 

before webpack to fix it.
Problem is, it needs to write to /usr/share/gitlab/app/assets/javascripts/locale/
So it must be set writeable by user gitlab or run as root.

Without this step, javascript is broken, it fails to load timeago.js, screenshot in attachement

Libor



-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEPGZVVU37tFmB0TQv8O+MbsKfR44FAlqL43MVHGxpYm9yLmts
ZXBhY0BiY29tLmN6AAoJEPDvjG7Cn0eO+PkP/iMIuG5VD5Z7+zIDfCmU2oyeJ7EU
nQ3YG3l42mtF1sQZQF289X0ZXkokZKWF7x7QVgmiTbpPxp6e8/EV9y08lQePYuuC
0zTfbUT56ug0DSz8IIgSndHAUUSfag/KigNbnsIIlY8YzkQq+E0hjNSoxEmYnq3E
Sz4rZttqLmisdGgZa9pdPivCOtEdJsAgssSoWo8CP9WeIML3syC4PXc0cUCCjkN9
nAHl/T4W5nJVRNo4GMBTdzTViy900MnAFuJkse0HqoW3lMXZ9Dx418Q3sk946Epl
FSZWeYX5P0MJVt6/DFiHkotREeK5+sMccdlRRRHYUtcyBYyYdHBWA/a0xZj6a2uH
hTFhxO8rEE+7RfKSqbXnubgTAZ/jrSuF4j3srRKw62+ZP+ZMnQzDoGFmppkkPnL3
N34y5lwaPRkDZpNx1Ronb1O6dj+WnGv1HcHpYh3qCvBYvcQHX+ySDNNbDz4rin8V
Xxk8FB8QgVU0fmpl/vWbN/W7yWFFyivzWAZAnAaGRFvRAw017oZnNHEH7SgP58h4
KEDimLhKoYD3Q/mZ4W7MNQ4Ag7eLgqW+1lvpvIES+IWe5Okl6Hnb+/lRTapm7WnD
90PQdqEFFPTCDmwk/KCVSE+k0vwlfiQB70texHCnUjEe1hqhPAMaMIrJKug3381/
NO6Tk6V2SCX2Q0gg
=Ktyx
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: js_error.png
Type: image/png
Size: 44814 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20180220/eca7c50e/attachment-0001.png>


More information about the Pkg-ruby-extras-maintainers mailing list