Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package suseconnect-ng for openSUSE:Factory 
checked in at 2022-10-01 17:42:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suseconnect-ng (Old)
 and      /work/SRC/openSUSE:Factory/.suseconnect-ng.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suseconnect-ng"

Sat Oct  1 17:42:30 2022 rev:13 rq:1006605 version:0.0.10~git0.5f84106

Changes:
--------
--- /work/SRC/openSUSE:Factory/suseconnect-ng/suseconnect-ng.changes    
2022-09-20 19:23:29.318457689 +0200
+++ /work/SRC/openSUSE:Factory/.suseconnect-ng.new.2275/suseconnect-ng.changes  
2022-10-01 17:42:32.757603426 +0200
@@ -1,0 +2,7 @@
+Thu Sep 15 07:31:03 UTC 2022 - jtomas...@suse.com
+
+- Update to version 0.0.10~git0.5f84106:
+  * Fix System-Token support in ruby binding (bsc#1203341)
+  * Added the PACKAGE.md file
+
+-------------------------------------------------------------------

Old:
----
  connect-ng-0.0.9~git10.de887da7231f.tar.xz

New:
----
  connect-ng-0.0.10~git0.5f84106.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ suseconnect-ng.spec ++++++
--- /var/tmp/diff_new_pack.NdksuR/_old  2022-10-01 17:42:33.225604280 +0200
+++ /var/tmp/diff_new_pack.NdksuR/_new  2022-10-01 17:42:33.229604287 +0200
@@ -23,7 +23,7 @@
 %bcond_with hwinfo
 
 Name:           suseconnect-ng
-Version:        0.0.9~git10.de887da7231f
+Version:        0.0.10~git0.5f84106
 Release:        0
 URL:            https://github.com/SUSE/connect-ng
 Summary:        Utility to register a system with the SUSE Customer Center

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.NdksuR/_old  2022-10-01 17:42:33.277604375 +0200
+++ /var/tmp/diff_new_pack.NdksuR/_new  2022-10-01 17:42:33.281604382 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/SUSE/connect-ng.git</param>
-              <param 
name="changesrevision">0256cd50db087ed0691640537d853153fc1e3a93</param></service></servicedata>
+              <param 
name="changesrevision">73198c3ea70f8747a31fbf592d6aa2927e1dafeb</param></service></servicedata>
 (No newline at EOF)
 

++++++ connect-ng-0.0.9~git10.de887da7231f.tar.xz -> 
connect-ng-0.0.10~git0.5f84106.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/connect-ng-0.0.9~git10.de887da7231f/.git/ORIG_HEAD 
new/connect-ng-0.0.10~git0.5f84106/.git/ORIG_HEAD
--- old/connect-ng-0.0.9~git10.de887da7231f/.git/ORIG_HEAD      2022-09-05 
14:02:50.000000000 +0200
+++ new/connect-ng-0.0.10~git0.5f84106/.git/ORIG_HEAD   2022-09-15 
09:27:38.000000000 +0200
@@ -1 +1 @@
-de887da7231fa769adfd58c55308e1175e9de029
+5f8410667e26897523630ee58316ad2c0572580c
Binary files old/connect-ng-0.0.9~git10.de887da7231f/.git/index and 
new/connect-ng-0.0.10~git0.5f84106/.git/index differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/connect-ng-0.0.9~git10.de887da7231f/.git/logs/HEAD 
new/connect-ng-0.0.10~git0.5f84106/.git/logs/HEAD
--- old/connect-ng-0.0.9~git10.de887da7231f/.git/logs/HEAD      2022-09-05 
14:02:50.000000000 +0200
+++ new/connect-ng-0.0.10~git0.5f84106/.git/logs/HEAD   2022-09-15 
09:27:38.000000000 +0200
@@ -1,2 +1,3 @@
-0000000000000000000000000000000000000000 
de887da7231fa769adfd58c55308e1175e9de029 Miquel Sabat?? Sol?? 
<msab...@suse.com> 1662996064 +0200     clone: from 
https://github.com/SUSE/connect-ng.git
-de887da7231fa769adfd58c55308e1175e9de029 
de887da7231fa769adfd58c55308e1175e9de029 Miquel Sabat?? Sol?? 
<msab...@suse.com> 1662996064 +0200     checkout: moving from main to main
+0000000000000000000000000000000000000000 
5f8410667e26897523630ee58316ad2c0572580c Jacek Tomasiak 
<jacek.tomas...@gmail.com> 1663227063 +0200   clone: from 
https://github.com/SUSE/connect-ng.git
+5f8410667e26897523630ee58316ad2c0572580c 
5f8410667e26897523630ee58316ad2c0572580c Jacek Tomasiak 
<jacek.tomas...@gmail.com> 1663227063 +0200   checkout: moving from main to main
+5f8410667e26897523630ee58316ad2c0572580c 
5f8410667e26897523630ee58316ad2c0572580c Jacek Tomasiak 
<jacek.tomas...@gmail.com> 1663227063 +0200   reset: moving to main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/connect-ng-0.0.9~git10.de887da7231f/.git/logs/refs/heads/main 
new/connect-ng-0.0.10~git0.5f84106/.git/logs/refs/heads/main
--- old/connect-ng-0.0.9~git10.de887da7231f/.git/logs/refs/heads/main   
2022-09-05 14:02:50.000000000 +0200
+++ new/connect-ng-0.0.10~git0.5f84106/.git/logs/refs/heads/main        
2022-09-15 09:27:38.000000000 +0200
@@ -1 +1 @@
-0000000000000000000000000000000000000000 
de887da7231fa769adfd58c55308e1175e9de029 Miquel Sabat?? Sol?? 
<msab...@suse.com> 1662996064 +0200     clone: from 
https://github.com/SUSE/connect-ng.git
+0000000000000000000000000000000000000000 
5f8410667e26897523630ee58316ad2c0572580c Jacek Tomasiak 
<jacek.tomas...@gmail.com> 1663227063 +0200   clone: from 
https://github.com/SUSE/connect-ng.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/connect-ng-0.0.9~git10.de887da7231f/.git/logs/refs/remotes/origin/HEAD 
new/connect-ng-0.0.10~git0.5f84106/.git/logs/refs/remotes/origin/HEAD
--- old/connect-ng-0.0.9~git10.de887da7231f/.git/logs/refs/remotes/origin/HEAD  
2022-09-05 14:02:50.000000000 +0200
+++ new/connect-ng-0.0.10~git0.5f84106/.git/logs/refs/remotes/origin/HEAD       
2022-09-15 09:27:38.000000000 +0200
@@ -1 +1 @@
-0000000000000000000000000000000000000000 
de887da7231fa769adfd58c55308e1175e9de029 Miquel Sabat?? Sol?? 
<msab...@suse.com> 1662996064 +0200     clone: from 
https://github.com/SUSE/connect-ng.git
+0000000000000000000000000000000000000000 
5f8410667e26897523630ee58316ad2c0572580c Jacek Tomasiak 
<jacek.tomas...@gmail.com> 1663227063 +0200   clone: from 
https://github.com/SUSE/connect-ng.git
Binary files 
old/connect-ng-0.0.9~git10.de887da7231f/.git/objects/pack/pack-83c045238c877f33812e49c5b1cca76ba6e2edfd.idx
 and 
new/connect-ng-0.0.10~git0.5f84106/.git/objects/pack/pack-83c045238c877f33812e49c5b1cca76ba6e2edfd.idx
 differ
Binary files 
old/connect-ng-0.0.9~git10.de887da7231f/.git/objects/pack/pack-83c045238c877f33812e49c5b1cca76ba6e2edfd.pack
 and 
new/connect-ng-0.0.10~git0.5f84106/.git/objects/pack/pack-83c045238c877f33812e49c5b1cca76ba6e2edfd.pack
 differ
Binary files 
old/connect-ng-0.0.9~git10.de887da7231f/.git/objects/pack/pack-c60f9e0b9a6c4118c3f1bc4fdd1c5c2e9c09be1c.idx
 and 
new/connect-ng-0.0.10~git0.5f84106/.git/objects/pack/pack-c60f9e0b9a6c4118c3f1bc4fdd1c5c2e9c09be1c.idx
 differ
Binary files 
old/connect-ng-0.0.9~git10.de887da7231f/.git/objects/pack/pack-c60f9e0b9a6c4118c3f1bc4fdd1c5c2e9c09be1c.pack
 and 
new/connect-ng-0.0.10~git0.5f84106/.git/objects/pack/pack-c60f9e0b9a6c4118c3f1bc4fdd1c5c2e9c09be1c.pack
 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/connect-ng-0.0.9~git10.de887da7231f/.git/packed-refs 
new/connect-ng-0.0.10~git0.5f84106/.git/packed-refs
--- old/connect-ng-0.0.9~git10.de887da7231f/.git/packed-refs    2022-09-05 
14:02:50.000000000 +0200
+++ new/connect-ng-0.0.10~git0.5f84106/.git/packed-refs 2022-09-15 
09:27:38.000000000 +0200
@@ -1,8 +1,8 @@
 # pack-refs with: peeled fully-peeled sorted 
-718871abc698c6f513956f22ecd2f71e864d2e62 refs/remotes/origin/add-package-file
-de887da7231fa769adfd58c55308e1175e9de029 refs/remotes/origin/main
+5f8410667e26897523630ee58316ad2c0572580c refs/remotes/origin/main
 7c53860c8782eb1509709f0209b567a4fbf1e165 refs/tags/v0.0.1
 ^a5f168aec0f6b371b72fa02f8579e778b015351d
+5f8410667e26897523630ee58316ad2c0572580c refs/tags/v0.0.10
 f1894dd3f8c0f7b63c3b2c5f097bfc011c95b68c refs/tags/v0.0.2
 ^ebef3b7c52fcde65172254107c52dd5e86b13c1e
 5635c7965f99d6750c8ace0f46df0e5860ed52e6 refs/tags/v0.0.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/connect-ng-0.0.9~git10.de887da7231f/.git/refs/heads/main 
new/connect-ng-0.0.10~git0.5f84106/.git/refs/heads/main
--- old/connect-ng-0.0.9~git10.de887da7231f/.git/refs/heads/main        
2022-09-05 14:02:50.000000000 +0200
+++ new/connect-ng-0.0.10~git0.5f84106/.git/refs/heads/main     2022-09-15 
09:27:38.000000000 +0200
@@ -1 +1 @@
-de887da7231fa769adfd58c55308e1175e9de029
+5f8410667e26897523630ee58316ad2c0572580c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/connect-ng-0.0.9~git10.de887da7231f/PACKAGE.md 
new/connect-ng-0.0.10~git0.5f84106/PACKAGE.md
--- old/connect-ng-0.0.9~git10.de887da7231f/PACKAGE.md  1970-01-01 
01:00:00.000000000 +0100
+++ new/connect-ng-0.0.10~git0.5f84106/PACKAGE.md       2022-09-15 
09:27:38.000000000 +0200
@@ -0,0 +1,131 @@
+# Building the package
+## TL;DR
+
+The package is available at `obs://systemsmanagement:SCC/suseconnect-ng` and it
+can be fetched with `osc` in the usual way (or you can also copy the `_service`
+file from git and recreate the package with `osc service manualrun`).
+
+## Step 1. Update version
+
+The version of `connect-ng` is a mix of a version specified in the `.spec` file
+and the git commit sha. The version is thus updated automatically on every git
+commit.
+
+## Step 2. The OBS package
+
+The RPM is built from OBS, and you need to access the main repository from
+there:
+[systemsmanagement:SCC/suseconnect-ng](https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng).
+From this repository, you can build the package as usual with:
+
+```bash
+$ osc build openSUSE_Leap_15.4 x86_64 --no-verify
+$ osc build SLE_15_SP3 x86_64 --no-verify
+```
+
+### Testing the package locally
+
+First of all, you need to create an updated tar file. In order to do this, you
+need to checkout the package and run the service that fetches the code:
+
+```bash
+$ osc co systemsmanagement:SCC suseconnect-ng
+$ osc service manualrun
+```
+
+This will create a `connect-ng` directory with the latest changes from git's
+default branch. After this, you can apply whatever changes you want inside of
+the `connect-ng` and commit it. If you have the source code somewhere else, you
+can simply create a patch file from there, apply it and commit the changes
+locally on this newly cloned repository. After all that, just run the service
+again and you will get an updated tar file. That is:
+
+```bash
+# Optional: produce the patch file with `git diff` or `git show` from your
+# development repository if it's located somewhere else and apply it on the
+# `suseconnect-ng` directory you have from the previous `service manualrun`
+# command.
+
+# On the local copy of the package.
+$ osc service manualrun
+$ osc build openSUSE_Leap_15.4 x86_64 --no-verify
+```
+
+This will give you an RPM you can install locally.
+
+## Step 3. Update package version
+
+The package is updated manually and it relies on the Git repository from
+`connect-ng` to contain the latest changes. Whenever you want to update the
+package on OBS, simply run the service and commit the changes like so:
+
+```bash
+$ osc service manualrun
+# review the changes
+$ osc commit
+```
+
+## Submit maintenance updates
+
+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`.
+
+**Note**: If you want to disable automatic changes made by osc (e.g. License
+string) use the `--no-cleanup` switch. Can be used for commands like `osc mr`,
+`osc sr` and `osc ci`.
+
+### Submit maintenance updates for SLES to the Internal Build Service
+
+#### Get target codestreams where to submit
+
+To checkout in which codestreams the package is currently maintaned, run:
+
+```bash
+osc -A https://api.suse.de maintained suseconnect-ng
+```
+
+For a more detailed view which target codestreams are in which state, find the
+`suseconnect-ng` package on
+[maintenance.suse.de](https://maintenance.suse.de/maintained/)
+
+#### Submit updates
+
+For each maintained codestream you need to create a new maintenance request:
+
+```bash
+osc -A https://api.suse.de mr openSUSE.org:systemsmanagement:SCC 
suseconnect-ng SUSE:SLE-15-SP4:GA
+```
+
+**Note**: In case the `mr` (maintenance request) command is not working
+properly, try `sr` (submit request) command.
+
+**Note:**
+
+* When asked whether or not to supersede a request, the answer is usually "no".
+  Saying "yes" would overwrite the previous request made, cancelling the 
release
+  process for its codestream.
+
+For RES8 (SUSE Linux Enterprise Server with Expanded Support), package updates
+need to get done by EPAM (contact is: res-co...@suse.de). We agreed to only 
push
+critical security updates there.
+
+You can check the status of your requests
+[here](https://build.opensuse.org/package/requests/systemsmanagement:SCC/suseconnect-ng).
+
+Whenever your requests get accepted, they still have to pass maintenance 
testing
+before they get released to customers. You can check their progress by 
searching
+for the package on
+[maintenance.suse.de](https://maintenance.suse.de/maintained/). If you still
+need help, the maintenance team can be reached at
+[maint-co...@suse.de](maint-co...@suse.de) or `#discuss-maintenance` on Slack.
+
+# The CI
+
+This project makes use of the feature from OBS in which you can build a package
+from a given PR. This way we check that your changes don't break the packaging
+side of `connect-ng`.
+
+You can see the configuration on this on
+[.obs/workflows.yml](.obs/workflows.yml). Right now this is taking place inside
+of a personal project, but this is to be changed (see [this Jira
+ticket](https://jira.suse.com/browse/CSD-79)).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/connect-ng-0.0.9~git10.de887da7231f/yast/lib/suse/connect/yast.rb 
new/connect-ng-0.0.10~git0.5f84106/yast/lib/suse/connect/yast.rb
--- old/connect-ng-0.0.9~git10.de887da7231f/yast/lib/suse/connect/yast.rb       
2022-09-05 14:02:50.000000000 +0200
+++ new/connect-ng-0.0.10~git0.5f84106/yast/lib/suse/connect/yast.rb    
2022-09-15 09:27:38.000000000 +0200
@@ -13,7 +13,7 @@
   extern 'string announce_system(string, string)'
   extern 'string update_system(string, string)'
   extern 'string credentials(string)'
-  extern 'string create_credentials_file(string, string, string)'
+  extern 'string create_credentials_file(string, string, string, string)'
   extern 'string curlrc_credentials()'
   extern 'string show_product(string, string)'
   extern 'string activated_products(string)'
@@ -141,7 +141,7 @@
         # @param [String] system password - return value of announce_system 
method
         # @param [String] credentials_file - defaults to 
/etc/zypp/credentials.d/SCCcredentials
         def create_credentials_file(login, password, credentials_file = 
GLOBAL_CREDENTIALS_FILE)
-          GoConnect.create_credentials_file(login, password, credentials_file)
+          GoConnect.create_credentials_file(login, password, "", 
credentials_file)
         end
 
         # Lists all available products for a system.

Reply via email to