Skip to content

Commit df0503c

Browse files
authored
victorialogs: 1.24.0 -> 1.25.0 (#423260)
2 parents 0399d49 + b46c0f2 commit df0503c

File tree

1 file changed

+6
-27
lines changed

1 file changed

+6
-27
lines changed

pkgs/by-name/vi/victorialogs/package.nix

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
buildGoModule (finalAttrs: {
1010
pname = "VictoriaLogs";
11-
version = "1.24.0";
11+
version = "1.25.0";
1212

1313
src = fetchFromGitHub {
1414
owner = "VictoriaMetrics";
15-
repo = "VictoriaMetrics";
16-
tag = "v${finalAttrs.version}-victorialogs";
17-
hash = "sha256-E52hvxazzbz9FcPFZFcRHs2vVg6fJJQ8HsieQovQSi4=";
15+
repo = "VictoriaLogs";
16+
tag = "v${finalAttrs.version}";
17+
hash = "sha256-KhXB+37uK08dDYXtnaPDS7gP/gBGZ0gqyR0u572QOx8=";
1818
};
1919

2020
vendorHash = null;
@@ -28,31 +28,12 @@ buildGoModule (finalAttrs: {
2828
"app/vlogscli"
2929
];
3030

31-
postPatch = ''
32-
# main module (github.com/VictoriaMetrics/VictoriaMetrics) does not contain package
33-
# github.com/VictoriaMetrics/VictoriaMetrics/app/vmui/packages/vmui/web
34-
#
35-
# This appears to be some kind of test server for development purposes only.
36-
# rm -f app/vmui/packages/vmui/web/{go.mod,main.go}
37-
38-
# Increase timeouts in tests to prevent failure on heavily loaded builders
39-
substituteInPlace lib/storage/storage_test.go \
40-
--replace-fail "time.After(10 " "time.After(120 " \
41-
--replace-fail "time.NewTimer(30 " "time.NewTimer(120 " \
42-
--replace-fail "time.NewTimer(time.Second * 10)" "time.NewTimer(time.Second * 120)" \
43-
'';
44-
4531
ldflags = [
4632
"-s"
4733
"-w"
4834
"-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${finalAttrs.version}"
4935
];
5036

51-
preCheck = ''
52-
# `lib/querytracer/tracer_test.go` expects `buildinfo.Version` to be unset
53-
export ldflags=''${ldflags//=${finalAttrs.version}/=}
54-
'';
55-
5637
__darwinAllowLocalNetworking = true;
5738

5839
passthru = {
@@ -61,17 +42,15 @@ buildGoModule (finalAttrs: {
6142
victorialogs
6243
;
6344
};
64-
updateScript = nix-update-script {
65-
extraArgs = [ "--version-regex=(.*)-victorialogs" ];
66-
};
45+
updateScript = nix-update-script { };
6746
};
6847

6948
meta = {
7049
homepage = "https://docs.victoriametrics.com/victorialogs/";
7150
description = "User friendly log database from VictoriaMetrics";
7251
license = lib.licenses.asl20;
7352
maintainers = with lib.maintainers; [ marie ];
74-
changelog = "https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/${finalAttrs.src.tag}";
53+
changelog = "https://github.com/VictoriaMetrics/VictoriaLogs/releases/tag/${finalAttrs.src.tag}";
7554
mainProgram = "victoria-logs";
7655
};
7756
})

0 commit comments

Comments
 (0)