From 9d8e9f3141ee275325c2ed9150a22ffe920bb1b3 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 2 Jul 2024 18:51:46 +0200 Subject: [PATCH] art-obs-beginners-guide: explain how to supersede an SR Fixes: https://github.com/openSUSE/obs-docu/issues/236 Signed-off-by: Nathan Cutler --- xml/art-obs-beginners-guide.xml | 45 +++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/xml/art-obs-beginners-guide.xml b/xml/art-obs-beginners-guide.xml index b016d3b9..3a263c5c 100644 --- a/xml/art-obs-beginners-guide.xml +++ b/xml/art-obs-beginners-guide.xml @@ -360,7 +360,7 @@ https://www.suse.com/communities/blog/suse-studio-integration/ Configuring Your System for &obsa; - While it is possible to use the osc tool without any + While it is possible to use the &osccmd; tool without any configuration, it is recommended to set up your system as described below. @@ -1008,15 +1008,14 @@ Patch0: &gitproject;_main.diff - We assume that you have checked out the project - &obshome1;/&gitproject; - on &obsa; and the user &obsuser2; - wants to change the code to change the welcome message. The code should - then be submitted to the original project. + Let us assume that there is a user &obsuser1; + who has created a package &obshome1;/&gitproject; + on &obsa;. Now, a second user, &obsuser2;, + would like to submit a code change request to that package. User &obsuser2; has to perform the - following steps. + following steps: Branching from a Project @@ -1093,18 +1092,20 @@ Patch0: &gitproject;_main.diff User &obsuser2; has - finished the task now and the submit request is assigned to &obsuser1;. User &obsuser1; can now either accept or decline - the submit request. + finished the task now and the submit request is assigned to + &obsuser1;. User + &obsuser1; can now either accept or + decline the submit request (SR). Also, as long as the SR remains + open, &obsuser2; can also supersede + it with a new request. Accept the Submit Request - The changes from user &obsuser2; will be integrated into the - &obshome1; project. The accepted submit request will be + The changes from user + &obsuser2; will be integrated into + the &obshome1; project. The accepted submit request will be closed. To make further changes, &obsuser2; needs to create a new submit request. @@ -1131,6 +1132,22 @@ Patch0: &gitproject;_main.diff because users see it as task on the &obsa; Web UI. --> + + + Supersede the Submit Request + + As long as the SR is still open (and this includes the case when it has + been declined), &obsuser2; can + continue making changes in their local checkout and, at any time, issue a new + submit request using the above workflow. At submission time, &obsa; will detect + the existing (previous) SR and ask the submitter whether they would like to + supersede it. If &obsuser2; answers + "yes" here, the new SR will supersede the previous one. Alternatively, by + answering "no" to the supersede question, a second SR will be created alongside + the previous one. + + + User &obsuser1; is responsible for