Commit graph

77 commits

Author SHA1 Message Date
Pirate Praveen
739cdc7332 Explicitly call /usr/bin/bundle to avoid gem installed bundler 2018-12-18 12:14:07 +05:30
Pirate Praveen
b3919618a3 Remove world write permissions of .yarn-metadata.json files 2018-12-15 00:23:51 +05:30
Pirate Praveen
1b01282ee4 Use upstream provided yarn.lock file 2018-10-18 17:13:12 +05:30
Pirate Praveen
f0628bd24c Use yarn installed webpack 2018-05-02 17:29:48 +05:30
Pirate Praveen
b998560fec isolate yarn to its own directory 2018-03-22 21:16:18 +05:30
Pirate Praveen
b595094f3f lock ajv-keywords to 2.1.1 2018-03-21 21:51:46 +05:30
Pirate Praveen
3ddd53cf97 Switch to yarn from npm 2018-03-21 10:39:39 +05:30
Pirate Praveen
1a1d85effb lock ajv-keywords@2.1 for npm 2018-03-20 22:50:11 +05:30
Pirate Praveen
eba77b60b9 document-register-element is locked to 1.3.0 already 2018-03-20 22:05:56 +05:30
Pirate Praveen
24f4a7496e Locales should be compiled before precompiling assets 2018-03-01 23:45:05 +05:30
Pirate Praveen
cda4589813 remove webpack-bundle-analyzer 2018-02-26 16:52:34 +05:30
Pirate Praveen
d67fcacee2 libjs-atwho package now works, removing the workaround 2018-02-25 19:11:11 +05:30
Pirate Praveen
f2d44084dc build locales 2018-02-23 00:00:41 +05:30
Pirate Praveen
9e82ee6d91 Use jquery from system for compatibility with at.js in node_modules 2018-02-14 20:09:31 +05:30
Pirate Praveen
286257652b Add workaround for broken libjs-jquery-atwho (#890391) 2018-02-14 17:18:49 +05:30
Pirate Praveen
6725cd44d0 needs a newer npm for @ support in module names 2018-02-14 14:44:28 +05:30
Pirate Praveen
46c7d8d897 fix permissions for .gitlab_shell_secret 2017-12-25 23:50:56 +05:30
Pirate Praveen
7c5d6cd0dd Fix first time installation issues 2017-12-13 00:51:58 +05:30
Pirate Praveen
e9e692c89c install regexpu-core from npm 2017-09-19 21:47:32 +05:30
Pirate Praveen
e71e374c7f loaders can't be found in system path now 2017-09-15 14:00:46 +05:30
Pirate Praveen
369acfbadf use ln -sf 2017-09-12 17:42:58 +05:30
Pirate Praveen
28a5621974 remove npm pulled webpack 2017-09-09 22:17:18 +05:30
Pirate Praveen
0fca49167d symlink raw-loader and exports-loader to node_modules 2017-09-09 14:58:20 +05:30
Pirate Praveen
3fc2774930 add config option to webpack 2017-09-04 10:53:19 +05:30
Pirate Praveen
bf943ef801 use system webpack 2017-09-04 10:11:15 +05:30
Pirate Praveen
558f194c06 run webpack target instead of webpack-prod 2017-09-01 17:19:32 +05:30
Pirate Praveen
14d8f10bf7 run webpack 2017-08-22 19:19:31 +05:30
Pirate Praveen
e7f6290a1e use npm install for front end dependencies 2017-08-22 17:03:57 +05:30
Praveen Arimbrathodiyil
54f0d8896a use -- sh -c for runuser 2017-04-21 15:03:54 +05:30
Praveen Arimbrathodiyil
993946077e switch to using runuser from su 2017-04-21 13:50:40 +05:30
Praveen Arimbrathodiyil
4a4a221846 use source and export only required variables 2017-03-17 22:27:14 +05:30
Praveen Arimbrathodiyil
a04ef9fcd0 use gitlab_data_dir variable instead of gitlab_home 2016-10-01 16:37:22 +05:30
Praveen Arimbrathodiyil
d6bd3b07be move gitlab check to its own script 2016-10-01 16:11:47 +05:30
Praveen Arimbrathodiyil
ef145c1ca9 create db/schema.rb only in postinst 2016-10-01 15:08:03 +05:30
Dmitry Smirnov
6f15d802bd rake-tasks: "set -e"; cd to "/usr/share/gitlab". 2016-09-26 14:49:28 +10:00
Dmitry Smirnov
be299832ee fix failure to start masked gitlab.service after reinstall.
Essentially problem is due to L:maintainer-script-should-not-use-service [1]:
 postinst invoke `rake-tasks.sh` which tries to start gitlab using "service gitlab start"
 before debhelper-generated scripts that unmask "gitlab.service".

 This commit modifies postinst to run "rake gitlab:check" after #DEBHELPER#
 scripts that take care of starting GitLab (which is no longer started by
 `rake-tasks.sh`).

 [1]: https://lintian.debian.org/tags/maintainer-script-should-not-use-service.html
2016-09-26 13:50:23 +10:00
Praveen Arimbrathodiyil
ac32bfc38e use gitlab provided code to generate secrets.yml 2016-09-17 14:38:57 +05:30
Praveen Arimbrathodiyil
d806b1d4c5 clear assets cache before precompile 2016-08-31 13:33:35 +05:30
Praveen Arimbrathodiyil
7869d2a3f7 skip gitlab🐚install 2016-07-20 20:13:31 +05:30
Dmitry Smirnov
2e41d2b0a3 Rewrite terrible upstream .service files:
* added meta "gitlab.service" that work alike corresponding init.d script
 * new .service files with support for "reload" and propagation of "reload" from "gitlab.service"
 * non-forking PIDFILE-less implementation

This commit fixes services' start-up and postinst error on first install.
2016-07-18 04:15:13 +10:00
Praveen Arimbrathodiyil
398a37ae59 use maintscript 2016-06-19 20:17:07 +05:30
Praveen Arimbrathodiyil
18ccf5e5b8 use maintscript helper to remove conffile 2016-06-19 17:35:30 +05:30
Praveen Arimbrathodiyil
17de5f1790 remove devise-async.rb 2016-06-19 16:47:40 +05:30
Praveen Arimbrathodiyil
39a2bfd88a make nginx optional, use ucf for conf files 2016-04-08 17:00:57 +05:30
Praveen Arimbrathodiyil
81630832e5 remove gitlab_conf variable 2016-04-05 21:31:44 +05:30
Praveen Arimbrathodiyil
9649e3b1dc move permissions change after gitlab shell is set 2016-04-05 21:12:05 +05:30
Praveen Arimbrathodiyil
869a24f41e change ownership and more checks 2016-04-05 21:06:24 +05:30
Praveen Arimbrathodiyil
35848950c3 restrict file permissions for secrets 2016-04-05 12:37:43 +05:30
Praveen Arimbrathodiyil
2d8014dee1 run migrations when db exist 2016-04-05 12:17:23 +05:30
Praveen Arimbrathodiyil
6206489e19 use unicode, check db exist 2016-04-04 22:39:31 +05:30