Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nikromen committed Nov 19, 2023
1 parent f4dd43c commit 8f81962
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
22 changes: 14 additions & 8 deletions frontend/coprs_frontend/coprs/views/apiv3_ns/schema/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,14 +357,18 @@
)

runtime_dependencies = String(
description=("List of external repositories (== dependencies, specified as baseurls)"
"that will be automatically enabled together with this project repository.")
description=(
"List of external repositories (== dependencies, specified as baseurls)"
"that will be automatically enabled together with this project repository."
)
)

bootstrap_image = String(
description=("Name of the container image to initialize"
"the bootstrap chroot from. This also implies bootstrap=image."
"This is a noop parameter and its value is ignored.")
description=(
"Name of the container image to initialize"
"the bootstrap chroot from. This also implies bootstrap=image."
"This is a noop parameter and its value is ignored."
)
)

name = String(description="Name of the project", example="Copr repository")
Expand All @@ -376,14 +380,16 @@
devel_mode = Boolean(description="If createrepo should run automatically")

bootstrap = String(
description=("Mock bootstrap feature setup. "
"Possible values are 'default', 'on', 'off', 'image'.")
description=(
"Mock bootstrap feature setup. "
"Possible values are 'default', 'on', 'off', 'image'."
)
)

confirm = Boolean(
description=(
"If forking into a existing project, this needs to be set to True,"
"to confirm that user is aware of that."
"to confirm that user is aware of that."
)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ class _ProjectAddEditFields:


@dataclass
class ProjectAdd(_ProjectFields, _ProjectGetAddFields, _ProjectAddEditFields, InputSchema):
class ProjectAdd(
_ProjectFields, _ProjectGetAddFields, _ProjectAddEditFields, InputSchema
):
...


Expand Down

0 comments on commit 8f81962

Please sign in to comment.