invidious: 2.20240427 -> 2.20240825.2 (#337338)
This commit is contained in:
commit
310d15111f
@ -20,7 +20,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ config.services.postgresql.settings.port ];
|
||||
};
|
||||
machine = { config, lib, pkgs, ... }: {
|
||||
machine = { lib, pkgs, ... }: {
|
||||
services.invidious = {
|
||||
enable = true;
|
||||
};
|
||||
@ -81,11 +81,11 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
|
||||
|
||||
def activate_specialisation(name: str):
|
||||
machine.succeed(f"${nodes.machine.config.system.build.toplevel}/specialisation/{name}/bin/switch-to-configuration test >&2")
|
||||
machine.succeed(f"${nodes.machine.system.build.toplevel}/specialisation/{name}/bin/switch-to-configuration test >&2")
|
||||
|
||||
|
||||
url = "http://localhost:${toString nodes.machine.config.services.invidious.port}"
|
||||
port = ${toString nodes.machine.config.services.invidious.port}
|
||||
url = "http://localhost:${toString nodes.machine.services.invidious.port}"
|
||||
port = ${toString nodes.machine.services.invidious.port}
|
||||
|
||||
# start postgres vm now
|
||||
postgres_tcp.start()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, callPackage
|
||||
, crystal
|
||||
, fetchFromGitea
|
||||
, fetchFromGitHub
|
||||
, librsvg
|
||||
, pkg-config
|
||||
, libxml2
|
||||
@ -29,8 +29,7 @@ crystal.buildCrystalPackage rec {
|
||||
pname = "invidious";
|
||||
inherit (versions.invidious) version;
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "gitea.invidious.io";
|
||||
src = fetchFromGitHub {
|
||||
owner = "iv-org";
|
||||
repo = "invidious";
|
||||
fetchSubmodules = true;
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
ameba = {
|
||||
url = "https://github.com/crystal-ameba/ameba.git";
|
||||
rev = "v1.5.0";
|
||||
sha256 = "1idivsbpmi40aqvs82fsv37nrgikirprxrj3ls9chsb876fq9p2d";
|
||||
rev = "v1.6.1";
|
||||
sha256 = "1qlgqpgycfxvvrfzih7b9ayb6fvkffz5aw0msbj70z2q7wvsq29p";
|
||||
};
|
||||
athena-negotiation = {
|
||||
url = "https://github.com/athena-framework/negotiation.git";
|
||||
|
@ -36,7 +36,7 @@ if [ ! -d "$git_dir" ]; then
|
||||
fi
|
||||
git -C "$git_dir" fetch origin --tags "$git_branch"
|
||||
|
||||
new_tag="$(git -C "$git_dir" ls-remote --tags --sort=committerdate origin | head -n1 | grep -Po '(?<=refs/tags/).*')"
|
||||
new_tag="$(git -C "$git_dir" ls-remote --tags --sort=-committerdate origin | tail -n1 | grep -Po '(?<=refs/tags/).*')"
|
||||
new_version="${new_tag#v}"
|
||||
|
||||
if [ "$new_version" = "$old_version" ]; then
|
||||
@ -44,8 +44,9 @@ if [ "$new_version" = "$old_version" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
info "updating to $new_tag"
|
||||
commit="$(git -C "$git_dir" rev-list "$new_tag" --max-count=1 --abbrev-commit)"
|
||||
date="$(git -C "$git_dir" log -1 --format=%cd --date=format:%Y.%m.%d)"
|
||||
date="$(git -C "$git_dir" log -1 --format=%cd --date=format:%Y.%m.%d "$commit")"
|
||||
json_set '.invidious.date' "$date"
|
||||
json_set '.invidious.commit' "$commit"
|
||||
json_set '.invidious.version' "$new_version"
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"invidious": {
|
||||
"hash": "sha256-YZ+uhn1ESuRTZxAMoxKCpxEaUfeCUqOrSr3LkdbrTkU=",
|
||||
"version": "2.20240427",
|
||||
"date": "2024.04.27",
|
||||
"commit": "eda7444c"
|
||||
"hash": "sha256-oNkEFATRVgPC8Bhp0v04an3LvqgsSEjLZdeblb7n8TI=",
|
||||
"version": "2.20240825.2",
|
||||
"date": "2024.08.26",
|
||||
"commit": "4782a670"
|
||||
},
|
||||
"videojs": {
|
||||
"hash": "sha256-jED3zsDkPN8i6GhBBJwnsHujbuwlHdsVpVqa1/pzSH4="
|
||||
|
Loading…
Reference in New Issue
Block a user