Adds two managed system overlays (l4d2center-maps, cedapug-maps) that fetch curated map archives from upstream sources and reconcile addons symlinks for non-Steam maps. A daily systemd timer enqueues a coalesced refresh_global_overlays worker job; downloads, extraction, and rebuilds run in the existing job worker and surface in the job log UI. Schema: GlobalOverlaySource / GlobalOverlayItem / GlobalOverlayItemFile plus nullable Job.user_id so system jobs render as "system" in the UI. The new builder reconciles symlinks against the per-source vpk cache and leaves foreign symlinks untouched. Initialize-time guard refuses to mount a partial overlay if any expected vpk is missing from cache. Refresh service uses shutil.move to handle EXDEV when /tmp and the cache live on different filesystems. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
33 lines
625 B
TOML
33 lines
625 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "l4d2web"
|
|
version = "0.1.0"
|
|
description = "L4D2 web app"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"Flask>=3.0",
|
|
"SQLAlchemy>=2.0",
|
|
"alembic>=1.13",
|
|
"PyYAML>=6.0",
|
|
"gunicorn>=22.0",
|
|
"requests>=2.31",
|
|
"py7zr>=0.21",
|
|
]
|
|
|
|
[tool.setuptools]
|
|
packages = ["l4d2web", "l4d2web.routes", "l4d2web.services"]
|
|
|
|
[tool.setuptools.package-dir]
|
|
l4d2web = "."
|
|
|
|
[tool.setuptools.package-data]
|
|
l4d2web = [
|
|
"templates/*.html",
|
|
"static/css/*.css",
|
|
"static/js/*.js",
|
|
"static/vendor/*.js",
|
|
]
|