1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/applications/version-management
talyz ed4a09c6f3 gitlab: Get rid of most 'already initialized constant'-warnings
On start, unicorn, sidekiq and other parts running ruby code emits
quite a few warnings similar to

/var/gitlab/state/config/application.rb:202: warning: already initialized constant Gitlab::Application::LOOSE_EE_APP_ASSETS
/nix/store/ysb0lgbzxp7a9y4yl8d4f9wrrzy9kafc-gitlab-ee-12.3.5/share/gitlab/config/application.rb:202: warning: previous definition of LOOSE_EE_APP_ASSETS was here
/var/gitlab/state/lib/gitlab.rb:38: warning: already initialized constant Gitlab::COM_URL
/nix/store/ysb0lgbzxp7a9y4yl8d4f9wrrzy9kafc-gitlab-ee-12.3.5/share/gitlab/lib/gitlab.rb:38: warning: previous definition of COM_URL was here

This seems to be caused by the same ruby files being evaluated
multiple times due to the paths being different - sometimes they're
loaded using the direct path and sometimes through a symlink, due to
our split between config and package data. To fix this, we make sure
that the offending files in the state directory always reference the
store path, regardless of that being the real file or a symlink.
2019-10-19 19:30:28 +02:00
..
arch
bazaar treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
bcompare bcompare: 4.2.10.23938 -> 4.3.0.24364 2019-10-11 06:14:23 +02:00
bitkeeper treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
blackbox Merge master into staging-next 2019-08-27 16:36:47 +02:00
bugseverywhere treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
cvs
cvs-fast-export
cvs2svn treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
cvsps treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
diffuse treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
fossil fossil: 2.9 -> 2.10 2019-10-07 10:23:52 -07:00
gerrit gerrit: 2.14.6 -> 3.0.2 2019-09-06 22:01:22 +00:00
git-and-tools git-annex-utils: init at 0.04-3-g531bb33 2019-10-15 14:41:24 +02:00
git-crecord treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-lfs git-lfs: use buildGoPackage 2019-09-21 04:34:00 -05:00
git-repo gitRepo: 1.13.6 -> 1.13.7 2019-10-09 18:02:22 +02:00
git-review treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
git-sizer treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
git-up git-up: 1.4.2 -> 1.6.1 2019-10-03 00:19:33 +02:00
gitea gitea: 1.9.3 -> 1.9.4 2019-10-08 21:11:07 +02:00
gitinspector treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
gitkraken Merge branch 'master' into staging-next 2019-10-03 01:47:08 +02:00
gitlab gitlab: Get rid of most 'already initialized constant'-warnings 2019-10-19 19:30:28 +02:00
gitless
gitolite treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
gitstats treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
gogs treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
gource treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
guitone treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
meld maintainer: mimadrid: update github username and personal data 2019-09-14 12:15:46 +02:00
mercurial tortoisehg: untie from mercurial and update to 5.0.2 (#66173) 2019-08-18 18:28:03 +03:00
monotone treewide: name -> pname 2019-08-17 10:54:38 +00:00
monotone-viz treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
mr treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
nbstripout nbstripout: 0.3.1 -> 0.3.6 2019-09-07 14:43:43 +03:00
nitpick treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
p4v treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
peru treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
pijul treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
rabbitvcs treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
rapidsvn treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
rcs
redmine treewide: name -> pname 2019-08-17 10:54:38 +00:00
reposurgeon
sit treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
smartgithg treewide: drop adding hicolor-icon-theme where possible 2019-09-18 22:47:26 +02:00
sourcehut sourcehut.srht: unmark as broken 2019-10-06 08:48:40 -04:00
src src: 1.26 -> 1.27 2019-09-28 20:46:00 -07:00
srcml treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
sublime-merge sublime-merge-dev: 1111 -> 1115 2019-07-19 18:19:14 -04:00
subversion subversion: 1.9.10 -> 1.9.12, 1.10.4 -> 1.10.6 2019-08-10 09:23:48 -04:00
tailor treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
tkcvs
tortoisehg treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
vcprompt treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
vcsh treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
yadm treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00