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
@@ -453,7 +453,7 @@ def classify(department: str, title: str) -> str:
def is_known_target(target: str) -> bool:
"""`host:slug`, with `host` one of `_BOARDS` and a non-empty slug. What
the target validator refuses: `roledesk companies add` and the pull job
the target validator refuses: `app companies add` and the pull job
both call this before touching the network."""
host, sep, slug = target.partition(":")
return bool(sep) and host in _BOARDS and bool(slug.strip())
@@ -461,7 +461,7 @@ def is_known_target(target: str) -> bool:
def careers_url(target: str) -> str:
"""The company's own careers page for `host:slug`, or "" for an unknown
host. What `roledesk companies add` stores alongside the board."""
host. What `app companies add` stores alongside the board."""
host, _, slug = target.partition(":")
if host not in _BOARDS:
return ""
@@ -493,7 +493,7 @@ def _fetch_rows(client: httpx.Client, target: str) -> list[Row]:
def fetch_board(target: str) -> list[Row]:
"""Fetch and parse one board directly: no `Source`, no `self.state`, just
"does this board answer, and what does it list". For `roledesk companies
"does this board answer, and what does it list". For `app companies
add|check`, which ask that question about one board at a time outside any
pull. Raises the same way `_fetch_rows` does."""
with httpx.Client() as client:
@@ -528,7 +528,7 @@ class ATSSource(Source):
def fetch(self) -> Iterator[Item]:
client = httpx.Client()
# Written by the pull job before any board is fetched (see
# `roledesk/jobs/pull.py`); a plugin run on its own — a test, a dry
# `app/jobs/pull.py`); a plugin run on its own — a test, a dry
# run — has no run to stamp itself against, so it makes one up.
run_marker = self.state.get("ats:run", "") or datetime.now(UTC).isoformat(
timespec="seconds")