From 91062426673f56267dd7edf8332986b960f5b97b Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Apr 23 2024 16:37:40 +0000 Subject: No longer block on possible bad branch names. This is because we cannot confidently check if we are pushing to a fork or not. Instead give a warning, and proceed. Signed-off-by: Troy Dawson --- diff --git a/src/centpkg/__init__.py b/src/centpkg/__init__.py index d52b659..cb42f27 100644 --- a/src/centpkg/__init__.py +++ b/src/centpkg/__init__.py @@ -92,7 +92,7 @@ class DistGitDirectory(object): DeprecationWarning) else: if not self.is_fork(): - raise ValueError("Branchname: {0} is not valid".format(branchtext)) + warnings.warn('Unable to determine if this is a fork or not. Proceeding, but you should double check.') else: self.distrobranch = True self.signame = 'centos'