-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
peertube: 6.0.4 -> 6.3.3 #358194
peertube: 6.0.4 -> 6.3.3 #358194
Conversation
Cleanup PR without formating |
It looks like this PR will only build if this PR from the Peertube project has been fixed: Chocobozzz/PeerTube#6548 I have put a remark about this in that PR. |
So the problem is that the test fails on this:
|
Hi, @synq Sorry but have zero build issue on peertube 6.3.3 Best Regards |
It does look like the NixOS test is failing. |
Not really relevant, as that is about managing external plugins. Your log is cut off on the side, but it's complaining about diff --git a/pkgs/servers/peertube/default.nix b/pkgs/servers/peertube/default.nix
index 35750c0eeebb..58f9a74b8f0b 100644
--- a/pkgs/servers/peertube/default.nix
+++ b/pkgs/servers/peertube/default.nix
@@ -134,6 +134,7 @@ stdenv.mkDerivation rec {
~/packages/models/dist/ \
~/packages/node-utils/dist/ \
~/packages/server-commands/dist/ \
+ ~/packages/transcription/dist/ \
~/packages/typescript-utils/dist/ \
\( -name '*.d.ts' -o -name '*.d.ts.map' \) -type f -delete
'';
@@ -144,12 +145,13 @@ stdenv.mkDerivation rec {
mv ~/node_modules $out/node_modules
mkdir $out/client
mv ~/client/{dist,node_modules,package.json,yarn.lock} $out/client
- mkdir -p $out/packages/{core-utils,ffmpeg,models,node-utils,server-commands,typescript-utils}
+ mkdir -p $out/packages/{core-utils,ffmpeg,models,node-utils,server-commands,transcription,typescript-utils}
mv ~/packages/core-utils/{dist,package.json} $out/packages/core-utils
mv ~/packages/ffmpeg/{dist,package.json} $out/packages/ffmpeg
mv ~/packages/models/{dist,package.json} $out/packages/models
mv ~/packages/node-utils/{dist,package.json} $out/packages/node-utils
mv ~/packages/server-commands/{dist,package.json} $out/packages/server-commands
+ mv ~/packages/transcription/{dist,package.json} $out/packages/transcription
mv ~/packages/typescript-utils/{dist,package.json} $out/packages/typescript-utils
mv ~/{config,support,CREDITS.md,FAQ.md,LICENSE,README.md,package.json,yarn.lock} $out
And a new storage location was added diff --git a/nixos/modules/services/web-apps/peertube.nix b/nixos/modules/services/web-apps/peertube.nix
index d85c601f316f..bffc74e10610 100644
--- a/nixos/modules/services/web-apps/peertube.nix
+++ b/nixos/modules/services/web-apps/peertube.nix
@@ -355,19 +355,20 @@ in {
tmp_persistent = lib.mkDefault "/var/lib/peertube/storage/tmp_persistent/";
bin = lib.mkDefault "/var/lib/peertube/storage/bin/";
avatars = lib.mkDefault "/var/lib/peertube/storage/avatars/";
+ logs = lib.mkDefault "/var/lib/peertube/storage/logs/";
web_videos = lib.mkDefault "/var/lib/peertube/storage/web-videos/";
streaming_playlists = lib.mkDefault "/var/lib/peertube/storage/streaming-playlists/";
+ original_video_files = lib.mkDefault "/var/lib/peertube/storage/original-video-files/";
redundancy = lib.mkDefault "/var/lib/peertube/storage/redundancy/";
- logs = lib.mkDefault "/var/lib/peertube/storage/logs/";
- previews = lib.mkDefault "/var/lib/peertube/storage/previews/";
thumbnails = lib.mkDefault "/var/lib/peertube/storage/thumbnails/";
storyboards = lib.mkDefault "/var/lib/peertube/storage/storyboards/";
- torrents = lib.mkDefault "/var/lib/peertube/storage/torrents/";
+ previews = lib.mkDefault "/var/lib/peertube/storage/previews/";
captions = lib.mkDefault "/var/lib/peertube/storage/captions/";
+ torrents = lib.mkDefault "/var/lib/peertube/storage/torrents/";
cache = lib.mkDefault "/var/lib/peertube/storage/cache/";
plugins = lib.mkDefault "/var/lib/peertube/storage/plugins/";
- well_known = lib.mkDefault "/var/lib/peertube/storage/well_known/";
client_overrides = lib.mkDefault "/var/lib/peertube/storage/client-overrides/";
+ well_known = lib.mkDefault "/var/lib/peertube/storage/well_known/";
};
import = {
videos = { With that, the VM test passes. |
9398820
to
161ed1d
Compare
Maybe keep the current sort order? At the very least, can see the history of file changes in upstream. |
|
Will this be backported to 24.11? |
I'd have nothing against it personally, but it wouldn't conform to the general policy of only backporting security fixes. @wegank @RossComputerGuy how firm is that rule? |
One point to argue for backporting is that 6.1 (which we don't have yet) fixes two important security bugs: https://joinpeertube.org/news/release-6.1 |
(cherry picked from commit 0c053df)
Successfully created backport PR for |
peertube: 6.0.4 -> 6.3.3 (#358194) (cherry picked from commit 0c053df) Co-authored-by: liberodark <[email protected]>
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.