Align website tooling with govoplan-website rename
This commit is contained in:
@@ -16,7 +16,7 @@ from gitea_common import GiteaClient, GiteaError, infer_target, label_ids_by_nam
|
||||
|
||||
|
||||
DEFAULT_PRODUCT_BACKLOG = pathlib.Path("/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md")
|
||||
DEFAULT_WEB_TODO = pathlib.Path("/mnt/DATA/git/addideas-govoplan-website/TODO.md")
|
||||
DEFAULT_WEB_TODO = pathlib.Path("/mnt/DATA/git/govoplan-website/TODO.md")
|
||||
|
||||
REPO_ROOTS = {
|
||||
"core": pathlib.Path("/mnt/DATA/git/govoplan-core"),
|
||||
@@ -24,7 +24,7 @@ REPO_ROOTS = {
|
||||
"mail": pathlib.Path("/mnt/DATA/git/govoplan-mail"),
|
||||
"files": pathlib.Path("/mnt/DATA/git/govoplan-files"),
|
||||
"campaign": pathlib.Path("/mnt/DATA/git/govoplan-campaign"),
|
||||
"web": pathlib.Path("/mnt/DATA/git/addideas-govoplan-website"),
|
||||
"web": pathlib.Path("/mnt/DATA/git/govoplan-website"),
|
||||
}
|
||||
|
||||
MODULE_LABELS = {
|
||||
|
||||
@@ -251,7 +251,7 @@ def is_excluded_repo_file(path: pathlib.Path) -> bool:
|
||||
return True
|
||||
if text.endswith("/docs/GOVOPLAN_MASTER_ROADMAP.md"):
|
||||
return True
|
||||
if text.endswith("/addideas-govoplan-website/TODO.md"):
|
||||
if text.endswith(("/govoplan-website/TODO.md", "/addideas-govoplan-website/TODO.md")):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ MODULE_LABEL_BY_REPO = {
|
||||
"govoplan-mail": "module/mail",
|
||||
"govoplan-files": "module/files",
|
||||
"govoplan-campaign": "module/campaign",
|
||||
"addideas-govoplan-website": "area/marketing",
|
||||
"govoplan-website": "area/marketing",
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -325,7 +325,7 @@ def infer_module_label(root: pathlib.Path) -> str:
|
||||
"govoplan-mail": "module/mail",
|
||||
"govoplan-files": "module/files",
|
||||
"govoplan-campaign": "module/campaign",
|
||||
"addideas-govoplan-website": "area/marketing",
|
||||
"govoplan-website": "area/marketing",
|
||||
}
|
||||
if root.name in known:
|
||||
return known[root.name]
|
||||
|
||||
Reference in New Issue
Block a user