From 511ded3ed07ed200120d21de3afa9472047b1f55 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Tue, 1 Oct 2024 19:02:14 +0200 Subject: [PATCH 1/2] refactor(nextcloud_test_presets): Use Docker ADD to download app releases Signed-off-by: provokateurin --- .../nextcloud_test_presets/docker/Dockerfile | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/Dockerfile b/packages/nextcloud/packages/nextcloud_test_presets/docker/Dockerfile index 7eaaaab80e1..bfe34b7c09d 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/Dockerfile +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/Dockerfile @@ -21,36 +21,41 @@ ENV PHP_CLI_SERVER_WORKERS=10 CMD ["php", "-S", "0.0.0.0:80"] FROM alpine:latest@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d AS apps -RUN apk add curl - FROM apps AS cookbook ARG COOKBOOK_URL -RUN curl -L "$COOKBOOK_URL" | tar -xz -C / +ADD $COOKBOOK_URL /tmp/app.tar.gz +RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS news ARG NEWS_URL -RUN curl -L "$NEWS_URL" | tar -xz -C / +ADD $NEWS_URL /tmp/app.tar.gz +RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS notes ARG NOTES_URL -RUN curl -L "$NOTES_URL" | tar -xz -C / +ADD $NOTES_URL /tmp/app.tar.gz +RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS uppush ARG UPPUSH_URL -RUN curl -L "$UPPUSH_URL" | tar -xz -C / +ADD $UPPUSH_URL /tmp/app.tar.gz +RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS spreed ARG SPREED_URL -RUN curl -L "$SPREED_URL" | tar -xz -C / +ADD $SPREED_URL /tmp/app.tar.gz +RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS tables ARG TABLES_URL -RUN curl -L "$TABLES_URL" | tar -xz -C / +ADD $TABLES_URL /tmp/app.tar.gz +RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS drop_account ARG DROP_ACCOUNT_URL -RUN curl -L "$DROP_ACCOUNT_URL" | tar -xz -C / +ADD $DROP_ACCOUNT_URL /tmp/app.tar.gz +RUN tar -xzf /tmp/app.tar.gz -C / FROM nextcloud From 76fff244fa9c832f2d1d7b86e2bcc0a4d64cc1e6 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Tue, 1 Oct 2024 19:33:32 +0200 Subject: [PATCH 2/2] feat(nextcloud_test_presets): Add and verify app release checksums Signed-off-by: provokateurin --- .../nextcloud_test_presets/docker/Dockerfile | 21 +++++++++----- .../docker/presets/cookbook/0.11 | 7 +++++ .../docker/presets/drop_account/2.4 | 7 +++++ .../docker/presets/drop_account/2.5 | 7 +++++ .../docker/presets/drop_account/2.6 | 7 +++++ .../docker/presets/news/25.0 | 7 +++++ .../docker/presets/notes/4.10 | 7 +++++ .../docker/presets/notes/4.11 | 7 +++++ .../docker/presets/notes/4.8 | 7 +++++ .../docker/presets/notes/4.9 | 7 +++++ .../docker/presets/spreed/18.0 | 7 +++++ .../docker/presets/spreed/19.0 | 7 +++++ .../docker/presets/spreed/20.0 | 7 +++++ .../docker/presets/tables/0.6 | 7 +++++ .../docker/presets/tables/0.7 | 7 +++++ .../docker/presets/tables/0.8 | 7 +++++ .../docker/presets/uppush/1.4 | 7 +++++ .../docker/presets/uppush/1.5 | 7 +++++ .../lib/src/generate_presets.dart | 29 +++++++++++++++---- .../lib/src/models/app_release.dart | 2 ++ .../nextcloud_test_presets/pubspec.yaml | 1 + 21 files changed, 159 insertions(+), 13 deletions(-) diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/Dockerfile b/packages/nextcloud/packages/nextcloud_test_presets/docker/Dockerfile index bfe34b7c09d..37bbd0ecd2b 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/Dockerfile +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/Dockerfile @@ -24,37 +24,44 @@ FROM alpine:latest@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367eff FROM apps AS cookbook ARG COOKBOOK_URL -ADD $COOKBOOK_URL /tmp/app.tar.gz +ARG COOKBOOK_CHECKSUM +ADD --checksum=$COOKBOOK_CHECKSUM $COOKBOOK_URL /tmp/app.tar.gz RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS news ARG NEWS_URL -ADD $NEWS_URL /tmp/app.tar.gz +ARG NEWS_CHECKSUM +ADD --checksum=$NEWS_CHECKSUM $NEWS_URL /tmp/app.tar.gz RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS notes ARG NOTES_URL -ADD $NOTES_URL /tmp/app.tar.gz +ARG NOTES_CHECKSUM +ADD --checksum=$NOTES_CHECKSUM $NOTES_URL /tmp/app.tar.gz RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS uppush ARG UPPUSH_URL -ADD $UPPUSH_URL /tmp/app.tar.gz +ARG UPPUSH_CHECKSUM +ADD --checksum=$UPPUSH_CHECKSUM $UPPUSH_URL /tmp/app.tar.gz RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS spreed ARG SPREED_URL -ADD $SPREED_URL /tmp/app.tar.gz +ARG SPREED_CHECKSUM +ADD --checksum=$SPREED_CHECKSUM $SPREED_URL /tmp/app.tar.gz RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS tables ARG TABLES_URL -ADD $TABLES_URL /tmp/app.tar.gz +ARG TABLES_CHECKSUM +ADD --checksum=$TABLES_CHECKSUM $TABLES_URL /tmp/app.tar.gz RUN tar -xzf /tmp/app.tar.gz -C / FROM apps AS drop_account ARG DROP_ACCOUNT_URL -ADD $DROP_ACCOUNT_URL /tmp/app.tar.gz +ARG DROP_ACCOUNT_CHECKSUM +ADD --checksum=$DROP_ACCOUNT_CHECKSUM $DROP_ACCOUNT_URL /tmp/app.tar.gz RUN tar -xzf /tmp/app.tar.gz -C / FROM nextcloud diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/cookbook/0.11 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/cookbook/0.11 index 5e81e6a69c5..b4e971df1fc 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/cookbook/0.11 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/cookbook/0.11 @@ -1,8 +1,15 @@ SERVER_VERSION=30.0.0-fpm-alpine@sha256:c13308eaba442e9af950fb79e4d2fc4e8258d22e9ef68b85953d6431b17618c1 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v20.0.0/spreed-v20.0.0.tar.gz +SPREED_CHECKSUM=sha256:a749b8b3865b584ca23cf0512af106164ff4c4df888983c44c37a09bff100d66 TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.4 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.4 index 31b125902b2..7beb34deb11 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.4 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.4 @@ -1,8 +1,15 @@ SERVER_VERSION=28.0.10-fpm-alpine@sha256:7ca7cfb30118f3f28cb6a77f8e81459c66a91f8c224219af940a39d26493fe25 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.4.0.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:f3136cbf78ff9d2d22b8433841fcf76c239bceaeda9a9c2318ae0d582bf6384e NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v18.0.11/spreed-v18.0.11.tar.gz +SPREED_CHECKSUM=sha256:78c7454b9c9058936c4d5b870595f8bf43d2a1c3ff9d3f89692ed1493605f29d TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.5 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.5 index 96a267a5b35..a8cd6e076d5 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.5 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.5 @@ -1,8 +1,15 @@ SERVER_VERSION=29.0.7-fpm-alpine@sha256:c0f2102721226d67c63472a853125b1acf723a5f6a5de498b60721d1058c3ea6 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.5.0.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:498e8c198d2b67ea3464191d44e6706655c94a5e13faea745abfcb9a21aacd03 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v19.0.9/spreed-v19.0.9.tar.gz +SPREED_CHECKSUM=sha256:719604e76f2348d9cf1602529eaa2ca0fca8ffb577cdd5002319c5a5c3aebe1e TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.6 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.6 index 5e81e6a69c5..b4e971df1fc 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.6 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/drop_account/2.6 @@ -1,8 +1,15 @@ SERVER_VERSION=30.0.0-fpm-alpine@sha256:c13308eaba442e9af950fb79e4d2fc4e8258d22e9ef68b85953d6431b17618c1 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v20.0.0/spreed-v20.0.0.tar.gz +SPREED_CHECKSUM=sha256:a749b8b3865b584ca23cf0512af106164ff4c4df888983c44c37a09bff100d66 TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/news/25.0 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/news/25.0 index ec38d5944c9..7e561678320 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/news/25.0 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/news/25.0 @@ -1,8 +1,15 @@ SERVER_VERSION=29.0.7-fpm-alpine@sha256:c0f2102721226d67c63472a853125b1acf723a5f6a5de498b60721d1058c3ea6 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v19.0.9/spreed-v19.0.9.tar.gz +SPREED_CHECKSUM=sha256:719604e76f2348d9cf1602529eaa2ca0fca8ffb577cdd5002319c5a5c3aebe1e TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.10 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.10 index 146fe2408d8..4fbf5a1f303 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.10 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.10 @@ -1,8 +1,15 @@ SERVER_VERSION=30.0.0-fpm-alpine@sha256:c13308eaba442e9af950fb79e4d2fc4e8258d22e9ef68b85953d6431b17618c1 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.10.1/notes-v4.10.1.tar.gz +NOTES_CHECKSUM=sha256:4fb15499ace26f92d956c9e8fd537f35961825eb535dc1bcf678da992809e88c SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v20.0.0/spreed-v20.0.0.tar.gz +SPREED_CHECKSUM=sha256:a749b8b3865b584ca23cf0512af106164ff4c4df888983c44c37a09bff100d66 TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.11 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.11 index 5e81e6a69c5..b4e971df1fc 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.11 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.11 @@ -1,8 +1,15 @@ SERVER_VERSION=30.0.0-fpm-alpine@sha256:c13308eaba442e9af950fb79e4d2fc4e8258d22e9ef68b85953d6431b17618c1 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v20.0.0/spreed-v20.0.0.tar.gz +SPREED_CHECKSUM=sha256:a749b8b3865b584ca23cf0512af106164ff4c4df888983c44c37a09bff100d66 TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.8 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.8 index 95c489a5960..25ba25257d9 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.8 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.8 @@ -1,8 +1,15 @@ SERVER_VERSION=28.0.10-fpm-alpine@sha256:7ca7cfb30118f3f28cb6a77f8e81459c66a91f8c224219af940a39d26493fe25 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.8.1/notes.tar.gz +NOTES_CHECKSUM=sha256:05f1f55beed358a651b80021290110b65bfc78f4ed250bd941530cbb7cd42d1e SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v18.0.11/spreed-v18.0.11.tar.gz +SPREED_CHECKSUM=sha256:78c7454b9c9058936c4d5b870595f8bf43d2a1c3ff9d3f89692ed1493605f29d TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.9 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.9 index 3bd1810b749..12cad8308bd 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.9 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/notes/4.9 @@ -1,8 +1,15 @@ SERVER_VERSION=29.0.7-fpm-alpine@sha256:c0f2102721226d67c63472a853125b1acf723a5f6a5de498b60721d1058c3ea6 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.9.4/notes-v4.9.4.tar.gz +NOTES_CHECKSUM=sha256:bc987c9f905908916df495dee7c37efec438264cf264a0c5c18521264b26a083 SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v19.0.9/spreed-v19.0.9.tar.gz +SPREED_CHECKSUM=sha256:719604e76f2348d9cf1602529eaa2ca0fca8ffb577cdd5002319c5a5c3aebe1e TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/18.0 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/18.0 index 2fde9898880..0eeadf9cdca 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/18.0 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/18.0 @@ -1,8 +1,15 @@ SERVER_VERSION=28.0.10-fpm-alpine@sha256:7ca7cfb30118f3f28cb6a77f8e81459c66a91f8c224219af940a39d26493fe25 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v18.0.11/spreed-v18.0.11.tar.gz +SPREED_CHECKSUM=sha256:78c7454b9c9058936c4d5b870595f8bf43d2a1c3ff9d3f89692ed1493605f29d TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/19.0 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/19.0 index ec38d5944c9..7e561678320 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/19.0 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/19.0 @@ -1,8 +1,15 @@ SERVER_VERSION=29.0.7-fpm-alpine@sha256:c0f2102721226d67c63472a853125b1acf723a5f6a5de498b60721d1058c3ea6 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v19.0.9/spreed-v19.0.9.tar.gz +SPREED_CHECKSUM=sha256:719604e76f2348d9cf1602529eaa2ca0fca8ffb577cdd5002319c5a5c3aebe1e TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/20.0 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/20.0 index 5e81e6a69c5..b4e971df1fc 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/20.0 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/spreed/20.0 @@ -1,8 +1,15 @@ SERVER_VERSION=30.0.0-fpm-alpine@sha256:c13308eaba442e9af950fb79e4d2fc4e8258d22e9ef68b85953d6431b17618c1 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v20.0.0/spreed-v20.0.0.tar.gz +SPREED_CHECKSUM=sha256:a749b8b3865b584ca23cf0512af106164ff4c4df888983c44c37a09bff100d66 TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.6 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.6 index d3bacd17bd2..65a36b95b7b 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.6 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.6 @@ -1,8 +1,15 @@ SERVER_VERSION=29.0.7-fpm-alpine@sha256:c0f2102721226d67c63472a853125b1acf723a5f6a5de498b60721d1058c3ea6 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v19.0.9/spreed-v19.0.9.tar.gz +SPREED_CHECKSUM=sha256:719604e76f2348d9cf1602529eaa2ca0fca8ffb577cdd5002319c5a5c3aebe1e TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.6.6/tables-v0.6.6.tar.gz +TABLES_CHECKSUM=sha256:7ce024420ccaa09fcfef4e0d4dc295d3100ce8d20df8de18ab6c8f09e8e4ef5d UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.7 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.7 index 9820adfcbdb..1d642c810bc 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.7 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.7 @@ -1,8 +1,15 @@ SERVER_VERSION=30.0.0-fpm-alpine@sha256:c13308eaba442e9af950fb79e4d2fc4e8258d22e9ef68b85953d6431b17618c1 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v20.0.0/spreed-v20.0.0.tar.gz +SPREED_CHECKSUM=sha256:a749b8b3865b584ca23cf0512af106164ff4c4df888983c44c37a09bff100d66 TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.7.5/tables-v0.7.5.tar.gz +TABLES_CHECKSUM=sha256:abab5c97174c9f190e712eafd108fb49068dd8c19ccea4b79a6f839b492eb0c7 UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.8 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.8 index 5e81e6a69c5..b4e971df1fc 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.8 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/tables/0.8 @@ -1,8 +1,15 @@ SERVER_VERSION=30.0.0-fpm-alpine@sha256:c13308eaba442e9af950fb79e4d2fc4e8258d22e9ef68b85953d6431b17618c1 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v20.0.0/spreed-v20.0.0.tar.gz +SPREED_CHECKSUM=sha256:a749b8b3865b584ca23cf0512af106164ff4c4df888983c44c37a09bff100d66 TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/uppush/1.4 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/uppush/1.4 index 8e23d074717..2b307be1b2e 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/uppush/1.4 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/uppush/1.4 @@ -1,8 +1,15 @@ SERVER_VERSION=29.0.7-fpm-alpine@sha256:c0f2102721226d67c63472a853125b1acf723a5f6a5de498b60721d1058c3ea6 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v19.0.9/spreed-v19.0.9.tar.gz +SPREED_CHECKSUM=sha256:719604e76f2348d9cf1602529eaa2ca0fca8ffb577cdd5002319c5a5c3aebe1e TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.4.3.tar.gz +UPPUSH_CHECKSUM=sha256:99a17577eda2c466b2f6de386d16c8d6690e2659ca1d04eb4946073dd22d0f1d diff --git a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/uppush/1.5 b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/uppush/1.5 index 5e81e6a69c5..b4e971df1fc 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/uppush/1.5 +++ b/packages/nextcloud/packages/nextcloud_test_presets/docker/presets/uppush/1.5 @@ -1,8 +1,15 @@ SERVER_VERSION=30.0.0-fpm-alpine@sha256:c13308eaba442e9af950fb79e4d2fc4e8258d22e9ef68b85953d6431b17618c1 COOKBOOK_URL=https://github.com/christianlupus-nextcloud/cookbook-releases/releases/download/v0.11.2/cookbook-0.11.2.tar.gz +COOKBOOK_CHECKSUM=sha256:ba96d3773bb5ec11fab5e860094713c41bd354e3b7d4aae2ff7def19de149f2c DROP_ACCOUNT_URL=https://packages.framasoft.org/projects/nextcloud-apps/drop-account/drop_account-2.6.1.tar.gz +DROP_ACCOUNT_CHECKSUM=sha256:226e84712aa61d62e99eaa834abc7cd4496ed07289830af06cefeb58c4135123 NEWS_URL=https://github.com/nextcloud/news/releases/download/25.0.0-alpha9/news.tar.gz +NEWS_CHECKSUM=sha256:8c7d45fc8648b65644a6c7e05e14688e2603e9911586cb91bf3f10b346775052 NOTES_URL=https://github.com/nextcloud-releases/notes/releases/download/v4.11.0/notes-v4.11.0.tar.gz +NOTES_CHECKSUM=sha256:7693027a18e13d0a0e03e31574b786737ef4866a96ce6b0c733815d3c9bf70ee SPREED_URL=https://github.com/nextcloud-releases/spreed/releases/download/v20.0.0/spreed-v20.0.0.tar.gz +SPREED_CHECKSUM=sha256:a749b8b3865b584ca23cf0512af106164ff4c4df888983c44c37a09bff100d66 TABLES_URL=https://github.com/nextcloud-releases/tables/releases/download/v0.8.1/tables-v0.8.1.tar.gz +TABLES_CHECKSUM=sha256:d39dd61f4408fef8618fb2015923b478e33b372467812b1b515722ca466bf05a UPPUSH_URL=https://codeberg.org/NextPush/uppush/archive/1.5.1.tar.gz +UPPUSH_CHECKSUM=sha256:99ab0dbd371db8f4abe1dae2e1af7cba374c814edf644edb949051fa977566e9 diff --git a/packages/nextcloud/packages/nextcloud_test_presets/lib/src/generate_presets.dart b/packages/nextcloud/packages/nextcloud_test_presets/lib/src/generate_presets.dart index 28a091cdd99..879594c7000 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/lib/src/generate_presets.dart +++ b/packages/nextcloud/packages/nextcloud_test_presets/lib/src/generate_presets.dart @@ -1,6 +1,7 @@ import 'dart:convert'; import 'dart:io' show Directory, File, Link; +import 'package:crypto/crypto.dart'; import 'package:http/http.dart' as http; import 'package:nextcloud/core.dart' as core; import 'package:nextcloud_test_presets/src/models/models.dart'; @@ -23,6 +24,8 @@ Future generatePresets() async { serverReleases.sort((a, b) => b.compareTo(a)); final apps = await _getApps(appIDs, httpClient); + final urlChecksums = {}; + for (final app in apps) { final appPresetsDir = Directory('docker/presets/${app.id}'); if (appPresetsDir.existsSync()) { @@ -39,17 +42,30 @@ Future generatePresets() async { final buffer = StringBuffer()..writeln('SERVER_VERSION=${serverRelease.dockerImageTag}'); for (final a in apps) { - buffer - ..write(a.id.toUpperCase()) - ..write('_URL='); + late final AppRelease appRelease; if (a == app) { - buffer.writeln(release.url); + appRelease = release; } else { - final release = a.findLatestCompatibleRelease(serverRelease) ?? + appRelease = a.findLatestCompatibleRelease(serverRelease) ?? a.findLatestCompatibleRelease(serverRelease, allowUnstable: true) ?? a.findLatestRelease(); - buffer.writeln(release.url); } + + if (urlChecksums[appRelease.url] == null) { + final request = http.Request('GET', Uri.parse(appRelease.url)); + + final streamedResponse = await httpClient.send(request); + if (streamedResponse.statusCode != 200) { + throw Exception('Unable to get app, status code: ${streamedResponse.statusCode}'); + } + + final checksum = await sha256.bind(streamedResponse.stream).first; + urlChecksums[appRelease.url] = checksum.toString(); + } + + buffer + ..writeln('${a.id.toUpperCase()}_URL=${appRelease.url}') + ..writeln('${a.id.toUpperCase()}_CHECKSUM=sha256:${urlChecksums[appRelease.url]}'); } File('${appPresetsDir.path}/${release.presetVersion}').writeAsStringSync(buffer.toString()); @@ -179,6 +195,7 @@ Future> _getApps(List appIDs, http.Client httpClient) async { final download = release['download'] as String; final appRelease = AppRelease( + app: id, version: version, url: download, minimumServerVersion: minimumServerVersionRequirement, diff --git a/packages/nextcloud/packages/nextcloud_test_presets/lib/src/models/app_release.dart b/packages/nextcloud/packages/nextcloud_test_presets/lib/src/models/app_release.dart index b823677a20b..44b0701be3e 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/lib/src/models/app_release.dart +++ b/packages/nextcloud/packages/nextcloud_test_presets/lib/src/models/app_release.dart @@ -5,12 +5,14 @@ import 'package:nextcloud_test_presets/src/models/models.dart'; @internal class AppRelease implements Comparable { const AppRelease({ + required this.app, required this.version, required this.url, required this.minimumServerVersion, required this.maximumServerVersion, }); + final String app; final Version version; final String url; final Version minimumServerVersion; diff --git a/packages/nextcloud/packages/nextcloud_test_presets/pubspec.yaml b/packages/nextcloud/packages/nextcloud_test_presets/pubspec.yaml index 0d124fb452a..d815a33975c 100644 --- a/packages/nextcloud/packages/nextcloud_test_presets/pubspec.yaml +++ b/packages/nextcloud/packages/nextcloud_test_presets/pubspec.yaml @@ -6,6 +6,7 @@ environment: sdk: ^3.0.0 dependencies: + crypto: ^3.0.0 http: ^1.2.0 meta: ^1.0.0 nextcloud: ^8.0.1