refactor(backend): rename mediacore package to media

This commit is contained in:
Gabriel20xx committed 2026-11-01 21:50:47 +01:00
1 parent e8cb7c6c68
commit 75c08beec6
34 files changed
+837 -656

No files matched your search

+5 -8
View File
@@ -28,11 +28,9 @@ function New-ConsumerProject {
# 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, KioskDisplay, 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.
# in CI. Some consumers used to mount a shared multi-flavor webui at a separate 'engine'
# folder; 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'
@@ -255,9 +253,8 @@ $sourceRoot = Resolve-FullPath $sourceRepositoryRoot
# The workspace root is the ancestor directory that contains both 'Original'
# 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.
# repo instead of assuming a fixed nesting depth, since the workspace layout has
# changed before and may change 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 'Fork') -PathType Container))) {
$parent = Split-Path -Parent $workspaceRoot