| |
@@ -107,7 +107,7 @@
|
| |
|
| |
def edit(self, ownername, projectname, chroots=None, description=None, instructions=None, homepage=None,
|
| |
contact=None, additional_repos=None, unlisted_on_hp=None, enable_net=None,
|
| |
- auto_prune=None, use_bootstrap_container=None):
|
| |
+ auto_prune=None, use_bootstrap_container=None, devel_mode=None):
|
| |
"""
|
| |
Edit a project
|
| |
|
| |
@@ -123,6 +123,7 @@
|
| |
:param bool enable_net: if builder can access net for builds in this project
|
| |
:param bool auto_prune: if backend auto-deletion script should be run for the project
|
| |
:param bool use_bootstrap_container: if mock bootstrap container is used to initialize the buildroot
|
| |
+ :param bool devel_mode: if createrepo should run automatically
|
| |
:return: Munch
|
| |
"""
|
| |
endpoint = "/project/edit/{ownername}/{projectname}"
|
| |
@@ -141,6 +142,7 @@
|
| |
"enable_net": enable_net,
|
| |
"auto_prune": auto_prune,
|
| |
"use_bootstrap_container": use_bootstrap_container,
|
| |
+ "devel_mode": devel_mode,
|
| |
}
|
| |
request = Request(endpoint, api_base_url=self.api_base_url, method=POST,
|
| |
params=params, data=data, auth=self.auth)
|
| |
I've been working on copr-cli rewrite in order to use APIv3 client in it. Through beaker tests, I've discovered a couple of bugs.
{}
as source_dictThis PR fixes it.