The Free Software Media System - Server Backend & API
include xml docs when publishing
crobibero44fb76bbcf30
diff --git a/Dockerfile b/Dockerfileindex d3fb138a81..4fdffc7400 100644--- a/Dockerfile+++ b/Dockerfile@@ -14,7 +14,7 @@ COPY . .ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# because of changes in docker and systemd we need to not build in parallel at the moment# see https://success.docker.com/article/how-to-reserve-resource-temporarily-unavailable-errors-due-to-tasksmax-setting-RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="/jellyfin" --self-contained --runtime linux-x64 "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="/jellyfin" --self-contained --runtime linux-x64 "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"FROM debian:buster-slimdiff --git a/Dockerfile.arm b/Dockerfile.armindex 59b8a8c982..751ab86119 100644--- a/Dockerfile.arm+++ b/Dockerfile.arm@@ -21,7 +21,7 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# Discard objs - may cause failures if existsRUN find . -type d -name obj | xargs -r rm -r# Build-RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"FROM multiarch/qemu-user-static:x86_64-arm as qemudiff --git a/Dockerfile.arm64 b/Dockerfile.arm64index 1a691b5727..0d2e91d91c 100644--- a/Dockerfile.arm64+++ b/Dockerfile.arm64@@ -21,7 +21,7 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# Discard objs - may cause failures if existsRUN find . -type d -name obj | xargs -r rm -r# Build-RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm64 "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm64 "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"FROM multiarch/qemu-user-static:x86_64-aarch64 as qemuFROM arm64v8/debian:buster-slimdiff --git a/debian/rules b/debian/rulesindex 2a5d41a696..6c7fbb779d 100755--- a/debian/rules+++ b/debian/rules@@ -40,7 +40,7 @@ override_dh_clistrip:override_dh_auto_build:dotnet publish --configuration $(CONFIG) --output='$(CURDIR)/usr/lib/jellyfin/bin' --self-contained --runtime $(DOTNETRUNTIME) \- "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none" Jellyfin.Server+ "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none" Jellyfin.Serveroverride_dh_auto_clean:dotnet clean -maxcpucount:1 --configuration $(CONFIG) Jellyfin.Server || truediff --git a/deployment/Dockerfile.docker.amd64 b/deployment/Dockerfile.docker.amd64index 204ded3a49..cf09014045 100644--- a/deployment/Dockerfile.docker.amd64+++ b/deployment/Dockerfile.docker.amd64@@ -12,4 +12,4 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# because of changes in docker and systemd we need to not build in parallel at the moment# see https://success.docker.com/article/how-to-reserve-resource-temporarily-unavailable-errors-due-to-tasksmax-setting-RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-x64 "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-x64 "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"diff --git a/deployment/Dockerfile.docker.arm64 b/deployment/Dockerfile.docker.arm64index eedbaac333..5454ef0247 100644--- a/deployment/Dockerfile.docker.arm64+++ b/deployment/Dockerfile.docker.arm64@@ -12,4 +12,4 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# because of changes in docker and systemd we need to not build in parallel at the moment# see https://success.docker.com/article/how-to-reserve-resource-temporarily-unavailable-errors-due-to-tasksmax-setting-RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-arm64 "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-arm64 "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"diff --git a/deployment/Dockerfile.docker.armhf b/deployment/Dockerfile.docker.armhfindex 2a500246b0..d99fa2a85c 100644--- a/deployment/Dockerfile.docker.armhf+++ b/deployment/Dockerfile.docker.armhf@@ -12,4 +12,4 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# because of changes in docker and systemd we need to not build in parallel at the moment# see https://success.docker.com/article/how-to-reserve-resource-temporarily-unavailable-errors-due-to-tasksmax-setting-RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-arm "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-arm "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"diff --git a/deployment/build.linux.amd64 b/deployment/build.linux.amd64index a7fb0544ad..d0a5c1747a 100755--- a/deployment/build.linux.amd64+++ b/deployment/build.linux.amd64@@ -16,7 +16,7 @@ elsefi# Build archives-dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime linux-x64 --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none;UseAppHost=true"+dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime linux-x64 --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none;UseAppHost=true"tar -czf jellyfin-server_${version}_linux-amd64.tar.gz -C dist jellyfin-server_${version}rm -rf dist/jellyfin-server_${version}diff --git a/deployment/build.macos b/deployment/build.macosindex d808141acc..8bb8b2ebdb 100755--- a/deployment/build.macos+++ b/deployment/build.macos@@ -16,7 +16,7 @@ elsefi# Build archives-dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime osx-x64 --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none;UseAppHost=true"+dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime osx-x64 --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none;UseAppHost=true"tar -czf jellyfin-server_${version}_macos-amd64.tar.gz -C dist jellyfin-server_${version}rm -rf dist/jellyfin-server_${version}diff --git a/deployment/build.portable b/deployment/build.portableindex 24a8cbf32e..4c81d5672c 100755--- a/deployment/build.portable+++ b/deployment/build.portable@@ -16,7 +16,7 @@ elsefi# Build archives-dotnet publish Jellyfin.Server --configuration Release --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none;UseAppHost=true"+dotnet publish Jellyfin.Server --configuration Release --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none;UseAppHost=true"tar -czf jellyfin-server_${version}_portable.tar.gz -C dist jellyfin-server_${version}rm -rf dist/jellyfin-server_${version}diff --git a/deployment/build.windows.amd64 b/deployment/build.windows.amd64index bd5dc64381..47cfa2cd6f 100755--- a/deployment/build.windows.amd64+++ b/deployment/build.windows.amd64@@ -23,7 +23,7 @@ fioutput_dir="dist/jellyfin-server_${version}"# Build binary-dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime win-x64 --output ${output_dir}/ "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none;UseAppHost=true"+dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime win-x64 --output ${output_dir}/ "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none;UseAppHost=true"# Prepare addinsaddin_build_dir="$( mktemp -d )"diff --git a/fedora/jellyfin.spec b/fedora/jellyfin.specindex a1e0b5f143..291017d947 100644--- a/fedora/jellyfin.spec+++ b/fedora/jellyfin.spec@@ -54,7 +54,7 @@ The Jellyfin media server backend.export DOTNET_CLI_TELEMETRY_OPTOUT=1export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1dotnet publish --configuration Release --output='%{buildroot}%{_libdir}/jellyfin' --self-contained --runtime %{dotnet_runtime} \- "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none" Jellyfin.Server+ "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none" Jellyfin.Server%{__install} -D -m 0644 LICENSE %{buildroot}%{_datadir}/licenses/jellyfin/LICENSE%{__install} -D -m 0644 %{SOURCE15} %{buildroot}%{_sysconfdir}/systemd/system/jellyfin.service.d/override.conf%{__install} -D -m 0644 Jellyfin.Server/Resources/Configuration/logging.json %{buildroot}%{_sysconfdir}/jellyfin/logging.jsondiff --git a/windows/build-jellyfin.ps1 b/windows/build-jellyfin.ps1index b76a8e0bbe..b65e619ee1 100644--- a/windows/build-jellyfin.ps1+++ b/windows/build-jellyfin.ps1@@ -40,7 +40,7 @@ function Build-JellyFin {Write-Verbose "windowsversion-Architecture: $windowsversion-$Architecture"Write-Verbose "InstallLocation: $ResolvedInstallLocation"Write-Verbose "DotNetVerbosity: $DotNetVerbosity"- dotnet publish --self-contained -c $BuildType --output $ResolvedInstallLocation -v $DotNetVerbosity -p:GenerateDocumentationFile=false -p:DebugSymbols=false -p:DebugType=none --runtime `"$windowsversion-$Architecture`" Jellyfin.Server+ dotnet publish --self-contained -c $BuildType --output $ResolvedInstallLocation -v $DotNetVerbosity -p:GenerateDocumentationFile=true -p:DebugSymbols=false -p:DebugType=none --runtime `"$windowsversion-$Architecture`" Jellyfin.Server}function Install-FFMPEG {