From a0fe833149936dfc3f68f16771643b2c6613da89 Mon Sep 17 00:00:00 2001 From: Felix Schnizlein Date: Mon, 24 Sep 2018 13:07:07 +0200 Subject: [PATCH] [readme] Add submiting packages instruction --- PACKAGE.md | 57 +++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 11 deletions(-) diff --git a/PACKAGE.md b/PACKAGE.md index 54fec0c3..1d2664c4 100644 --- a/PACKAGE.md +++ b/PACKAGE.md @@ -87,33 +87,68 @@ It should typically be enough to run `osc ar` to add new and delete removed file ```bash osc commit ``` +## Step 7. Submit Requests to openSUSE Factory and SLES -## Step 7. Submit Requests to OpenSUSE and SLES +To get a maintenance request accepted, each changelog entry needs to have at +least one reference to a bug or feature request like `bsc#123` or `fate#123`. -To get a maintenance request accepted, each changelog entry needs to reference a bug or feature -request with `bsc#123` or `fate#123`. +Note: If you want to disable automatic changes made by osc (e.g. License string) + use the `--no-cleanup` switch. -### OpenSUSE Factory +### Factory First To submit a request to openSUSE Factory, issue this commands in the console: ```bash -osc sr systemsmanagement:SCC SUSEConnect openSUSE:Factory --no-cleanup +osc sr systemsmanagement:SCC SUSEConnect openSUSE:Factory ``` -### SLES (Internal Build Service) +### Submit packages to the Internal Build Service (SLES) -To make the initial submit for a new SLES version: +#### Get target codesteams where to submit + +To checkout in which codestreams the package is currently maintaned, run: ```bash -osc -A https://api.suse.de sr Devel:SCC:suseconnect SUSEConnect SUSE:SLE-15:GA --no-cleanup +osc -A https://api.suse.de maintained SUSEConnect ``` -To submit the updated package as a maintenance update to maintained SLES versions (it will automatically also go to the matching Leap version): +For a more detailed view which target codestreams are in which state checkout: [Codestream overview](https://maintenance.suse.de/maintained/?package=SUSEConnect) + +#### Submit updates + +For each maintained codestream you need to create a new maintenance request: ```bash -osc -A https://api.suse.de sr Devel:SCC:suseconnect SUSEConnect SUSE:SLE-12-SP2:Update --no-cleanup -osc -A https://api.suse.de sr Devel:SCC:suseconnect SUSEConnect SUSE:SLE-12-SP3:Update --no-cleanup +osc -A https://api.suse.de mr Devel:SCC:suseconnect SUSEConnect SUSE:SLE-15:Update +``` + +Note: In case the `mr` (maintenance request) command is not working properly, + try `sr` (submit request) command. + + +Example: + +```bash +$ osc -A https://api.suse.de maintained SUSEConnect +SUSE:SLE-12-SP1:Update/SUSEConnect +SUSE:SLE-12-SP2:Update/SUSEConnect +SUSE:SLE-12-SP3:Update/SUSEConnect +SUSE:SLE-12:Update/SUSEConnect +SUSE:SLE-15:Update/SUSEConnect + +$ osc -A https://api.suse.de mr Devel:SCC:suseconnect SUSEConnect SUSE:SLE-15:Update +Using target project 'SUSE:Maintenance' +1736456 + +$ osc -A https://api.suse.de mr Devel:SCC:suseconnect SUSEConnect SUSE:SLE-12-SP2:Update +Using target project 'SUSE:Maintenance' +164309 + +$ osc -A https://api.suse.de mr Devel:SCC:suseconnect SUSEConnect SUSE:SLE-12-SP3:Update +Using target project 'SUSE:Maintenance' +347506 + ``` You can check the status of your requests [here](https://build.opensuse.org/package/requests/systemsmanagement:SCC/SUSEConnect) and [here](https://build.suse.de/package/requests/Devel:SCC:suseconnect/SUSEConnect).