gitlab: Switch to "GitLab Nexedi Edition"
authorKirill Smelkov <kirr@nexedi.com>
Fri, 8 Jan 2016 10:48:40 +0000 (13:48 +0300)
committerKirill Smelkov <kirr@nexedi.com>
Sun, 17 Jan 2016 21:42:45 +0000 (00:42 +0300)
commit74d4ea62abb9cc42bc694f7c1812050589da0beb
tree9398f27d0dc5f0f385a824e8cc934f991c05eb88
parent3c445ad350ab2e31a57dab802e378c3c1be913d0
gitlab: Switch to "GitLab Nexedi Edition"

GitLab Nexedi Edition is currently upstream 8.2.X + the following
patches:

    - HTTP(S) is made to be default clone protocol

        https://lab.nexedi.com/kirr/gitlab-ce/commit/5c1f2fb3

      and SSH info is completely removed from UI

        https://lab.nexedi.com/kirr/gitlab-ce/commit/dfe9fb16
        https://lab.nexedi.com/kirr/gitlab-ce/commit/f3f84743

      so essentially the only way to access a repository is via HTTP(S).

    - Rake check tasks are adjusted to exit with non-zero code if there
      is a failure

        https://lab.nexedi.com/kirr/gitlab-ce/commit/a93ae418

      We need this for promises to work correctly with failures being
      detected, not silently skipped. The patch was sent upstream:

        https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1885

    - GitLab supports setting up site's ICP License in gitlab.yml and
      shows it in appropriate places together with info about GitLab
      itself:

        https://lab.nexedi.com/kirr/gitlab-ce/commit/e7e0fd88
        https://lab.nexedi.com/kirr/gitlab-ce/commit/79c127e6

    + other cosmetic/minor changes.

More patches will probably come (e.g. apply a single patch from a
merge-request with `git am` without creating merge commit for just 1
patch, etc) but for now that's all.

NOTE ICP is non-ascii text with hieroglyphs. slapos.core was taught to
    be able to pass parameters with non-ascii values to instance:

        https://lab.nexedi.com/nexedi/slapos.core/commit/347d33d6

    That patch is included in slapos.core 1.3.15, but as we currently
    have a lot of older slapos.core deployed (e.g. 1.3.5 on my
    development webrunner) a workaround is (hopefully temporarily) used
    to pass non-ascii values as URL-encoded strings.

/cc @kazuhiko, @jerome, @rafael
software/gitlab/instance-gitlab.cfg.in
software/gitlab/software.cfg
software/gitlab/template/gitlab.yml.in