← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] autopkgtest-cloud:autopkgtest-requestors into autopkgtest-cloud:master

 

Brian Murray has proposed merging autopkgtest-cloud:autopkgtest-requestors into autopkgtest-cloud:master.

Commit message:



Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~ubuntu-release/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/446883

Instead of adding multiple Launchpad teams to ALLOWED_TEAMS we'll use one Launchpad team - autopkgtest-requestors. This'll avoid having to update the charm just to add an additional team.
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of autopkgtest-cloud:autopkgtest-requestors into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/request/submit.py b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
index ec97969..04d7f61 100644
--- a/charms/focal/autopkgtest-web/webcontrol/request/submit.py
+++ b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
@@ -27,7 +27,7 @@ ENV = re.compile(r"^[a-zA-Z][a-zA-Z0-9_]+=[a-zA-Z0-9.:~/ -=]*$")
 # URL and optional branch name
 GIT = re.compile(r"^https?://[a-zA-Z0-9._/~+-]+(#[a-zA-Z0-9._/-]+)?$")
 
-ALLOWED_TEAMS = ["canonical-kernel-distro-team", "canonical-foundations"]
+ALLOWED_TEAMS = ["canonical-kernel-distro-team", "autopkgtest-requestors"]
 # not teams
 ALLOWED_USERS_PERPACKAGE = {"snapcraft": ["snappy-m-o"]}
 

Follow ups