1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-11-26 06:29:50 +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

@@ -34,9 +34,10 @@ class Repo(GiteaModel):
@property
def parent_obj(self) -> Optional["Repo"]:
if not self._data["parent"]:
parent_data = self._data.get("parent")
if not parent_data:
return None
return Repo(self._data["parent"])
return Repo(parent_data)
@property
def clone_url(self) -> str: