Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7572786449ca
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7201d2392049
Choose a head ref
  • 7 commits
  • 17 files changed
  • 2 contributors

Commits on Jan 3, 2020

  1. gitlab-shell: 10.2.0 -> 10.3.0

    (cherry picked from commit 6972aec)
    talyz authored and flokli committed Jan 3, 2020
    Copy the full SHA
    dbc7909 View commit details
  2. gitlab-workhorse: 8.14.1 -> 8.18.0

    (cherry picked from commit 2f61471)
    talyz authored and flokli committed Jan 3, 2020
    Copy the full SHA
    9fc0570 View commit details
  3. gitaly: 1.72.1 -> a4b6c71d4b7c1588587345e2dfe0c6bd7cc63a83

    For some reason this untagged commit is the one referred to in the
    main repository; this might be a mistake, but we'll have to package it
    for now to follow upstream.
    
    (cherry picked from commit 445bc14)
    talyz authored and flokli committed Jan 3, 2020
    Copy the full SHA
    18469ac View commit details
  4. gitlab: update.py: Get go deps for gitlab-shell from the root dir

    GitLab Shell now has the go.mod and go.sum files in the root of the
    repo; the go subdirectory has been removed and all the code in it has
    been moved up to the root.
    
    (cherry picked from commit a3c72e6)
    talyz authored and flokli committed Jan 3, 2020
    Copy the full SHA
    7ce433c View commit details
  5. gitlab: 12.5.5 -> 12.6.0

    (cherry picked from commit ff28cfa)
    talyz authored and flokli committed Jan 3, 2020
    Copy the full SHA
    c93501d View commit details
  6. gitlab: 12.6.0 -> 12.6.1

    (cherry picked from commit 0825e38)
    talyz authored and flokli committed Jan 3, 2020
    Copy the full SHA
    fd7ce83 View commit details
  7. Copy the full SHA
    7201d23 View commit details
12 changes: 6 additions & 6 deletions pkgs/applications/version-management/gitlab/data.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "12.5.5",
"repo_hash": "1vafy31s2sbs6xc2cp457k535yyawz630i8ks22ypyg2m2gy5n5m",
"version": "12.6.2",
"repo_hash": "0bchamvr3f0ph49f7xa76gsp2mjj1ajy4q0wy1hjvr9bayxx94av",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v12.5.5-ee",
"rev": "v12.6.2-ee",
"passthru": {
"GITALY_SERVER_VERSION": "1.72.1",
"GITALY_SERVER_VERSION": "a4b6c71d4b7c1588587345e2dfe0c6bd7cc63a83",
"GITLAB_PAGES_VERSION": "1.12.0",
"GITLAB_SHELL_VERSION": "10.2.0",
"GITLAB_WORKHORSE_VERSION": "8.14.1"
"GITLAB_SHELL_VERSION": "10.3.0",
"GITLAB_WORKHORSE_VERSION": "8.18.0"
}
}
9 changes: 8 additions & 1 deletion pkgs/applications/version-management/gitlab/default.nix
Original file line number Diff line number Diff line change
@@ -43,7 +43,14 @@ let
pname = "gitlab-assets";
inherit version src;

nativeBuildInputs = [ rubyEnv.wrappedRuby rubyEnv.bundler nodejs yarn ];
nativeBuildInputs = [ rubyEnv.wrappedRuby rubyEnv.bundler nodejs yarn git ];

# Since version 12.6.0, the rake tasks need the location of git,
# so we have to apply the location patches here too.
patches = [ ./remove-hardcoded-locations.patch ];
# One of the patches uses this variable - if it's unset, execution
# of rake tasks fails.
GITLAB_LOG_PATH = "log";

configurePhase = ''
runHook preConfigure
Original file line number Diff line number Diff line change
@@ -99,7 +99,7 @@ GEM
licensee (8.9.2)
rugged (~> 0.24)
listen (0.5.3)
loofah (2.3.0)
loofah (2.3.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
memoizable (0.4.2)
@@ -111,7 +111,7 @@ GEM
mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.11.3)
msgpack (1.3.0)
msgpack (1.3.1)
multi_json (1.13.1)
multipart-post (2.0.0)
nokogiri (1.10.5)
@@ -176,7 +176,7 @@ GEM
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
ruby-progressbar (1.10.0)
rugged (0.28.3.1)
rugged (0.28.4.1)
safe_yaml (1.0.5)
sanitize (4.6.6)
crass (~> 1.0.2)
10 changes: 7 additions & 3 deletions pkgs/applications/version-management/gitlab/gitaly/default.nix
Original file line number Diff line number Diff line change
@@ -17,16 +17,20 @@ let
};
};
in buildGoPackage rec {
version = "1.72.1";
version = "a4b6c71d4b7c1588587345e2dfe0c6bd7cc63a83";
pname = "gitaly";

src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
sha256 = "0gnhw7p8fgy3w15828qjgkkxcd4dg7gf1hpanc3xqawb8jqpfc91";
rev = version;
sha256 = "1pxmhq1nrc8q2kk83bz5afx14hshqgzqm6j4vgmyjvbmdvgl80wv";
};

# Fix a check which assumes that hook files are writeable by their
# owner.
patches = [ ./fix-executable-check.patch ];

goPackagePath = "gitlab.com/gitlab-org/gitaly";

passthru = {
59 changes: 43 additions & 16 deletions pkgs/applications/version-management/gitlab/gitaly/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/internal/config/config.go b/internal/config/config.go
index 037c9602..3d5409dc 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -185,7 +185,7 @@ func checkExecutable(path string) error {
return err
}

- if fi.Mode()&0755 < 0755 {
+ if fi.Mode()&0555 < 0555 {
return fmt.Errorf("not executable: %v", path)
}

12 changes: 6 additions & 6 deletions pkgs/applications/version-management/gitlab/gitaly/gemset.nix
Original file line number Diff line number Diff line change
@@ -418,10 +418,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "06kfq90vi38gv6i128f4zg462kj32szs5vsgm25hxgw9zd12pj9x";
sha256 = "0npqav026zd7r4qdidq9x5nxcp2dzg71bnp421xxx7sngbxf2xbd";
type = "gem";
};
version = "2.3.0";
version = "2.3.1";
};
memoizable = {
dependencies = ["thread_safe"];
@@ -490,10 +490,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1186lhwnxiw5ryv6dbxrsfy0fajfll2l95kf9pmca50iyiqi86zn";
sha256 = "1qr2mkm2i3m76zarvy7qgjl9596hmvjrg7x6w42vx8cfsbf5p0y1";
type = "gem";
};
version = "1.3.0";
version = "1.3.1";
};
multi_json = {
source = {
@@ -791,10 +791,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "03w3k7j27kgzpcc3halkd3w0b677sny2lfwm2lwn2n1ac20dzjc6";
sha256 = "0rdidxgpk1b6y1jq9v77lcx5khq0s9q0s253lr8x57d3hk43iskx";
type = "gem";
};
version = "0.28.3.1";
version = "0.28.4.1";
};
safe_yaml = {
groups = ["default" "development" "test"];
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@

buildGoPackage rec {
pname = "gitlab-shell-go";
version = "10.2.0";
version = "10.3.0";
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-shell";
rev = "v${version}";
sha256 = "1mpzsdqd8mlsh8wccz4s8415w080z55lnifn7l7vd5rflpnyfhcj";
sha256 = "0kxbw2n5kabh0876xqn1dcjbxyrp82ms566rw065nqrb32g8c2hk";
};

buildInputs = [ ruby ];
17 changes: 4 additions & 13 deletions pkgs/applications/version-management/gitlab/gitlab-shell/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/go/internal/config/config.go b/go/internal/config/config.go
diff --git a/internal/config/config.go b/internal/config/config.go
index 2231851..c869930 100644
--- a/go/internal/config/config.go
+++ b/go/internal/config/config.go
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -3,7 +3,6 @@ package config
import (
"io/ioutil"
@@ -29,10 +29,10 @@ index 2231851..c869930 100644
}

func newFromFile(filename string) (*Config, error) {
diff --git a/go/internal/keyline/key_line.go b/go/internal/keyline/key_line.go
index f92f50b..160e287 100644
--- a/go/internal/keyline/key_line.go
+++ b/go/internal/keyline/key_line.go
diff --git a/internal/keyline/key_line.go b/internal/keyline/key_line.go
index c29a320..c44b701 100644
--- a/internal/keyline/key_line.go
+++ b/internal/keyline/key_line.go
@@ -36,7 +36,7 @@ func NewPrincipalKeyLine(keyId string, principal string, rootDir string) (*KeyLi
}

@@ -43,10 +43,10 @@ index f92f50b..160e287 100644
return fmt.Sprintf(`command="%s",%s %s`, command, SshOptions, k.Value)
}
diff --git a/support/gitlab_config.rb b/support/gitlab_config.rb
index 1416488..90a5f79 100644
index 52ac5ee..d96baa3 100644
--- a/support/gitlab_config.rb
+++ b/support/gitlab_config.rb
@@ -4,7 +4,7 @@ class GitlabConfig
@@ -7,7 +7,7 @@ class GitlabConfig
attr_reader :config

def initialize
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
buildGoPackage rec {
pname = "gitlab-workhorse";

version = "8.14.1";
version = "8.18.0";

src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-workhorse";
rev = "v${version}";
sha256 = "19flb9b9l9214ykwgjphcqrinncnfvhis7nrvcr4ns6rlpxnc9dl";
sha256 = "0qsbz8gv9r9wfvxsh9mpspgs2gyyidxdz5n9n7ibfy7z129mx4ak";
};

goPackagePath = "gitlab.com/gitlab-org/gitlab-workhorse";
Loading