Merge branch '77-gitlab-8-17-0' into 'master'
Resolve "Gitlab 8.17.0" Closes #77 See merge request !144
This commit is contained in:
commit
e08a15d297
5 changed files with 483 additions and 8 deletions
|
@ -1,3 +1,19 @@
|
||||||
|
26 Feb 2017; Manuel Friedli <manuel@fritteli.ch> gitlab-ce-8.17.0.ebuild,
|
||||||
|
gitlab-ce-9999.ebuild:
|
||||||
|
www-apps/gitlab-ce: Updated ebuild for the GIT version (-9999) and fixed the
|
||||||
|
dependency to nodejs in the 8.17.0 version.
|
||||||
|
|
||||||
|
26 Feb 2017; Manuel Friedli <manuel@fritteli.ch>
|
||||||
|
+files/06-gitlab-ce-8.17-fix-webpack-config.patch, gitlab-ce-8.17.0.ebuild:
|
||||||
|
www-apps/gitlab-ce: added patch for the webpack config, hopefully fixing the
|
||||||
|
emerge --config phase
|
||||||
|
|
||||||
|
*gitlab-ce-8.17.0 (24 Feb 2017)
|
||||||
|
|
||||||
|
24 Feb 2017; Manuel Friedli <manuel@fritteli.ch> +gitlab-ce-8.17.0.ebuild:
|
||||||
|
www-apps/gitlab-ce: added ebuild for gitlab-ce-8.17.0. This is the first
|
||||||
|
version to depend on npm
|
||||||
|
|
||||||
*gitlab-ce-8.16.6 (24 Feb 2017)
|
*gitlab-ce-8.16.6 (24 Feb 2017)
|
||||||
|
|
||||||
24 Feb 2017; Manuel Friedli <manuel@fritteli.ch>
|
24 Feb 2017; Manuel Friedli <manuel@fritteli.ch>
|
||||||
|
|
|
@ -5,6 +5,7 @@ AUX 03-gitlab-ce-8.17.0-database.yml.patch 2238 SHA256 c5ec9e8a11fb60a7749b9f8cf
|
||||||
AUX 04-gitlab-ce-8.12.7-fix-check-task.patch 917 SHA256 e1adffbd59a418d5e14cbd51ae14d5c1f0364af759c77b6cb485079e0233e90f SHA512 226c3892768dc526dbc9f109aaecdee1eb27c0acb5060ba6db8222410c500336ebcf7184437228480da04ce5de149a14bbb5c1471aed853a280d7f371f271d88 WHIRLPOOL 3ec22dc4d12b5025bddfccdea27a816aca1f818d5138b3dc9a6362e56ec4cd14e5c38c76b64b468f3797e0d2718d38aad4f910abf3f3328a7983832babb7f231
|
AUX 04-gitlab-ce-8.12.7-fix-check-task.patch 917 SHA256 e1adffbd59a418d5e14cbd51ae14d5c1f0364af759c77b6cb485079e0233e90f SHA512 226c3892768dc526dbc9f109aaecdee1eb27c0acb5060ba6db8222410c500336ebcf7184437228480da04ce5de149a14bbb5c1471aed853a280d7f371f271d88 WHIRLPOOL 3ec22dc4d12b5025bddfccdea27a816aca1f818d5138b3dc9a6362e56ec4cd14e5c38c76b64b468f3797e0d2718d38aad4f910abf3f3328a7983832babb7f231
|
||||||
AUX 05-gitlab-ce-8.12.7-replace-sys-filesystem.patch 2387 SHA256 dd0e9987ed4bb3a9c73c6aee1d89434afc51ff663fef2ee4ac93adf1b73b944a SHA512 afa82fb8c8d57633c99373f31678760fa6ecca5e459a9059f5b460b458d1dbf3230108a6b4f394780c26a697881c9b2319f15804cb8d04ad3139127e7c0f4ff8 WHIRLPOOL 90ce708f8cde0a4bcaef9fc002ca00b97a1211559bcabf5481ec71c608bc5b772ecd518ff07a8d626a27e4b21c0f0f51fa37a65503e79664ececd78d5f19e87b
|
AUX 05-gitlab-ce-8.12.7-replace-sys-filesystem.patch 2387 SHA256 dd0e9987ed4bb3a9c73c6aee1d89434afc51ff663fef2ee4ac93adf1b73b944a SHA512 afa82fb8c8d57633c99373f31678760fa6ecca5e459a9059f5b460b458d1dbf3230108a6b4f394780c26a697881c9b2319f15804cb8d04ad3139127e7c0f4ff8 WHIRLPOOL 90ce708f8cde0a4bcaef9fc002ca00b97a1211559bcabf5481ec71c608bc5b772ecd518ff07a8d626a27e4b21c0f0f51fa37a65503e79664ececd78d5f19e87b
|
||||||
AUX 05-gitlab-ce-8.16.0-replace-sys-filesystem.patch 2379 SHA256 cf5e0ea55c99996744422312a46914a8e54b6ab68ac5e67abda444e1170bcd4b SHA512 eb5ea3a9f040c3df64bd8ebb20ed873fb6af17322867c0f5714e3d9ad5ac26b79e9ffaaa4720617513123b651ceccedeb992b64c87b9b945338614c9eeec1468 WHIRLPOOL 2591c1d439447f3e08fe413ab8127b9945f8e4813480093af1da796675903bbb2b8a2205bd1480d383402ef861c348cfa0bd45305e7c1fa20458bfd6b6b327a5
|
AUX 05-gitlab-ce-8.16.0-replace-sys-filesystem.patch 2379 SHA256 cf5e0ea55c99996744422312a46914a8e54b6ab68ac5e67abda444e1170bcd4b SHA512 eb5ea3a9f040c3df64bd8ebb20ed873fb6af17322867c0f5714e3d9ad5ac26b79e9ffaaa4720617513123b651ceccedeb992b64c87b9b945338614c9eeec1468 WHIRLPOOL 2591c1d439447f3e08fe413ab8127b9945f8e4813480093af1da796675903bbb2b8a2205bd1480d383402ef861c348cfa0bd45305e7c1fa20458bfd6b6b327a5
|
||||||
|
AUX 06-gitlab-ce-8.17.0-fix-webpack-config.patch 614 SHA256 0c1cdc25032322eff6c279435ba5f3fc349b30de0d55d86fad2616bd2bb7fef4 SHA512 f5ccb4d1849ab395ba4ec3c80735a1fedd9fa7f790c8b114d8dc8d1fc2c431d7b9e5645247485f0b8c1061a00ed61c21a5e50f49af0d76e232182c68868a163f WHIRLPOOL 6968ddefed74607c36cc66dc133dbf4942979d2ae867f819cf2e7e5c9701fe8dd86b266d923e6343971e6904f0ad1f35200971660df139edabcc9e0790fc107c
|
||||||
AUX gitlab-8.13.0-sidekiq.service 990 SHA256 183ccbdb19a3dcc74cf1f1f865bf396466e06f7408ff7d3e92359b2a0e83f24c SHA512 c356baf65337739b08a0a4bfe24d3b68f557e9d6d95f479b39ec954ee6c2077e380f99d1e9e9390f5b038e093c0a46562f651512a6578dfa86977580159470a2 WHIRLPOOL 81d9ea9febf47d5fdb9c49a54bbc499bd796fc56bc1c16404fe4c74d00c4bb9fa9631e4cd4cf88d3c30a44c04b74b35a61cd4da9f2139a4abf61e758b4e5949a
|
AUX gitlab-8.13.0-sidekiq.service 990 SHA256 183ccbdb19a3dcc74cf1f1f865bf396466e06f7408ff7d3e92359b2a0e83f24c SHA512 c356baf65337739b08a0a4bfe24d3b68f557e9d6d95f479b39ec954ee6c2077e380f99d1e9e9390f5b038e093c0a46562f651512a6578dfa86977580159470a2 WHIRLPOOL 81d9ea9febf47d5fdb9c49a54bbc499bd796fc56bc1c16404fe4c74d00c4bb9fa9631e4cd4cf88d3c30a44c04b74b35a61cd4da9f2139a4abf61e758b4e5949a
|
||||||
AUX gitlab-8.13.3-sidekiq.init 1459 SHA256 fdf808f9c0a92d7a77ae8be27c8fc11cec571ec6b5b94e31639028eec19546f1 SHA512 ec2130483b603f2be423c288fd0d55615c831ce995a8a5509f0240f149b3464d8f0a75cade1c736d085fb5f898d109368af62d8fdfb280aa00c4df8c06abb1e9 WHIRLPOOL d3493ac268257386e22c677337c8f9b1050212fce4aa855119b2ccd5f56850a5288d0cdd74e3c2f34552f59f9431c9ab5080e372766b88de003cad5dab015100
|
AUX gitlab-8.13.3-sidekiq.init 1459 SHA256 fdf808f9c0a92d7a77ae8be27c8fc11cec571ec6b5b94e31639028eec19546f1 SHA512 ec2130483b603f2be423c288fd0d55615c831ce995a8a5509f0240f149b3464d8f0a75cade1c736d085fb5f898d109368af62d8fdfb280aa00c4df8c06abb1e9 WHIRLPOOL d3493ac268257386e22c677337c8f9b1050212fce4aa855119b2ccd5f56850a5288d0cdd74e3c2f34552f59f9431c9ab5080e372766b88de003cad5dab015100
|
||||||
AUX gitlab-8.13.3-unicorn.init 3562 SHA256 f4ae5b785d61fb2c463b2405533d5e9a2209bbff7a085106b463f59505123287 SHA512 4af87415da7e482725a6f97f5e2ffafe0d16784cdcf3f877c99b5f646832c14dd1b3e875ec00e57560060bf3c049dd7fd0aeb7452db1100740e6b17dc29fdfb6 WHIRLPOOL a63d236a76bcbbd6e39268c76a7fbb75f4b9e5488d0cbc0bb2973ae09753f11d1863e477fe88f6c652370c19c3a0f037f99cc681b91679eb4da992db5e2eff20
|
AUX gitlab-8.13.3-unicorn.init 3562 SHA256 f4ae5b785d61fb2c463b2405533d5e9a2209bbff7a085106b463f59505123287 SHA512 4af87415da7e482725a6f97f5e2ffafe0d16784cdcf3f877c99b5f646832c14dd1b3e875ec00e57560060bf3c049dd7fd0aeb7452db1100740e6b17dc29fdfb6 WHIRLPOOL a63d236a76bcbbd6e39268c76a7fbb75f4b9e5488d0cbc0bb2973ae09753f11d1863e477fe88f6c652370c19c3a0f037f99cc681b91679eb4da992db5e2eff20
|
||||||
|
@ -17,13 +18,15 @@ DIST gitlab-ce-8.15.7.tar.gz 20033447 SHA256 3989b21d5eae1ff2293f535b6645b6ba948
|
||||||
DIST gitlab-ce-8.16.4.tar.gz 20899790 SHA256 0ee69f010f2306a6b1d7fda377a0780951560880c974f62b8ab15935ddd93930 SHA512 a81ed04326262569a4d0112476624efafebf8fad8296fd6866881bb280abc5e9f7275bbe94d6d5e8c40491d88422368349a34066206fb60dcef3578f9ab0ccd1 WHIRLPOOL f5d3d84bb0c5fedddc195326603911abec19c8d0de95e26ccdb1db10df195288e3ecf1ad6aa04e1a778b6987418466508f4080888fcfa1847825916141cc87eb
|
DIST gitlab-ce-8.16.4.tar.gz 20899790 SHA256 0ee69f010f2306a6b1d7fda377a0780951560880c974f62b8ab15935ddd93930 SHA512 a81ed04326262569a4d0112476624efafebf8fad8296fd6866881bb280abc5e9f7275bbe94d6d5e8c40491d88422368349a34066206fb60dcef3578f9ab0ccd1 WHIRLPOOL f5d3d84bb0c5fedddc195326603911abec19c8d0de95e26ccdb1db10df195288e3ecf1ad6aa04e1a778b6987418466508f4080888fcfa1847825916141cc87eb
|
||||||
DIST gitlab-ce-8.16.5.tar.gz 20900898 SHA256 74a73992d18d97b426ea36ca2c975f4d1d44d7e66602b2fa76a18b267e90bbe2 SHA512 cf77252542571104c74b9ad932812f9fc36dd31703ff653bf23933c7e2165cc9927482025d63ca1863af17634785c22be944a8ac17c27cc06924cf832ef0b591 WHIRLPOOL bb916c79a33158160754348ec8227c84303850a525781422a1fc718330cc34baad5efbb111165df0e0e14a6ee7f6c89c19c976708116b2fecb3e686f281330e9
|
DIST gitlab-ce-8.16.5.tar.gz 20900898 SHA256 74a73992d18d97b426ea36ca2c975f4d1d44d7e66602b2fa76a18b267e90bbe2 SHA512 cf77252542571104c74b9ad932812f9fc36dd31703ff653bf23933c7e2165cc9927482025d63ca1863af17634785c22be944a8ac17c27cc06924cf832ef0b591 WHIRLPOOL bb916c79a33158160754348ec8227c84303850a525781422a1fc718330cc34baad5efbb111165df0e0e14a6ee7f6c89c19c976708116b2fecb3e686f281330e9
|
||||||
DIST gitlab-ce-8.16.6.tar.gz 20901900 SHA256 5b88dd855afc44da2b8f059056321fc0dd4cb7c2a97811c6c3ec65c3b44e1d8d SHA512 b6fdf4e8df787ea5812c9c6baf29cf86fcc440be7f1c8fd31410ccc93459208999f25956d8561d3a789ff75c6e112e396db79cd0fa3d959dd8b1b382ccb5d7b4 WHIRLPOOL 17b2203a1d1b36f814df781aaee1faafcf336794fa7c1792868685cb6ab4e7e7eb1de916b34fb28ba72be38d760187de48b8ac2b36bf4b722bf799f60e6b1c96
|
DIST gitlab-ce-8.16.6.tar.gz 20901900 SHA256 5b88dd855afc44da2b8f059056321fc0dd4cb7c2a97811c6c3ec65c3b44e1d8d SHA512 b6fdf4e8df787ea5812c9c6baf29cf86fcc440be7f1c8fd31410ccc93459208999f25956d8561d3a789ff75c6e112e396db79cd0fa3d959dd8b1b382ccb5d7b4 WHIRLPOOL 17b2203a1d1b36f814df781aaee1faafcf336794fa7c1792868685cb6ab4e7e7eb1de916b34fb28ba72be38d760187de48b8ac2b36bf4b722bf799f60e6b1c96
|
||||||
|
DIST gitlab-ce-8.17.0.tar.gz 22991847 SHA256 3883c2e505e511f83072f950b9d211783148b97e29f34144e57c8b180d7f4518 SHA512 e0ee1b1ab21a6ad262cccbb2abf544ccb18dafcaf61e83aa02bac0182bdd35a47a725741382876f3bb79f6f42764c59b7a992c16a916a1673a716417b34d8a87 WHIRLPOOL fe3c36e41d0fe3c3420a3e52dc61fc30f424d2832cd82587a6e50b6c6450ee9e99bb2897f87cc949b4663055a35e159cf7b6f471b6aa9046c6bb8b1fae526ab7
|
||||||
DIST gitlab-ce-8.17.0_rc3.tar.gz 23031572 SHA256 13ac75ce0737e9e9f46fea59828a0a71f3ad9fc4436859bc68938d4719190ba9 SHA512 c5998f7aeefd65ea46ee6357f15bc6e60253742f6007252bf9a1543f29f8973951f8d0f8d60dba87b08dbf5256427e9bf28198274a9dadb92b30b7f5adc76cd1 WHIRLPOOL 86380fedcacbd18f13b12f4792b506421726c4226512471eeeda8d085abc89e6b43f54b0301e0cbdb1f3afe6dade84452690576435220c0afc559bcd5f341df3
|
DIST gitlab-ce-8.17.0_rc3.tar.gz 23031572 SHA256 13ac75ce0737e9e9f46fea59828a0a71f3ad9fc4436859bc68938d4719190ba9 SHA512 c5998f7aeefd65ea46ee6357f15bc6e60253742f6007252bf9a1543f29f8973951f8d0f8d60dba87b08dbf5256427e9bf28198274a9dadb92b30b7f5adc76cd1 WHIRLPOOL 86380fedcacbd18f13b12f4792b506421726c4226512471eeeda8d085abc89e6b43f54b0301e0cbdb1f3afe6dade84452690576435220c0afc559bcd5f341df3
|
||||||
EBUILD gitlab-ce-8.15.4.ebuild 11982 SHA256 db794f18bc0d023a8b6adf49b82c2e37fd38b7206b064a7700289c0cfa16961c SHA512 ca30780d28ffc0242ac5f6ccad178cc44464a81f2d44cb13e53ddf06700d0f39b9fee9b77e356735435079b34090049d50d9019af71e92d6d8faaf3767a39dc5 WHIRLPOOL 42ee8b8e5a2c6fba69ecdbf6e306a87f369fa193f721c73481edc744953bfd210cb4495bc603ba01566efb2b0869ec71284a1f1b1c34d1a124bd08546829ca37
|
EBUILD gitlab-ce-8.15.4.ebuild 11982 SHA256 db794f18bc0d023a8b6adf49b82c2e37fd38b7206b064a7700289c0cfa16961c SHA512 ca30780d28ffc0242ac5f6ccad178cc44464a81f2d44cb13e53ddf06700d0f39b9fee9b77e356735435079b34090049d50d9019af71e92d6d8faaf3767a39dc5 WHIRLPOOL 42ee8b8e5a2c6fba69ecdbf6e306a87f369fa193f721c73481edc744953bfd210cb4495bc603ba01566efb2b0869ec71284a1f1b1c34d1a124bd08546829ca37
|
||||||
EBUILD gitlab-ce-8.15.7.ebuild 11982 SHA256 fab225a8a8a9373898b5c604ce41ed65c4648c46131798315df833326b006fb7 SHA512 ea17dc9927336aed09ba21e0e1c9c4df2998f941a05ff30e9ef9951b5318bcdfb1d332fa8d285a27f26356a9fa9a5f72da45882ab8edbfa6046ec96764dae47f WHIRLPOOL d51629d3c67f8be2636a2e5cb4bb4d4a7b0402394f47aaa01fc182c29f1d3ee916a2d5bb8086bbe871f41294e348ec024d81a775ba9c30028d8b97d93d637620
|
EBUILD gitlab-ce-8.15.7.ebuild 11982 SHA256 fab225a8a8a9373898b5c604ce41ed65c4648c46131798315df833326b006fb7 SHA512 ea17dc9927336aed09ba21e0e1c9c4df2998f941a05ff30e9ef9951b5318bcdfb1d332fa8d285a27f26356a9fa9a5f72da45882ab8edbfa6046ec96764dae47f WHIRLPOOL d51629d3c67f8be2636a2e5cb4bb4d4a7b0402394f47aaa01fc182c29f1d3ee916a2d5bb8086bbe871f41294e348ec024d81a775ba9c30028d8b97d93d637620
|
||||||
EBUILD gitlab-ce-8.16.4.ebuild 11982 SHA256 91875777d0953bffddd31318d9c5d4666ba59bd3446804d063c1199c603bd5a6 SHA512 7112bf185f25d90a11ee2a6e9d197c1ce781b49c486cc1afaff002ad66dcec7c9b43c3b9b6c26c62d23bb7e8c0fdd4c527e53a99f9674bb4af1e404454960227 WHIRLPOOL 76bd66e8b7d4ff04f02354cb6cdf3fa0b92ccf2cdcad26cf117f12330b3f3588713fd0d0465da2515750348975eb81daa6e02f984025804b7db50da99f4e8e5e
|
EBUILD gitlab-ce-8.16.4.ebuild 11982 SHA256 91875777d0953bffddd31318d9c5d4666ba59bd3446804d063c1199c603bd5a6 SHA512 7112bf185f25d90a11ee2a6e9d197c1ce781b49c486cc1afaff002ad66dcec7c9b43c3b9b6c26c62d23bb7e8c0fdd4c527e53a99f9674bb4af1e404454960227 WHIRLPOOL 76bd66e8b7d4ff04f02354cb6cdf3fa0b92ccf2cdcad26cf117f12330b3f3588713fd0d0465da2515750348975eb81daa6e02f984025804b7db50da99f4e8e5e
|
||||||
EBUILD gitlab-ce-8.16.5.ebuild 11982 SHA256 fd2648d0a2df06b5aa46435061f6d12b1d0d8b6958c2367b96c2f4a11dbf58f1 SHA512 de82deca3c9163959d6c4c2e41e57549506e49a6a1125d37fa7277e4ca00adb74a331dad4c103f8d1b2e80ebbe1511220c23aabc8889005dcc37684c5b3373c3 WHIRLPOOL 1f80a27148caf3b570df9b5c19849e453001ddc2fc78add1040c53cae249feafcb3a0343ad61d22135ba578f9d92137c048dad0f0744737ae326ac74bf08ce7d
|
EBUILD gitlab-ce-8.16.5.ebuild 11982 SHA256 fd2648d0a2df06b5aa46435061f6d12b1d0d8b6958c2367b96c2f4a11dbf58f1 SHA512 de82deca3c9163959d6c4c2e41e57549506e49a6a1125d37fa7277e4ca00adb74a331dad4c103f8d1b2e80ebbe1511220c23aabc8889005dcc37684c5b3373c3 WHIRLPOOL 1f80a27148caf3b570df9b5c19849e453001ddc2fc78add1040c53cae249feafcb3a0343ad61d22135ba578f9d92137c048dad0f0744737ae326ac74bf08ce7d
|
||||||
EBUILD gitlab-ce-8.16.6.ebuild 11982 SHA256 2cc7b8f06153f28ebcc34a5ff8e24be791689c41fc8a780149cdaeb61ffc70d3 SHA512 f9d43d16cac2edbcbc3d144133265b94bbb7dac8ed5266a7ba641cfa6f154eb62462ffff8a37b977559ca892eb20c968eb6f82c2aafbd20ce293f6a6bd7b7e29 WHIRLPOOL 5682849083932171dff509c2142e225992e2724b09987da47bab258fdf45eebaf615cb07739709da2c421eed6fc66f705d6ce35a8d956130598168908ee2f061
|
EBUILD gitlab-ce-8.16.6.ebuild 11982 SHA256 2cc7b8f06153f28ebcc34a5ff8e24be791689c41fc8a780149cdaeb61ffc70d3 SHA512 f9d43d16cac2edbcbc3d144133265b94bbb7dac8ed5266a7ba641cfa6f154eb62462ffff8a37b977559ca892eb20c968eb6f82c2aafbd20ce293f6a6bd7b7e29 WHIRLPOOL 5682849083932171dff509c2142e225992e2724b09987da47bab258fdf45eebaf615cb07739709da2c421eed6fc66f705d6ce35a8d956130598168908ee2f061
|
||||||
|
EBUILD gitlab-ce-8.17.0.ebuild 12831 SHA256 9556fe5712044ebe473b7ff8b847a4daa5ca1818a0ac714f22afc5725199da72 SHA512 4aaa00f4eac87a4bbe598cde792997e25b137eea9fdaf7e7c8394ec5e2abc54302ed5432efe1c7055dc195ca2599f9027463480c943f108bb399daa2eee833f5 WHIRLPOOL aec29db1dc7236f60d2723ec97444fa437a4f8b3092cbf53305f3cddbb6851a40b1a77a306daf4c9780ffe9a8eed760c580371bf95da66b18d884a32c3e48cd5
|
||||||
EBUILD gitlab-ce-8.17.0_rc3.ebuild 12258 SHA256 179da162a7ff3ab1fc9f3173aff30c59a73005622ccb0fe8ada57f950c9d0dd7 SHA512 b5f244a7a7ac980b1e1c1595b88613cf6f3649591a9430dac0db3a174432648b05707b0e3e79450f5882fb7044aca6bb3778a19566ad6c83c5fd30ee8c09893e WHIRLPOOL 49cfbbfedfcafecfa8a775bf0e3a8a9daa2fcce3a819ce92ab07ccaaa4b3881221cce5ebf4ec9333b9ed7a884717d037336dc644d359137e06fe5df3f51e9aaa
|
EBUILD gitlab-ce-8.17.0_rc3.ebuild 12258 SHA256 179da162a7ff3ab1fc9f3173aff30c59a73005622ccb0fe8ada57f950c9d0dd7 SHA512 b5f244a7a7ac980b1e1c1595b88613cf6f3649591a9430dac0db3a174432648b05707b0e3e79450f5882fb7044aca6bb3778a19566ad6c83c5fd30ee8c09893e WHIRLPOOL 49cfbbfedfcafecfa8a775bf0e3a8a9daa2fcce3a819ce92ab07ccaaa4b3881221cce5ebf4ec9333b9ed7a884717d037336dc644d359137e06fe5df3f51e9aaa
|
||||||
EBUILD gitlab-ce-9999.ebuild 12019 SHA256 bd4fa8a1b3820a36f942139b1c8f74fe9f99b6525e83522e7882b9f010b39870 SHA512 b2a2c1d0df976fbd2892ad8a30d2a7cac3e5d5009be2e28e107d76a32b1de976e502b21b34a584284ae19cc48382250c584d237e8438fa510083457a3f370209 WHIRLPOOL 31dc6fc06c3c8959862ab0d4a91ac2bdd6acef026638e1817beb31a88102ce3acd954fc390d970dd403e3681833dc5a56834f4c7500612ee018bdb79fa3bd818
|
EBUILD gitlab-ce-9999.ebuild 12766 SHA256 d6b55d9812c53897bcf8cf37ee53796e82eea3436521a3b49fa9de5b5d65997b SHA512 3291fe592b3c77b9b475e96fae36a32e17a74b883be7c7a46cb07981556c9a914201426d4a5f2602d35acdf375a9400be0af1d4b99ae3da30423f8b85054e9ab WHIRLPOOL 2329daae3eaa008a7e58e780e677647319e6945f0199c32655f0d86958bbb3cae5f32b09238afd784087a187e69f7b13c8d9e07edc127b8ea62e202946de6371
|
||||||
MISC ChangeLog 13399 SHA256 783d7692bda4c868948426032652c8307ed5e8be0f9aaacb3a3267eefa643ccf SHA512 f85c270f51a765c33c5fdfdd10ddf3ebd4768bf34fdec6b12cdbd653c6e8ae75bc9383087cb50fc790eaf7999f90e4939d7496d5463452b31c99f0ab8e176632 WHIRLPOOL 265346111e9234ae8883e0cd19a0fa94afbf4a88d8668be344fde0655902c0f16cfbdd7fe221b5a397feeb425d9e8fde60ddf29e1369d00d959da985d6dc2b82
|
MISC ChangeLog 14075 SHA256 bb183ca12c8db890a63592b489eab1f0cf18cedce37a7c710448ade99beb09c6 SHA512 00172c73021f20d32f4204332cb68b52bc707ce385c52a1d6a05bb5e23a3aa7ef75b3471d4b362622c1f3698a355c1f4d1ccde3c73e29433023e3cc50012f31f WHIRLPOOL 1078f3a5a71591f641a855d81d0d9475ac27c08cd3cd1e989d7a91e332eb5de7225bacce6e42f7edca8ec2594c1199a78941b5f25205468e2d27e40184bc51f4
|
||||||
MISC metadata.xml 559 SHA256 6c3f48d3ef57c97bf27790f33ee04bd8de8b01597caa8a2a7a473d6d0a3c5759 SHA512 5aa340b5429795d84cd106ee673fd55a42fd4b0d3299d6b95c6a3e3d50812a9620820a4de5c57d5048af0c3ecec7f575d5856d2f7fadc210aadcbdd4dd040fe1 WHIRLPOOL f3d7b8c0522e09f5156e6bb446bb74e4c75f5da4495ca2ece1eb78afce59307abe01bf3c5dd5344278fcac9e334300d912031c806f51b981591c01bc3588c6f3
|
MISC metadata.xml 559 SHA256 6c3f48d3ef57c97bf27790f33ee04bd8de8b01597caa8a2a7a473d6d0a3c5759 SHA512 5aa340b5429795d84cd106ee673fd55a42fd4b0d3299d6b95c6a3e3d50812a9620820a4de5c57d5048af0c3ecec7f575d5856d2f7fadc210aadcbdd4dd040fe1 WHIRLPOOL f3d7b8c0522e09f5156e6bb446bb74e4c75f5da4495ca2ece1eb78afce59307abe01bf3c5dd5344278fcac9e334300d912031c806f51b981591c01bc3588c6f3
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/config/webpack.config.js b/config/webpack.config.js
|
||||||
|
index d1bf9c6..210c871 100644
|
||||||
|
--- a/config/webpack.config.js
|
||||||
|
+++ b/config/webpack.config.js
|
||||||
|
@@ -6,7 +6,7 @@ var webpack = require('webpack');
|
||||||
|
var StatsPlugin = require('stats-webpack-plugin');
|
||||||
|
var CompressionPlugin = require('compression-webpack-plugin');
|
||||||
|
|
||||||
|
-var ROOT_PATH = path.resolve(__dirname, '..');
|
||||||
|
+var ROOT_PATH = '/opt/gitlab';
|
||||||
|
var IS_PRODUCTION = process.env.NODE_ENV === 'production';
|
||||||
|
var IS_DEV_SERVER = process.argv[1].indexOf('webpack-dev-server') !== -1;
|
||||||
|
var DEV_SERVER_PORT = parseInt(process.env.DEV_SERVER_PORT, 10) || 3808;
|
418
www-apps/gitlab-ce/gitlab-ce-8.17.0.ebuild
Normal file
418
www-apps/gitlab-ce/gitlab-ce-8.17.0.ebuild
Normal file
|
@ -0,0 +1,418 @@
|
||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
# Maintainer notes:
|
||||||
|
# - This ebuild uses Bundler to download and install all gems in deployment mode
|
||||||
|
# (i.e. into isolated directory inside application). That's not Gentoo way how
|
||||||
|
# it should be done, but GitLab has too many dependencies that it will be too
|
||||||
|
# difficult to maintain them via ebuilds.
|
||||||
|
#
|
||||||
|
|
||||||
|
USE_RUBY="ruby21 ruby23"
|
||||||
|
|
||||||
|
inherit eutils ruby-ng user systemd
|
||||||
|
|
||||||
|
MY_PV="v${PV/_/-}"
|
||||||
|
MY_GIT_COMMIT="77254ab78e4d1043fa269b46dba31222196c3b8f"
|
||||||
|
|
||||||
|
GITLAB_SHELL_VERSION="4.1.1"
|
||||||
|
GITLAB_WORKHORSE_VERSION="1.3.0"
|
||||||
|
|
||||||
|
DESCRIPTION="GitLab is a free project and repository management application"
|
||||||
|
HOMEPAGE="https://about.gitlab.com/"
|
||||||
|
SRC_URI="https://gitlab.com/gitlab-org/${PN}/repository/archive.tar.gz?ref=${MY_PV} -> ${P}.tar.gz"
|
||||||
|
RUBY_S="${PN}-${MY_PV}-${MY_GIT_COMMIT}"
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
|
||||||
|
IUSE="kerberos mysql +postgres +unicorn systemd rugged_use_system_libraries"
|
||||||
|
|
||||||
|
## Gems dependencies:
|
||||||
|
# charlock_holmes dev-libs/icu
|
||||||
|
# grape, capybara dev-libs/libxml2, dev-libs/libxslt
|
||||||
|
# rugged dev-util/cmake, virtual/pkgconfig
|
||||||
|
# json dev-util/ragel
|
||||||
|
# pygments.rb python 2.7+
|
||||||
|
# execjs net-libs/nodejs, or any other JS runtime
|
||||||
|
# pg dev-db/postgresql
|
||||||
|
# mysql virtual/mysql
|
||||||
|
#
|
||||||
|
GEMS_DEPEND="
|
||||||
|
dev-libs/icu
|
||||||
|
dev-libs/libxml2
|
||||||
|
dev-libs/libxslt
|
||||||
|
dev-util/ragel
|
||||||
|
net-libs/nodejs
|
||||||
|
postgres? ( >=dev-db/postgresql-9.1:* )
|
||||||
|
mysql? ( virtual/mysql )
|
||||||
|
kerberos? ( virtual/krb5 )"
|
||||||
|
CDEPEND="
|
||||||
|
dev-util/cmake
|
||||||
|
virtual/pkgconfig"
|
||||||
|
COMMON_DEPEND="
|
||||||
|
${GEMS_DEPEND}
|
||||||
|
~dev-vcs/gitlab-shell-${GITLAB_SHELL_VERSION}
|
||||||
|
>=dev-vcs/git-2.8.4
|
||||||
|
~dev-vcs/gitlab-workhorse-${GITLAB_WORKHORSE_VERSION}
|
||||||
|
>=net-libs/nodejs-4.3.0
|
||||||
|
kerberos? ( !app-crypt/heimdal )
|
||||||
|
rugged_use_system_libraries? ( net-libs/http-parser dev-libs/libgit2:0/24 )"
|
||||||
|
DEPEND="
|
||||||
|
${CDEPEND}
|
||||||
|
${COMMON_DEPEND}"
|
||||||
|
RDEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
>=dev-db/redis-2.8
|
||||||
|
virtual/mta
|
||||||
|
systemd? ( sys-apps/systemd:0= )"
|
||||||
|
# required bundler >= 1.14.2
|
||||||
|
ruby_add_bdepend "
|
||||||
|
virtual/rubygems
|
||||||
|
>=dev-ruby/bundler-1.13.7"
|
||||||
|
|
||||||
|
#
|
||||||
|
# fix-sendmail-config:
|
||||||
|
# Fix default settings to work with ssmtp that doesn't know '-t' argument.
|
||||||
|
# fix-redis-config-path:
|
||||||
|
# Point to the absolute location of redis_config.rb
|
||||||
|
#
|
||||||
|
RUBY_PATCHES=(
|
||||||
|
"01-${PN}-8.7.5-fix-sendmail-config.patch"
|
||||||
|
"02-${PN}-8.11.0-fix-redis-config-path.patch"
|
||||||
|
"03-${PN}-8.17.0-database.yml.patch"
|
||||||
|
"04-${PN}-8.12.7-fix-check-task.patch"
|
||||||
|
"05-${PN}-8.16.0-replace-sys-filesystem.patch"
|
||||||
|
"06-${PN}-8.17.0-fix-webpack-config.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
MY_NAME="gitlab"
|
||||||
|
MY_USER="git" # should be same as in gitlab-shell
|
||||||
|
|
||||||
|
DEST_DIR="/opt/${MY_NAME}"
|
||||||
|
CONF_DIR="/etc/${MY_NAME}"
|
||||||
|
LOGS_DIR="/var/log/${MY_NAME}"
|
||||||
|
TEMP_DIR="/var/tmp/${MY_NAME}"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
# fix paths
|
||||||
|
local satellites_path="${TEMP_DIR}/repo_satellites"
|
||||||
|
local repos_path=/var/lib/git/repositories
|
||||||
|
local shell_path=/usr/share/gitlab-shell
|
||||||
|
sed -i -E \
|
||||||
|
-e "/satellites:$/,/\w:$/ s|(\s*path:\s).*|\1${satellites_path}/|" \
|
||||||
|
-e "/gitlab_shell:$/,/\w:$/ s|(\s*path:\s).*|\1${shell_path}/|" \
|
||||||
|
-e "/gitlab_shell:$/,/\w:$/ s|(\s*repos_path:\s).*|\1${repos_path}/|" \
|
||||||
|
-e "/gitlab_shell:$/,/\w:$/ s|(\s*hooks_path:\s).*|\1${shell_path}/hooks/|" \
|
||||||
|
config/gitlab.yml.example || die "failed to filter gitlab.yml.example"
|
||||||
|
|
||||||
|
local run_path=/run/${MY_NAME}
|
||||||
|
sed -i -E \
|
||||||
|
-e "s|/home/git/gitlab/tmp/(pids\|sockets)|${run_path}|" \
|
||||||
|
-e "s|/home/git/gitlab/log|${LOGS_DIR}|" \
|
||||||
|
-e "s|/home/git/gitlab|${DEST_DIR}|" \
|
||||||
|
config/unicorn.rb.example || die "failed to filter unicorn.rb.example"
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
-e "s|/home/git/gitlab/tmp/sockets|${run_path}|" \
|
||||||
|
lib/support/nginx/gitlab || die "failed to filter nginx/gitlab"
|
||||||
|
|
||||||
|
# modify default database settings for PostgreSQL
|
||||||
|
sed -i -E \
|
||||||
|
-e 's|(username:).*|\1 gitlab|' \
|
||||||
|
-e 's|(password:).*|\1 gitlab|' \
|
||||||
|
-e 's|(socket:).*|\1 /run/postgresql/.s.PGSQL.5432|' \
|
||||||
|
config/database.yml.postgresql \
|
||||||
|
|| die "failed to filter database.yml.postgresql"
|
||||||
|
|
||||||
|
# rename config files
|
||||||
|
mv config/gitlab.yml.example config/gitlab.yml
|
||||||
|
mv config/unicorn.rb.example config/unicorn.rb
|
||||||
|
|
||||||
|
local dbconf=config/database.yml
|
||||||
|
if use postgres && ! use mysql; then
|
||||||
|
mv ${dbconf}.postgresql ${dbconf}
|
||||||
|
rm ${dbconf}.mysql
|
||||||
|
elif use mysql && ! use postgres; then
|
||||||
|
mv ${dbconf}.mysql ${dbconf}
|
||||||
|
rm ${dbconf}.postgresql
|
||||||
|
fi
|
||||||
|
|
||||||
|
# remove useless files
|
||||||
|
rm -r lib/support/{deploy,init.d}
|
||||||
|
use unicorn || rm config/unicorn.rb
|
||||||
|
}
|
||||||
|
|
||||||
|
all_ruby_install() {
|
||||||
|
local dest=${DEST_DIR}
|
||||||
|
local conf=${CONF_DIR}
|
||||||
|
local logs=${LOGS_DIR}
|
||||||
|
local temp=${TEMP_DIR}
|
||||||
|
|
||||||
|
# prepare directories
|
||||||
|
diropts -m750
|
||||||
|
dodir ${logs} ${temp}
|
||||||
|
|
||||||
|
diropts -m755
|
||||||
|
dodir ${conf} ${dest}/public/uploads
|
||||||
|
|
||||||
|
dosym ${temp} ${dest}/tmp
|
||||||
|
dosym ${logs} ${dest}/log
|
||||||
|
|
||||||
|
# install configs
|
||||||
|
insinto ${conf}
|
||||||
|
doins -r config/*
|
||||||
|
dosym ${conf} ${dest}/config
|
||||||
|
|
||||||
|
echo 'export RAILS_ENV=production' > "${D}/${dest}/.profile"
|
||||||
|
|
||||||
|
# remove needless dirs
|
||||||
|
rm -Rf config tmp log
|
||||||
|
|
||||||
|
# install the rest files
|
||||||
|
# using cp 'cause doins is slow
|
||||||
|
cp -Rl * "${D}/${dest}"/
|
||||||
|
|
||||||
|
# install logrotate config
|
||||||
|
dodir /etc/logrotate.d
|
||||||
|
cat > "${D}/etc/logrotate.d/${MY_NAME}" <<-EOF
|
||||||
|
${logs}/*.log {
|
||||||
|
missingok
|
||||||
|
delaycompress
|
||||||
|
compress
|
||||||
|
copytruncate
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
## Install gems via bundler ##
|
||||||
|
|
||||||
|
cd "${D}/${dest}"
|
||||||
|
|
||||||
|
local without="development test aws"
|
||||||
|
local flag; for flag in mysql postgres unicorn kerberos; do
|
||||||
|
without+="$(use $flag || echo ' '$flag)"
|
||||||
|
done
|
||||||
|
local bundle_args="--deployment ${without:+--without ${without}}"
|
||||||
|
|
||||||
|
use "rugged_use_system_libraries" && export RUGGED_USE_SYSTEM_LIBRARIES="YES"
|
||||||
|
|
||||||
|
einfo "Running bundle install ${bundle_args} ..."
|
||||||
|
${RUBY} /usr/bin/bundle install ${bundle_args} || die "bundler failed"
|
||||||
|
|
||||||
|
einfo "Cleaning old gems ..."
|
||||||
|
${RUBY} /usr/bin/bundle clean
|
||||||
|
|
||||||
|
# clean gems cache
|
||||||
|
rm -Rf vendor/bundle/ruby/*/cache
|
||||||
|
rm -Rf vendor/bundle/ruby/*/bundler/gems/charlock_holmes-dde194609b35/.git
|
||||||
|
|
||||||
|
## RC script ##
|
||||||
|
|
||||||
|
if use systemd ; then
|
||||||
|
ewarn "Beware: systemd support has not been tested, use at your own risk!"
|
||||||
|
systemd_newunit "${FILESDIR}/gitlab-8.13.0-sidekiq.service" "gitlab-sidekiq.service"
|
||||||
|
systemd_dounit "${FILESDIR}/gitlab-unicorn.service"
|
||||||
|
systemd_dounit "${FILESDIR}/gitlab-workhorse.service"
|
||||||
|
systemd_dounit "${FILESDIR}/gitlab-mailroom.service"
|
||||||
|
systemd_dotmpfilesd "${FILESDIR}/gitlab.conf"
|
||||||
|
else
|
||||||
|
local rcscript=gitlab-8.13.3-sidekiq.init
|
||||||
|
use unicorn && rcscript=gitlab-8.13.3-unicorn.init
|
||||||
|
|
||||||
|
cp "${FILESDIR}/${rcscript}" "${T}" || die
|
||||||
|
sed -i \
|
||||||
|
-e "s|@USER@|${MY_USER}|" \
|
||||||
|
-e "s|@GITLAB_BASE@|${dest}|" \
|
||||||
|
-e "s|@LOGS_DIR@|${logs}|" \
|
||||||
|
"${T}/${rcscript}" \
|
||||||
|
|| die "failed to filter ${rcscript}"
|
||||||
|
|
||||||
|
newinitd "${T}/${rcscript}" "${MY_NAME}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# fix permissions
|
||||||
|
fowners -R ${MY_USER}:${MY_USER} ${dest} ${temp} ${logs}
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "If this is an update from a previous version, stop your GitLab"
|
||||||
|
elog "instance and issue the following command to perform all required"
|
||||||
|
elog "migrations:"
|
||||||
|
elog " emerge --config \"=${CATEGORY}/${PF}\""
|
||||||
|
elog "PLEASE NOTE: It's HIGHLY recommended to backup your database"
|
||||||
|
elog "before running the config phase. Run these commands (as root):"
|
||||||
|
elog
|
||||||
|
elog " cd /opt/gitlab"
|
||||||
|
elog " sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production"
|
||||||
|
elog
|
||||||
|
elog "If this was a fresh install, follow these steps:"
|
||||||
|
elog
|
||||||
|
elog "1. Configure your GitLab's settings in ${CONF_DIR}/gitlab.yml."
|
||||||
|
elog
|
||||||
|
elog "2. Configure your database settings in ${CONF_DIR}/database.yml"
|
||||||
|
elog " for \"production\" environment."
|
||||||
|
elog
|
||||||
|
elog "3. Then you should create a database for your GitLab instance, if you"
|
||||||
|
elog " haven't done so already."
|
||||||
|
elog
|
||||||
|
if use postgres; then
|
||||||
|
elog "If you have local PostgreSQL running, just copy&run:"
|
||||||
|
elog " su postgres"
|
||||||
|
elog " psql -c \"CREATE ROLE gitlab PASSWORD 'gitlab' \\"
|
||||||
|
elog " NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN;\""
|
||||||
|
elog " createdb -E UTF-8 -O gitlab gitlabhq_production"
|
||||||
|
elog " Note: You should change your password to something more random..."
|
||||||
|
elog
|
||||||
|
fi
|
||||||
|
elog "4. Finally execute the following command to initialize the environment:"
|
||||||
|
elog " emerge --config \"=${CATEGORY}/${PF}\""
|
||||||
|
elog " Note: Do not forget to start Redis server first!"
|
||||||
|
elog
|
||||||
|
elog "If you're running GitLab behind an SSL proxy such as nginx or Apache and"
|
||||||
|
elog "you can't login after the upgrade, be sure to read the section about the"
|
||||||
|
elog "verification of the CSRF token in GitLab's trouble-shooting guide at"
|
||||||
|
elog "http://goo.gl/5XGRGv."
|
||||||
|
if use postgres; then
|
||||||
|
elog "Please note: As of GitLab 8.6, users of PostgreSQL need to enable the"
|
||||||
|
elog "`pg_trgm` extension by running the following command as a PostgreSQL"
|
||||||
|
elog "super user for *every* GitLab database:"
|
||||||
|
elog " CREATE EXTENSION IF NOT EXISTS pg_trgm;"
|
||||||
|
elog "For details, see the documentation at the GitLab website."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_config() {
|
||||||
|
einfo "Checking configuration files"
|
||||||
|
|
||||||
|
if [ ! -r "${CONF_DIR}/database.yml" ]; then
|
||||||
|
eerror "Copy ${CONF_DIR}/database.yml.* to"
|
||||||
|
eerror "${CONF_DIR}/database.yml and edit this file in order to configure your"
|
||||||
|
eerror "database settings for \"production\" environment."; die
|
||||||
|
fi
|
||||||
|
|
||||||
|
local email_from="$(ryaml ${CONF_DIR}/gitlab.yml production gitlab email_from)"
|
||||||
|
local git_home="$(egethome ${MY_USER})"
|
||||||
|
|
||||||
|
# configure Git global settings
|
||||||
|
if [ ! -e "${git_home}/.gitconfig" ]; then
|
||||||
|
einfo "Setting git user"
|
||||||
|
su -l ${MY_USER} -c "
|
||||||
|
git config --global user.email '${email_from}';
|
||||||
|
git config --global user.name 'GitLab'" \
|
||||||
|
|| die "failed to setup git name and email"
|
||||||
|
fi
|
||||||
|
|
||||||
|
su -l ${MY_USER} -c "git config --global repack.writeBitmaps true"
|
||||||
|
|
||||||
|
# determine whether this is an update or a fresh install. we do this by
|
||||||
|
# checking whether the ${DEST_DIR}/.git directory exists or not
|
||||||
|
#
|
||||||
|
if [ -d "${DEST_DIR}/.git" ]; then
|
||||||
|
local update=true
|
||||||
|
else
|
||||||
|
local update=false
|
||||||
|
fi
|
||||||
|
|
||||||
|
## Initialize app ##
|
||||||
|
|
||||||
|
local RAILS_ENV="production"
|
||||||
|
local RUBY=${RUBY:-/usr/bin/ruby}
|
||||||
|
local BUNDLE="${RUBY} /usr/bin/bundle"
|
||||||
|
|
||||||
|
# FIXME: this line existed in older ebuilds, but the variable is
|
||||||
|
# never used. what was it for!?
|
||||||
|
# local dbname="$(ryaml ${CONF_DIR}/database.yml production database)"
|
||||||
|
|
||||||
|
if [ "${update}" = 'true' ]; then
|
||||||
|
einfo "Migrating database ..."
|
||||||
|
exec_rake db:migrate
|
||||||
|
|
||||||
|
# https://github.com/gitlabhq/gitlabhq/issues/5311#issuecomment-31656496
|
||||||
|
einfo "Migrating iids ..."
|
||||||
|
exec_rake migrate_iids
|
||||||
|
|
||||||
|
einfo "Installing npm modules ..."
|
||||||
|
exec_npm install
|
||||||
|
|
||||||
|
einfo "Cleaning old precompiled assets ..."
|
||||||
|
exec_rake gitlab:assets:clean
|
||||||
|
|
||||||
|
einfo "Cleaning cache ..."
|
||||||
|
exec_rake cache:clear
|
||||||
|
else
|
||||||
|
# create dummy git repo as workaround for
|
||||||
|
# https://github.com/bundler/bundler/issues/2039
|
||||||
|
einfo "Initializing dummy git repository to avoid false errors from bundler"
|
||||||
|
su -l ${MY_USER} -c "
|
||||||
|
cd ${DEST_DIR}
|
||||||
|
git init
|
||||||
|
git add README.md
|
||||||
|
git commit -m 'Dummy repository'" >/dev/null
|
||||||
|
|
||||||
|
einfo "Initializing database ..."
|
||||||
|
exec_rake gitlab:setup
|
||||||
|
|
||||||
|
einfo "Installing npm modules ..."
|
||||||
|
exec_npm install
|
||||||
|
fi
|
||||||
|
|
||||||
|
einfo "Precompiling assests ..."
|
||||||
|
exec_rake gitlab:assets:compile
|
||||||
|
|
||||||
|
if [ "${update}" = 'true' ]; then
|
||||||
|
ewarn
|
||||||
|
ewarn "This configuration script runs only common migration tasks."
|
||||||
|
ewarn "Please read guides on"
|
||||||
|
ewarn " https://github.com/gitlabhq/gitlabhq/blob/master/doc/update/"
|
||||||
|
ewarn "for any additional migration tasks specific to your previous GitLab"
|
||||||
|
ewarn "version."
|
||||||
|
if use mysql ; then
|
||||||
|
ewarn "PLEASE also read this document about needed migrations on MySQL:"
|
||||||
|
ewarn "https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/database_mysql.md"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
elog
|
||||||
|
elog "If you want to make sure that the install/upgrade was successful, start"
|
||||||
|
elog "Gitlab now and then run these commands (as root):"
|
||||||
|
elog
|
||||||
|
elog " cd /opt/gitlab"
|
||||||
|
elog " sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production"
|
||||||
|
elog " sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production"
|
||||||
|
elog
|
||||||
|
if ! use systemd ; then
|
||||||
|
elog "You may also run"
|
||||||
|
elog " /etc/init.d/gitlab check"
|
||||||
|
elog " for convenience."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
ryaml() {
|
||||||
|
ruby -ryaml -e 'puts ARGV[1..-1].inject(YAML.load(File.read(ARGV[0]))) {|acc, key| acc[key] }' "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
exec_rake() {
|
||||||
|
local command="${BUNDLE} exec rake $@ RAILS_ENV=${RAILS_ENV} NODE_ENV=${RAILS_ENV}"
|
||||||
|
|
||||||
|
echo " ${command}"
|
||||||
|
su -l ${MY_USER} -c "
|
||||||
|
export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8; export NODE_PATH=${DEST_DIR}/node_modules
|
||||||
|
cd ${DEST_DIR}
|
||||||
|
${command}" \
|
||||||
|
|| die "failed to run rake $@"
|
||||||
|
}
|
||||||
|
|
||||||
|
exec_npm() {
|
||||||
|
local command="npm $@ --${RAILS_ENV}"
|
||||||
|
|
||||||
|
echo " ${command}"
|
||||||
|
su -l ${MY_USER} -c "
|
||||||
|
export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8; export NODE_PATH=${DEST_DIR}/node_modules
|
||||||
|
cd ${DEST_DIR}
|
||||||
|
${command}" \
|
||||||
|
|| die "failed to run npm $@"
|
||||||
|
}
|
|
@ -15,8 +15,6 @@ USE_RUBY="ruby21 ruby23"
|
||||||
|
|
||||||
inherit eutils git-r3 ruby-ng user systemd
|
inherit eutils git-r3 ruby-ng user systemd
|
||||||
|
|
||||||
DESCRIPTION="GitLab is a free project and repository management application"
|
|
||||||
HOMEPAGE="https://about.gitlab.com/"
|
|
||||||
EGIT_REPO_URI="https://gitlab.com/gitlab-org/${PN}.git"
|
EGIT_REPO_URI="https://gitlab.com/gitlab-org/${PN}.git"
|
||||||
EGIT_BRANCH="master"
|
EGIT_BRANCH="master"
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/all"
|
EGIT_CHECKOUT_DIR="${WORKDIR}/all"
|
||||||
|
@ -24,6 +22,9 @@ EGIT_CHECKOUT_DIR="${WORKDIR}/all"
|
||||||
GITLAB_SHELL_VERSION="4.1.1"
|
GITLAB_SHELL_VERSION="4.1.1"
|
||||||
GITLAB_WORKHORSE_VERSION="1.3.0"
|
GITLAB_WORKHORSE_VERSION="1.3.0"
|
||||||
|
|
||||||
|
DESCRIPTION="GitLab is a free project and repository management application"
|
||||||
|
HOMEPAGE="https://about.gitlab.com/"
|
||||||
|
|
||||||
RESTRICT="mirror"
|
RESTRICT="mirror"
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
|
@ -58,6 +59,7 @@ COMMON_DEPEND="
|
||||||
>=dev-vcs/gitlab-shell-${GITLAB_SHELL_VERSION}
|
>=dev-vcs/gitlab-shell-${GITLAB_SHELL_VERSION}
|
||||||
>=dev-vcs/git-2.8.4
|
>=dev-vcs/git-2.8.4
|
||||||
>=dev-vcs/gitlab-workhorse-${GITLAB_WORKHORSE_VERSION}
|
>=dev-vcs/gitlab-workhorse-${GITLAB_WORKHORSE_VERSION}
|
||||||
|
>=net-libs/nodejs-4.3.0
|
||||||
kerberos? ( !app-crypt/heimdal )
|
kerberos? ( !app-crypt/heimdal )
|
||||||
rugged_use_system_libraries? ( net-libs/http-parser dev-libs/libgit2:0/24 )"
|
rugged_use_system_libraries? ( net-libs/http-parser dev-libs/libgit2:0/24 )"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
|
@ -68,6 +70,7 @@ RDEPEND="
|
||||||
>=dev-db/redis-2.8
|
>=dev-db/redis-2.8
|
||||||
virtual/mta
|
virtual/mta
|
||||||
systemd? ( sys-apps/systemd:0= )"
|
systemd? ( sys-apps/systemd:0= )"
|
||||||
|
# required bundler >= 1.14.2
|
||||||
ruby_add_bdepend "
|
ruby_add_bdepend "
|
||||||
virtual/rubygems
|
virtual/rubygems
|
||||||
>=dev-ruby/bundler-1.13.7"
|
>=dev-ruby/bundler-1.13.7"
|
||||||
|
@ -84,6 +87,7 @@ RUBY_PATCHES=(
|
||||||
"03-${PN}-8.17.0-database.yml.patch"
|
"03-${PN}-8.17.0-database.yml.patch"
|
||||||
"04-${PN}-8.12.7-fix-check-task.patch"
|
"04-${PN}-8.12.7-fix-check-task.patch"
|
||||||
"05-${PN}-8.16.0-replace-sys-filesystem.patch"
|
"05-${PN}-8.16.0-replace-sys-filesystem.patch"
|
||||||
|
"06-${PN}-8.17.0-fix-webpack-config.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
MY_NAME="gitlab"
|
MY_NAME="gitlab"
|
||||||
|
@ -336,8 +340,11 @@ pkg_config() {
|
||||||
einfo "Migrating iids ..."
|
einfo "Migrating iids ..."
|
||||||
exec_rake migrate_iids
|
exec_rake migrate_iids
|
||||||
|
|
||||||
|
einfo "Installing npm modules ..."
|
||||||
|
exec_npm install
|
||||||
|
|
||||||
einfo "Cleaning old precompiled assets ..."
|
einfo "Cleaning old precompiled assets ..."
|
||||||
exec_rake assets:clean
|
exec_rake gitlab:assets:clean
|
||||||
|
|
||||||
einfo "Cleaning cache ..."
|
einfo "Cleaning cache ..."
|
||||||
exec_rake cache:clear
|
exec_rake cache:clear
|
||||||
|
@ -353,10 +360,13 @@ pkg_config() {
|
||||||
|
|
||||||
einfo "Initializing database ..."
|
einfo "Initializing database ..."
|
||||||
exec_rake gitlab:setup
|
exec_rake gitlab:setup
|
||||||
|
|
||||||
|
einfo "Installing npm modules ..."
|
||||||
|
exec_npm install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
einfo "Precompiling assests ..."
|
einfo "Precompiling assests ..."
|
||||||
exec_rake assets:precompile
|
exec_rake gitlab:assets:compile
|
||||||
|
|
||||||
if [ "${update}" = 'true' ]; then
|
if [ "${update}" = 'true' ]; then
|
||||||
ewarn
|
ewarn
|
||||||
|
@ -365,6 +375,10 @@ pkg_config() {
|
||||||
ewarn " https://github.com/gitlabhq/gitlabhq/blob/master/doc/update/"
|
ewarn " https://github.com/gitlabhq/gitlabhq/blob/master/doc/update/"
|
||||||
ewarn "for any additional migration tasks specific to your previous GitLab"
|
ewarn "for any additional migration tasks specific to your previous GitLab"
|
||||||
ewarn "version."
|
ewarn "version."
|
||||||
|
if use mysql ; then
|
||||||
|
ewarn "PLEASE also read this document about needed migrations on MySQL:"
|
||||||
|
ewarn "https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/database_mysql.md"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
elog
|
elog
|
||||||
elog "If you want to make sure that the install/upgrade was successful, start"
|
elog "If you want to make sure that the install/upgrade was successful, start"
|
||||||
|
@ -386,12 +400,23 @@ ryaml() {
|
||||||
}
|
}
|
||||||
|
|
||||||
exec_rake() {
|
exec_rake() {
|
||||||
local command="${BUNDLE} exec rake $@ RAILS_ENV=${RAILS_ENV}"
|
local command="${BUNDLE} exec rake $@ RAILS_ENV=${RAILS_ENV} NODE_ENV=${RAILS_ENV}"
|
||||||
|
|
||||||
echo " ${command}"
|
echo " ${command}"
|
||||||
su -l ${MY_USER} -c "
|
su -l ${MY_USER} -c "
|
||||||
export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8
|
export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8; export NODE_PATH=${DEST_DIR}/node_modules
|
||||||
cd ${DEST_DIR}
|
cd ${DEST_DIR}
|
||||||
${command}" \
|
${command}" \
|
||||||
|| die "failed to run rake $@"
|
|| die "failed to run rake $@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec_npm() {
|
||||||
|
local command="npm $@ --${RAILS_ENV}"
|
||||||
|
|
||||||
|
echo " ${command}"
|
||||||
|
su -l ${MY_USER} -c "
|
||||||
|
export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8; export NODE_PATH=${DEST_DIR}/node_modules
|
||||||
|
cd ${DEST_DIR}
|
||||||
|
${command}" \
|
||||||
|
|| die "failed to run npm $@"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue