DEVX-116: chore: update grm package name references

Update hardcoded path and docstring examples from
`gitea_runner_manager` to `grm` after the package rename in grm PR #203.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
emil
2026-07-06 15:51:10 +02:00
co-authored by Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent 40a94df029
commit c62b168b25
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -185,6 +185,7 @@ def main(translations: tuple[Path, ...], source_dir: str | None) -> None:
# Try common locations # Try common locations
candidates = [ candidates = [
root / "src" / "devx" / "translations.json", root / "src" / "devx" / "translations.json",
root / "src" / "grm" / "translations.json",
] ]
# Also search for any translations.json in src/ # Also search for any translations.json in src/
for match in root.glob("src/*/translations.json"): for match in root.glob("src/*/translations.json"):
+2 -2
View File
@@ -68,8 +68,8 @@ def detect_package_name(repo_root: Path) -> str | None:
Looks for the first subdirectory under ``src/`` that contains Looks for the first subdirectory under ``src/`` that contains
an ``__init__.py`` file with ``__version__``. an ``__init__.py`` file with ``__version__``.
Returns the package directory name (e.g., ``devx``) or ``None`` if Returns the package directory name (e.g., ``devx``,
no package is found. ``grm``) or ``None`` if no package is found.
""" """
src_dir = repo_root / "src" src_dir = repo_root / "src"
if not src_dir.is_dir(): if not src_dir.is_dir():