Rename the package roledesk to app

The boilerplate's rule: the deploy kit's Dockerfile, the APP_CONFIG,
APP_PASSWORD and APP_DATA variables and its commands all assume a package
called app, so a project renames its display title and nothing else. The
console script is `app`, and the launch entry runs `uv run app serve --port
8790`. The domain noun stays `role`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-23 12:30:10 +02:00
1 parent 248ea1636d
commit 7a63311714
32 files changed
+102 -98

No files matched your search

+4 -4
View File
@@ -15,14 +15,14 @@ dependencies = [
]
[project.scripts]
roledesk = "roledesk.cli:main"
app = "app.cli:main"
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["roledesk*"]
include = ["app*"]
[tool.uv.sources]
newsdesk = { path = "../news", editable = true }
@@ -54,13 +54,13 @@ ignore = [
[tool.ruff.lint.per-file-ignores]
# Pydantic models whose base comes from `desk.models`; ruff only recognises a
# pydantic subclass when it sees `BaseModel` in the same file.
"roledesk/models.py" = ["RUF012"]
"app/models.py" = ["RUF012"]
# ------------------------------------------------------------ type checking
[tool.mypy]
python_version = "3.14"
files = ["roledesk", "tests"]
files = ["app", "tests"]
plugins = ["pydantic.mypy"]
# The editable install of ../news is a setuptools import hook, which mypy
# cannot follow. Pointed at the checkout instead, and told to type what it