Commit graph

849 commits

Author SHA1 Message Date
Benjamin Drung
ac68fae02e Quote variable for test -n calls
$ test -n; echo $?
0
$ test -n ""; echo $?
1
2017-04-21 16:01:39 +05:30
Praveen Arimbrathodiyil
54f0d8896a use -- sh -c for runuser 2017-04-21 15:03:54 +05:30
Praveen Arimbrathodiyil
22de637298 update changelog 2017-04-21 13:51:53 +05:30
Praveen Arimbrathodiyil
993946077e switch to using runuser from su 2017-04-21 13:50:40 +05:30
Praveen Arimbrathodiyil
e40cb82195 update changelog 2017-04-21 13:40:35 +05:30
Praveen Arimbrathodiyil
51514c0001 change template name to purge_data 2017-04-21 13:39:50 +05:30
Praveen Arimbrathodiyil
a470003cf3 update changelog 2017-04-21 13:17:19 +05:30
Praveen Arimbrathodiyil
7fa2ea01ff don't set gitlab user in postinst 2017-04-21 13:15:30 +05:30
Praveen Arimbrathodiyil
46b101a574 update changelog 2017-04-21 12:47:31 +05:30
Praveen Arimbrathodiyil
83189ec0e0 use dbconfig-common for database 2017-04-21 12:47:11 +05:30
Praveen Arimbrathodiyil
8816d45e94 fix typo 2017-04-20 12:01:01 +05:30
Praveen Arimbrathodiyil
eb28b21c7e update gitlab user in override.conf 2017-04-20 11:59:40 +05:30
Praveen Arimbrathodiyil
c60a09eae5 update doc with new way of reading variables 2017-04-20 11:53:38 +05:30
Praveen Arimbrathodiyil
755450b380 update changelog 2017-04-20 11:50:12 +05:30
Praveen Arimbrathodiyil
8f15e1d4c6 don't override systemd override.conf 2017-04-20 11:47:34 +05:30
Praveen Arimbrathodiyil
b3a957ee4c update changelog 2017-04-20 11:40:10 +05:30
Praveen Arimbrathodiyil
d754030ccd handle pre-seeding of https and letsencrypt 2017-04-20 11:32:10 +05:30
Praveen Arimbrathodiyil
ba96466d12 always create required varibales in config file 2017-04-19 18:19:32 +05:30
Praveen Arimbrathodiyil
50856123c5 add comment for unique matching 2017-04-19 15:33:00 +05:30
Praveen Arimbrathodiyil
165203a3ac describe all small and all caps variables 2017-04-19 15:11:39 +05:30
Praveen Arimbrathodiyil
a1599c35ed preseed values from config file 2017-04-19 14:20:58 +05:30
Praveen Arimbrathodiyil
582df940da fix syntax 2017-04-17 14:38:24 +05:30
Praveen Arimbrathodiyil
a2d65f9c61 update changelog 2017-04-17 11:06:40 +05:30
Praveen Arimbrathodiyil
8ed3768bb3 check varibales are defined before using them 2017-04-17 11:05:50 +05:30
Praveen Arimbrathodiyil
20c77e7cb7 update changelog 2017-04-17 10:12:56 +05:30
Praveen Arimbrathodiyil
a99872e5ec make postrm idempotent 2017-04-17 10:09:55 +05:30
Balasankar C
c9148dc95f
Repack source to remove fuzzaldrin-plus.js 2017-04-13 18:13:05 +05:30
Praveen Arimbrathodiyil
c995b35751 update changelog 2017-03-23 17:16:57 +05:30
Praveen Arimbrathodiyil
33eb420ac6 be more defensive in rm -rf 2017-03-23 17:16:26 +05:30
Praveen Arimbrathodiyil
f92b012a7a don't fail if defaults file is not found 2017-03-23 17:01:41 +05:30
Praveen Arimbrathodiyil
849cb09aef repalce with official backported patch 2017-03-21 22:08:56 +05:30
Praveen Arimbrathodiyil
3fb54e9d80 update changelog 2017-03-21 20:12:53 +05:30
Praveen Arimbrathodiyil
661540e604 move gitlab_log_dir to /etc (needed got gitlab-unicorn service) 2017-03-21 20:11:34 +05:30
Praveen Arimbrathodiyil
d301f672d5 update changelog 2017-03-21 18:28:59 +05:30
Balasankar C
4633e24a80
Add CVE patch 2017-03-21 14:56:56 +05:30
Praveen Arimbrathodiyil
885dd87a97 export DB before bundle in autopkgtest 2017-03-17 22:52:59 +05:30
Praveen Arimbrathodiyil
07c6693120 upload to unstable 2017-03-17 22:30:24 +05:30
Praveen Arimbrathodiyil
4a4a221846 use source and export only required variables 2017-03-17 22:27:14 +05:30
Praveen Arimbrathodiyil
623f0fdf01 update changelog 2017-03-14 17:28:32 +05:30
Praveen Arimbrathodiyil
e154dc50b8 use command -v instead of test -x 2017-03-14 17:27:22 +05:30
Praveen Arimbrathodiyil
2c9069326b upload to unstable 2017-03-14 17:21:29 +05:30
Praveen Arimbrathodiyil
f0c3fe8a12 update changelog 2017-03-13 14:34:19 +05:30
Praveen Arimbrathodiyil
1cdb908f64 move path setting used only in post* outside /etc 2017-03-13 14:33:48 +05:30
Balasankar C
f5117976df Update changelog 2017-02-24 17:53:10 +05:30
Praveen Arimbrathodiyil
1b59512170 improve echo wording 2017-02-24 14:46:32 +05:30
Praveen Arimbrathodiyil
8b09472f29 fix userdel 2017-02-24 14:33:51 +05:30
Balasankar C
ac1dd4c0e1 Fix problems with gitlab_user not set 2017-02-24 13:05:34 +05:30
Balasankar C
c160045850
Check for gitlab_user before trying to delete 2017-02-24 11:30:24 +05:30
Balasankar C
ea2bc36da2
Add changelog entry 2017-02-22 12:13:53 +05:30
Balasankar C
996abf57ec
Remove db only if command is available 2017-02-22 12:02:43 +05:30
Praveen Arimbrathodiyil
1b9c7f9902 update gitlab-shell version 2017-02-20 19:54:55 +05:30
Praveen Arimbrathodiyil
51aefea655 remove /etc/gitlab/ssl 2017-02-20 18:54:43 +05:30
Praveen Arimbrathodiyil
43da0d9f91 copy gitlab_yml correcly 2017-02-20 18:47:40 +05:30
Praveen Arimbrathodiyil
57f3d06e39 update changelog 2017-02-20 18:33:16 +05:30
Praveen Arimbrathodiyil
15cca163fd gitlab.yml is not gz now 2017-02-20 18:16:58 +05:30
Praveen Arimbrathodiyil
d9a8b7a138 set gitlab_user default value in postrm 2017-02-20 18:12:03 +05:30
Praveen Arimbrathodiyil
374c768315 fix path of gitlab-debian.conf 2017-02-20 18:08:36 +05:30
Praveen Arimbrathodiyil
3da5397ff6 check if db exist before dropping 2017-02-20 18:06:31 +05:30
Praveen Arimbrathodiyil
76f03adf07 use id -u 2017-02-20 18:02:42 +05:30
Praveen Arimbrathodiyil
00cbdaf00c remove gitlab user only if exist 2017-02-20 17:23:37 +05:30
Praveen Arimbrathodiyil
80f8263a91 fix gitlab-debian.conf bootstrap 2017-02-20 17:21:01 +05:30
Balasankar C
6556581a8f
Revert "Run wrap-and-sort -a"
This reverts commit 0077c22366.
2017-02-20 17:20:00 +05:30
Balasankar C
0077c22366
Run wrap-and-sort -a 2017-02-20 17:09:18 +05:30
Balasankar C
6d395c25f1
Fix extended description 2017-02-20 17:08:56 +05:30
Praveen Arimbrathodiyil
0c01eefe99 update install file and nginx conf files 2017-02-20 17:03:20 +05:30
Praveen Arimbrathodiyil
4a0116a160 update changelog 2017-02-20 16:44:57 +05:30
Praveen Arimbrathodiyil
379bb93191 use /usr/lib/gitlab/templates for config templates 2017-02-20 16:41:19 +05:30
Balasankar C
b241eca5c4
Update description 2017-02-19 18:03:03 +05:30
Praveen Arimbrathodiyil
7b0c240daa fix templates 2017-02-16 17:51:09 +05:30
Praveen Arimbrathodiyil
aaeb178579 upload to unstable 2017-02-16 17:35:41 +05:30
Praveen Arimbrathodiyil
a93ae2eb50 remove hard coded gitlab user 2017-02-16 17:35:01 +05:30
Praveen Arimbrathodiyil
585d4a4df2 read gitlab_user from debconf 2017-02-16 16:35:08 +05:30
Praveen Arimbrathodiyil
8290440f60 update changelog 2017-02-16 15:56:51 +05:30
Praveen Arimbrathodiyil
f1432c8088 remove all data during purge after user confirmation 2017-02-16 15:53:38 +05:30
Praveen Arimbrathodiyil
5e31e3a779 use simpler default value for gitlab_user 2017-02-15 18:04:28 +05:30
Praveen Arimbrathodiyil
e9468976bf install tmpfiles.d/gitlab.conf.example in /usr/share/doc 2017-02-15 14:21:54 +05:30
Praveen Arimbrathodiyil
4d062a0ae9 purge tmpfiles 2017-02-15 13:41:22 +05:30
Praveen Arimbrathodiyil
26cf41833b manage tmpfiles.d/gitlab.conf via ucf 2017-02-15 12:55:30 +05:30
Praveen Arimbrathodiyil
e352a4ee97 update changelog 2017-02-15 11:57:19 +05:30
Praveen Arimbrathodiyil
413fee7b5a ask about username in config 2017-02-15 11:49:55 +05:30
Praveen Arimbrathodiyil
8a552c1dfc add template for gitlab user selection 2017-02-15 11:46:53 +05:30
Praveen Arimbrathodiyil
df90f8ac01 change gitlab.target to gitlab.service 2017-02-15 11:31:43 +05:30
Johannes Schauer
edec704950 instructions of how to upgrade from non-Debian installations 2017-02-15 11:28:38 +05:30
Praveen Arimbrathodiyil
418b1b81b1 Patch by Benjamin Drung
Use 'set -e' to let the script fail when any command fails. This allows
us to remove the "command || exit 1" constructs.
2017-02-15 11:09:50 +05:30
Praveen Arimbrathodiyil
e7430db19d Patch by Benjamin Drung
If the sysadmin changes the gitlab user in
/etc/gitlab/gitlab-debian.conf, the package installation or upgrade will
fail, because grantpriv.sh will always grant privileges to the gitlab
user. Thus adapt grantpriv.sh to honor the gitlab_user setting.
2017-02-15 11:06:52 +05:30
Praveen Arimbrathodiyil
1359e5823c update lintian overrides 2017-02-07 22:40:42 +05:30
Praveen Arimbrathodiyil
3af768d09c add tag 2017-02-07 22:34:36 +05:30
Praveen Arimbrathodiyil
3f6ff4d1cc update changelog 2017-02-07 21:26:40 +05:30
Praveen Arimbrathodiyil
ce30b1fbca set minimum version for gitlab-shell 2017-02-07 21:26:40 +05:30
Balasankar C
d218fa9635 Add myself to uploaders 2017-02-07 15:33:47 +00:00
Balasankar C
ef6bd2ff56 Fix patch to remove required version 2017-02-07 15:32:46 +00:00
Praveen Arimbrathodiyil
b45e5c30dd update changelog 2017-02-07 11:24:44 +05:30
Praveen Arimbrathodiyil
f6c070a8a4 use upstream patch for git 2.11 support backport 2017-02-07 11:23:02 +05:30
Praveen Arimbrathodiyil
4d3caf404e update patches for git 2.11 support 2017-02-04 15:48:46 +05:30
Praveen Arimbrathodiyil
65ba7a4d90 upload to unstable 2017-01-18 13:21:29 +05:30
Praveen Arimbrathodiyil
6191f39f04 tighten gitlab-shell version 2017-01-18 13:20:06 +05:30
Praveen Arimbrathodiyil
ea03af6494 update changelog 2017-01-18 12:15:17 +05:30
Praveen Arimbrathodiyil
409cb7ff71 backport git 2.11 support 2017-01-18 12:13:55 +05:30
Praveen Arimbrathodiyil
8b24c3e122 use turbolinks with gitlab-turbolinks-classic patch 2017-01-18 11:53:21 +05:30
Praveen Arimbrathodiyil
3b03776010 tighten ruby-github-markup 2017-01-15 18:12:35 +05:30