On ചൊവ്വ 20 ഫെബ്രുവരി 2018 02:29 വൈകു, Libor Klepáč wrote:
> Package: gitlab
> Version: 9.5.4+dfsg-5
> Severity: normal
> 
> 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

I have pushed a fix to git, but now it fails to install (possibly
unrelated to this change because I'm trying on a clean system now), so
not uploaded a new version yet.

I, [2018-02-22T18:19:13.958461 #7774]  INFO -- : Writing
/usr/share/gitlab/public/assets/print-87b4ace0db1f79d91e4fe6e74435b66b71d70fee57ffbb72d0fade17374fcc6b.css
I, [2018-02-22T18:19:13.959968 #7774]  INFO -- : Writing
/usr/share/gitlab/public/assets/print-87b4ace0db1f79d91e4fe6e74435b66b71d70fee57ffbb72d0fade17374fcc6b.css.gz
I, [2018-02-22T18:19:14.128913 #7774]  INFO -- : Writing
/usr/share/gitlab/public/assets/notify-abfe30822d82207505a29881cc27c46d0cf2f8bf68481bd421ba1ce23ca7c508.css
I, [2018-02-22T18:19:14.129177 #7774]  INFO -- : Writing
/usr/share/gitlab/public/assets/notify-abfe30822d82207505a29881cc27c46d0cf2f8bf68481bd421ba1ce23ca7c508.css.gz
I, [2018-02-22T18:19:14.850053 #7774]  INFO -- : Writing
/usr/share/gitlab/public/assets/katex-e46cafe9c3fa73920a7c2c063ee8bb0613e0cf85fd96a3aea25f8419c4bfcfba.css
I, [2018-02-22T18:19:14.850316 #7774]  INFO -- : Writing
/usr/share/gitlab/public/assets/katex-e46cafe9c3fa73920a7c2c063ee8bb0613e0cf85fd96a3aea25f8419c4bfcfba.css.gz
rake aborted!

ExecJS::ProgramError: TypeError: UglifyJS.Compressor is not a function
apply.source (eval at <anonymous> ((execjs):4108:8), <anonymous>:23:35)
eval (eval at <anonymous> ((execjs):4108:8), <anonymous>:63:2)
(execjs):4108:8
(execjs):4114:14
(execjs):1:102
Object.<anonymous> ((execjs):1:120)
Module._compile (module.js:635:30)
Object.Module._extensions..js (module.js:646:10)
Module.load (module.js:554:32)
tryModuleLoad (module.js:497:12)


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to