Sync shared snapshot from c5c3ec3
Docker / Docker Build & Push (push) Successful in 5m6s

This commit is contained in:
Gabriel20xx committed 2026-09-07 16:00:55 +02:00
1 parent fdf415cc8b
commit 5f0524ed3c
80 files changed
+1152 -16598

No files matched your search

+24 -19
View File
@@ -23,11 +23,14 @@ function New-ConsumerProject {
return [pscustomobject]@{ Path = $Path; Destination = $Destination }
}
# Destination defaults to 'shared' (the snapshot folder name most consumers
# use). The engine/media-backend family below mounts the same snapshot at
# 'engine' instead - historically a git submodule, converted to this same
# vendored-copy pattern for consistency and to drop the private-submodule
# checkout auth dependency in CI.
# Destination defaults to 'shared' (the snapshot folder name every consumer
# uses) - originally a git submodule, converted to this vendored-copy pattern
# for consistency and to drop the private-submodule checkout auth dependency
# in CI. The media-family services (CarrierNode, ContentScanner, CraftStudio,
# MediaViewer, MediaKiosk, ModerationHub, ProjectConfigurator) used to mount
# a shared multi-flavor webui/media-backend at a separate 'engine' folder
# instead; each is now its own independent frontend/backend and vendors this
# snapshot the same way as every other consumer below.
$consumerProjects = @(
New-ConsumerProject 'Original/MediaDesktop'
New-ConsumerProject 'Original/AutoCode'
@@ -37,20 +40,20 @@ $consumerProjects = @(
New-ConsumerProject 'Original/SyncServer'
New-ConsumerProject 'Original/UnraidMonitor'
New-ConsumerProject 'Original/PubliSafe'
New-ConsumerProject 'Forks/Bitmagnet'
New-ConsumerProject 'Forks/Heretic'
New-ConsumerProject 'Fork/Bitmagnet'
New-ConsumerProject 'Fork/Heretic'
New-ConsumerProject 'Original/InfiniteVideo'
New-ConsumerProject 'Forks/MegaBasterd'
New-ConsumerProject 'Forks/HordeWorker'
New-ConsumerProject 'Fork/MegaBasterd'
New-ConsumerProject 'Forks/HordeWorker' # TODO: rename to Fork/HordeWorker once its locked directory can be moved (a long-running process holds it open)
New-ConsumerProject 'Original/OutdoorGames'
New-ConsumerProject 'Original/KioskDisplay'
New-ConsumerProject 'Original/CraftStudio'
New-ConsumerProject 'Original/MediaViewer'
New-ConsumerProject 'Central/CarrierNode'
New-ConsumerProject 'Central/ContentScanner'
New-ConsumerProject 'Central/ModerationHub'
New-ConsumerProject 'Central/ProjectConfigurator'
New-ConsumerProject 'Central/AuthGuard'
New-ConsumerProject 'Core/CarrierNode'
New-ConsumerProject 'Core/ContentScanner'
New-ConsumerProject 'Core/ModerationHub'
New-ConsumerProject 'Core/ProjectConfigurator'
New-ConsumerProject 'Core/AuthGuard'
)
function Invoke-GitText {
@@ -218,14 +221,16 @@ $sourceRepositoryRoot = (Invoke-GitText -WorkingDirectory $sourceRoot -Arguments
$sourceRoot = Resolve-FullPath $sourceRepositoryRoot
# The workspace root is the ancestor directory that contains both 'Original'
# and 'Forks' (every consumer project lives under one of those). Walk up from
# the shared repo instead of assuming a fixed nesting depth, since shared/ has
# moved before (e.g. Web/shared -> Web/Central/shared) and may move again.
# and 'Fork' (every consumer project lives under one of those, or under
# 'Core' for the central infrastructure services). Walk up from the shared
# repo instead of assuming a fixed nesting depth, since shared/ has moved
# before (e.g. Web/shared -> Web/Central/shared -> Web/Core/shared, with
# 'Forks' renamed to singular 'Fork' at the same time) and may move again.
$workspaceRoot = Split-Path -Parent $sourceRoot
while ($workspaceRoot -and -not ((Test-Path -LiteralPath (Join-Path $workspaceRoot 'Original') -PathType Container) -and (Test-Path -LiteralPath (Join-Path $workspaceRoot 'Forks') -PathType Container))) {
while ($workspaceRoot -and -not ((Test-Path -LiteralPath (Join-Path $workspaceRoot 'Original') -PathType Container) -and (Test-Path -LiteralPath (Join-Path $workspaceRoot 'Fork') -PathType Container))) {
$parent = Split-Path -Parent $workspaceRoot
if (-not $parent -or $parent -eq $workspaceRoot) {
throw "Could not locate the workspace root (a directory containing both 'Original' and 'Forks') above $sourceRoot."
throw "Could not locate the workspace root (a directory containing both 'Original' and 'Fork') above $sourceRoot."
}
$workspaceRoot = $parent
}