1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-12-05 09:54:47 +01:00

Add 'git-obs staging' command for staging multiple package pull requests into a single project pull request

This commit is contained in:
Antonello Tartamo
2025-10-20 12:06:39 +02:00
committed by Daniel Mach
parent d74457dc66
commit e15c0c0f49
7 changed files with 355 additions and 6 deletions

View File

@@ -422,7 +422,7 @@ class PullRequest(GiteaModel):
"""
json_data = {
"title": title,
"description": description,
"body": description,
"allow_maintainer_edit": allow_maintainer_edit,
}
url = conn.makeurl("repos", owner, repo, "pulls", str(number))
@@ -738,7 +738,7 @@ class PullRequest(GiteaModel):
repo: str,
number: int,
labels: List[str],
) -> "GiteaHTTPResponse":
) -> Optional["GiteaHTTPResponse"]:
"""
Add one or more labels to a pull request.