diff --git a/src/repo_manager/classification.py b/src/repo_manager/classification.py index ccc0c41..4a51538 100644 --- a/src/repo_manager/classification.py +++ b/src/repo_manager/classification.py @@ -7,7 +7,9 @@ from dataclasses import dataclass from typing import Any CONTRACT_VERSION = "1.0" -CATEGORIES = frozenset({"experimental", "research", "project", "tooling", "product", "business"}) +CATEGORIES = frozenset( + {"experimental", "research", "project", "tooling", "product", "business", "publication"} +) DOMAINS = frozenset( { "infotech", diff --git a/src/repo_manager/cli.py b/src/repo_manager/cli.py index 2beeea4..8782c68 100644 --- a/src/repo_manager/cli.py +++ b/src/repo_manager/cli.py @@ -360,7 +360,15 @@ def main(argv: list[str] | None = None) -> int: p_scaf.add_argument( "--flavor", default=None, - choices=["experimental", "research", "project", "tooling", "product", "business"], + choices=[ + "experimental", + "research", + "project", + "tooling", + "product", + "business", + "publication", + ], ) p_scaf.add_argument("--slug", default=None) p_scaf.add_argument("--domain", default="infotech") diff --git a/src/repo_manager/standards.py b/src/repo_manager/standards.py index 15dc545..dc7db91 100644 --- a/src/repo_manager/standards.py +++ b/src/repo_manager/standards.py @@ -23,7 +23,7 @@ from repo_manager.record_identity import scan_record_identities CANON_FLAVOR = "the-custodian/canon/standards/project-repository-flavor_v0.1.md" CANON_CLASSIFICATION = "the-custodian/canon/standards/repo-classification-standard_v1.0.md" -DURABLE_FLAVORS = ("experimental", "research", "tooling", "product", "business") +DURABLE_FLAVORS = ("experimental", "research", "tooling", "product", "business", "publication") CATEGORIES = (*DURABLE_FLAVORS, "project") FLAVOR_MARKER_PREFIX = "PRJ-WP" WP_ID_RE = re.compile(r"^([A-Z][A-Z0-9]*)-WP-(\d{4})(?:-T\d{2})?$")