From 3c8a85d57153e0628d99a2b171dfa4838e6d911e Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Jun 20 2022 10:18:24 +0000 Subject: python: disable network on builders by default This is the safe default we should have since beginning, that's btw. why web-UI (frontend side) and copr-cli has the default to False since ever. Discussed with Packit folks, originally thought it is a Packit docs issue, related links: https://github.com/packit/packit.dev/pull/484 https://github.com/packit/packit/issues/1386 --- diff --git a/python/copr/v3/proxies/project.py b/python/copr/v3/proxies/project.py index 0602a71..f964326 100644 --- a/python/copr/v3/proxies/project.py +++ b/python/copr/v3/proxies/project.py @@ -66,7 +66,7 @@ class ProjectProxy(BaseProxy): return munchify(response) def add(self, ownername, projectname, chroots, description=None, instructions=None, homepage=None, - contact=None, additional_repos=None, unlisted_on_hp=False, enable_net=True, persistent=False, + contact=None, additional_repos=None, unlisted_on_hp=False, enable_net=False, persistent=False, auto_prune=True, use_bootstrap_container=None, devel_mode=False, delete_after_days=None, multilib=False, module_hotfixes=False, bootstrap=None, bootstrap_image=None, isolation=None,