Skip to content

Commit 099b34e

Browse files
committed
commit: add support for straight-to-stable
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 2cff001 commit 099b34e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/pkgdev/scripts/pkgdev_commit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,9 @@ def modify(self):
418418
elif old_pkg.stabilize_allarches != new_pkg.stabilize_allarches:
419419
status = "mark" if new_pkg.stabilize_allarches else "drop"
420420
return f"{status} ALLARCHES"
421+
elif old_pkg.straight_to_stable != new_pkg.straight_to_stable:
422+
status = "mark" if new_pkg.straight_to_stable else "drop"
423+
return f"{status} straight-to-stable"
421424
elif old_pkg.upstreams != new_pkg.upstreams:
422425
new = set(new_pkg.upstreams)
423426
old = set(old_pkg.upstreams)

0 commit comments

Comments
 (0)