The pkg_tool exception is too harsh
In packit-service we inherit ServiceConfig from Config
and use it in worker and service and in stg config we have
pkg_tool: fedpkg-stage
but we don't have it installed in the service image.
So it can't be an expection, just a warning.
@@ -75,7 +75,7 @@ class Config:
self.kerberos_realm = kerberos_realm
self.koji_build_command = koji_build_command
if not which(pkg_tool):
- raise PackitConfigException(f"{pkg_tool} is not executable or in any path")
+ logger.warning(f"{pkg_tool} is not executable or in any path")
self.pkg_tool: str = pkg_tool
self.upstream_git_remote = upstream_git_remote
