From 0fbc49515ceb486ac88c15bfb927e67d0e32949e Mon Sep 17 00:00:00 2001 From: Alexander Scheel Date: Sep 12 2019 20:15:38 +0000 Subject: Use anonymous fedpkg clone When the local username doesn't match the individual's FAS ID, fedpkg clone will fail. However, we don't really need to clone with permissions, since we're not modifying these packages and we're going to end up deleting the cloned copy anyways. Use an anonymous checkout instead. Signed-off-by: Alexander Scheel --- diff --git a/scripts/review_pr.py b/scripts/review_pr.py index 7cb76e2..9a0deae 100755 --- a/scripts/review_pr.py +++ b/scripts/review_pr.py @@ -96,7 +96,7 @@ def copr_repo_create(copr: str): def build_package(copr: str, package: str, branch: str = "master", wait: bool = False): def clone(): result = sp.run( - ["fedpkg", "clone", package], + ["fedpkg", "clone", "--anonymous", package], stdout=sp.PIPE, stderr=sp.STDOUT)