From 52885d35c02271e23546c6e17e55bc298993a0d44d2741bdaf0bcd11fd66e96e Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Mon, 19 Jul 2021 10:03:53 +0000 Subject: [PATCH 1/4] - Update to version 0.0.1~git16.8a5d48c: * Add extensions hints for readonly root fs * Make the connect package an internal package * Document debug output destination difference * Add status value constants * Add rollback CLI option * Fix callHTTP() so connections are reused * Fix list-extensions format * Fix error from zypper refresh OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=9 --- _servicedata | 2 +- connect-ng-0.0.1~git16.8a5d48c.tar.xz | 3 +++ suseconnect-ng.changes | 13 +++++++++++++ suseconnect-ng.spec | 8 +++++--- 4 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 connect-ng-0.0.1~git16.8a5d48c.tar.xz diff --git a/_servicedata b/_servicedata index 4dde3e6..47f2888 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/SUSE/connect-ng.git - a5f168aec0f6b371b72fa02f8579e778b015351d \ No newline at end of file + 8a5d48ca6171827361fe4904419b32201a427496 \ No newline at end of file diff --git a/connect-ng-0.0.1~git16.8a5d48c.tar.xz b/connect-ng-0.0.1~git16.8a5d48c.tar.xz new file mode 100644 index 0000000..e2b3528 --- /dev/null +++ b/connect-ng-0.0.1~git16.8a5d48c.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f23747eeb47f3e281965f94e0fdbe9bba15c5c2fe64175e715170d47ce76c0a +size 294024 diff --git a/suseconnect-ng.changes b/suseconnect-ng.changes index 2d7b8e2..996c015 100644 --- a/suseconnect-ng.changes +++ b/suseconnect-ng.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jul 19 10:01:54 UTC 2021 - jzerebecki@suse.com + +- Update to version 0.0.1~git16.8a5d48c: + * Add extensions hints for readonly root fs + * Make the connect package an internal package + * Document debug output destination difference + * Add status value constants + * Add rollback CLI option + * Fix callHTTP() so connections are reused + * Fix list-extensions format + * Fix error from zypper refresh + ------------------------------------------------------------------- Mon Jul 12 21:43:19 UTC 2021 - jzerebecki@suse.com diff --git a/suseconnect-ng.spec b/suseconnect-ng.spec index e42fa98..09f30a0 100644 --- a/suseconnect-ng.spec +++ b/suseconnect-ng.spec @@ -15,11 +15,12 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %global provider_prefix github.com/SUSE/connect-ng %global import_path %{provider_prefix} Name: suseconnect-ng -Version: 0.0.1~git0.a5f168a +Version: 0.0.1~git16.8a5d48c Release: 0 URL: https://github.com/SUSE/connect-ng License: LGPL-2.1-or-later @@ -27,8 +28,8 @@ Summary: Utility to register a system with the SUSE Customer Center Group: System/Management Source: connect-ng-%{version}.tar.xz Source1: %name-rpmlintrc -BuildRequires: golang-packaging BuildRequires: go >= 1.16 +BuildRequires: golang-packaging Conflicts: SUSEConnect %description @@ -71,7 +72,7 @@ find %_builddir/.. rm -rf %buildroot/usr/share/go %check -%gotest github.com/SUSE/connect-ng/connect +%gotest github.com/SUSE/connect-ng/internal/connect %files %license LICENSE LICENSE.LGPL @@ -80,3 +81,4 @@ rm -rf %buildroot/usr/share/go %_bindir/SUSEConnect %_sbindir/SUSEConnect +%changelog From 4bf4723fa5f076d8fc7c9d22a368e11f8b722c0a57e381dc5eed6d8cf6d4d463 Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Thu, 22 Jul 2021 08:24:10 +0000 Subject: [PATCH 2/4] - Update to version 0.0.1~git33.b531281: * Run integration tests * Try to use localized error from server response * Write usage help to stdout like the Ruby version * Simplify list-extensions template * Fix call to create UUID on s390 * Provides and Obsoletes SUSEConnect * Add extensions list tests * Fix calls to s390 read_values * Add build-s390 target to Makefile * hwinfo: don't fail if dmidecode is missing OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=10 --- _servicedata | 2 +- connect-ng-0.0.1~git16.8a5d48c.tar.xz | 3 --- connect-ng-0.0.1~git33.b531281.tar.xz | 3 +++ suseconnect-ng.changes | 15 +++++++++++++++ suseconnect-ng.spec | 4 +++- 5 files changed, 22 insertions(+), 5 deletions(-) delete mode 100644 connect-ng-0.0.1~git16.8a5d48c.tar.xz create mode 100644 connect-ng-0.0.1~git33.b531281.tar.xz diff --git a/_servicedata b/_servicedata index 47f2888..bffec90 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/SUSE/connect-ng.git - 8a5d48ca6171827361fe4904419b32201a427496 \ No newline at end of file + b53128131bb2dddc7a017cf13afdd378f89d7acf \ No newline at end of file diff --git a/connect-ng-0.0.1~git16.8a5d48c.tar.xz b/connect-ng-0.0.1~git16.8a5d48c.tar.xz deleted file mode 100644 index e2b3528..0000000 --- a/connect-ng-0.0.1~git16.8a5d48c.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f23747eeb47f3e281965f94e0fdbe9bba15c5c2fe64175e715170d47ce76c0a -size 294024 diff --git a/connect-ng-0.0.1~git33.b531281.tar.xz b/connect-ng-0.0.1~git33.b531281.tar.xz new file mode 100644 index 0000000..1fa3295 --- /dev/null +++ b/connect-ng-0.0.1~git33.b531281.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5822bf4f88cef72ad60fb75910ac2178e01ca1ee4f42aab565cbb337fd1c94ae +size 332092 diff --git a/suseconnect-ng.changes b/suseconnect-ng.changes index 996c015..77d7dc0 100644 --- a/suseconnect-ng.changes +++ b/suseconnect-ng.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Jul 22 08:23:30 UTC 2021 - jzerebecki@suse.com + +- Update to version 0.0.1~git33.b531281: + * Run integration tests + * Try to use localized error from server response + * Write usage help to stdout like the Ruby version + * Simplify list-extensions template + * Fix call to create UUID on s390 + * Provides and Obsoletes SUSEConnect + * Add extensions list tests + * Fix calls to s390 read_values + * Add build-s390 target to Makefile + * hwinfo: don't fail if dmidecode is missing + ------------------------------------------------------------------- Mon Jul 19 10:01:54 UTC 2021 - jzerebecki@suse.com diff --git a/suseconnect-ng.spec b/suseconnect-ng.spec index 09f30a0..5b7f538 100644 --- a/suseconnect-ng.spec +++ b/suseconnect-ng.spec @@ -20,7 +20,7 @@ %global import_path %{provider_prefix} Name: suseconnect-ng -Version: 0.0.1~git16.8a5d48c +Version: 0.0.1~git33.b531281 Release: 0 URL: https://github.com/SUSE/connect-ng License: LGPL-2.1-or-later @@ -31,6 +31,8 @@ Source1: %name-rpmlintrc BuildRequires: go >= 1.16 BuildRequires: golang-packaging Conflicts: SUSEConnect +Obsoletes: SUSEConnect +Provides: SUSEConnect %description This package provides a command line tool for connecting a From cac5b32588a179151a5283e298c811047ffbecf79bccc3d8780dfac8e93bb3a4 Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Fri, 23 Jul 2021 10:55:42 +0000 Subject: [PATCH 3/4] - Update to version 0.0.2~git0.ebef3b7: * Add --version * Fix list-extensions printing "Not available" when using SCC * Change --deregister to --de-register OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=11 --- _servicedata | 2 +- connect-ng-0.0.1~git33.b531281.tar.xz | 3 --- connect-ng-0.0.2~git0.ebef3b7.tar.xz | 3 +++ suseconnect-ng.changes | 8 ++++++++ suseconnect-ng.spec | 3 ++- 5 files changed, 14 insertions(+), 5 deletions(-) delete mode 100644 connect-ng-0.0.1~git33.b531281.tar.xz create mode 100644 connect-ng-0.0.2~git0.ebef3b7.tar.xz diff --git a/_servicedata b/_servicedata index bffec90..dbc0b26 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/SUSE/connect-ng.git - b53128131bb2dddc7a017cf13afdd378f89d7acf \ No newline at end of file + ebef3b7c52fcde65172254107c52dd5e86b13c1e \ No newline at end of file diff --git a/connect-ng-0.0.1~git33.b531281.tar.xz b/connect-ng-0.0.1~git33.b531281.tar.xz deleted file mode 100644 index 1fa3295..0000000 --- a/connect-ng-0.0.1~git33.b531281.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5822bf4f88cef72ad60fb75910ac2178e01ca1ee4f42aab565cbb337fd1c94ae -size 332092 diff --git a/connect-ng-0.0.2~git0.ebef3b7.tar.xz b/connect-ng-0.0.2~git0.ebef3b7.tar.xz new file mode 100644 index 0000000..7c53b34 --- /dev/null +++ b/connect-ng-0.0.2~git0.ebef3b7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e34a980cf1fb57f76976b0030e7d48d9e2257e58a2d4d303274dc6f27b477e14 +size 353712 diff --git a/suseconnect-ng.changes b/suseconnect-ng.changes index 77d7dc0..149e744 100644 --- a/suseconnect-ng.changes +++ b/suseconnect-ng.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Jul 23 10:53:35 UTC 2021 - jzerebecki@suse.com + +- Update to version 0.0.2~git0.ebef3b7: + * Add --version + * Fix list-extensions printing "Not available" when using SCC + * Change --deregister to --de-register + ------------------------------------------------------------------- Thu Jul 22 08:23:30 UTC 2021 - jzerebecki@suse.com diff --git a/suseconnect-ng.spec b/suseconnect-ng.spec index 5b7f538..bde8f0b 100644 --- a/suseconnect-ng.spec +++ b/suseconnect-ng.spec @@ -20,7 +20,7 @@ %global import_path %{provider_prefix} Name: suseconnect-ng -Version: 0.0.1~git33.b531281 +Version: 0.0.2~git0.ebef3b7 Release: 0 URL: https://github.com/SUSE/connect-ng License: LGPL-2.1-or-later @@ -50,6 +50,7 @@ replaced SUSEConnect. %build find %_builddir/.. +echo %{version} > internal/connect/version.txt %goprep %{import_path} find %_builddir/.. go list all From f49f484cb2c60b425e045d407e5a77ac405f0524498903b391f9dac5f87cced7 Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Tue, 27 Jul 2021 09:03:08 +0000 Subject: [PATCH 4/4] - Update to version 0.0.3~git0.dacdd3b: * Add gofmt target to Makefile * Fix gofmt errors * Add Requires that weren't explicit (bsc#1188646) * Use custom UnmarshalJSON() for the Product struct OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=12 --- _servicedata | 2 +- connect-ng-0.0.2~git0.ebef3b7.tar.xz | 3 --- connect-ng-0.0.3~git0.dacdd3b.tar.xz | 3 +++ suseconnect-ng.changes | 9 +++++++++ suseconnect-ng.spec | 22 +++++++++++++++++++++- 5 files changed, 34 insertions(+), 5 deletions(-) delete mode 100644 connect-ng-0.0.2~git0.ebef3b7.tar.xz create mode 100644 connect-ng-0.0.3~git0.dacdd3b.tar.xz diff --git a/_servicedata b/_servicedata index dbc0b26..c8cdba9 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/SUSE/connect-ng.git - ebef3b7c52fcde65172254107c52dd5e86b13c1e \ No newline at end of file + dacdd3b7623fda3a69fb5cfc271c8ef4048891ba \ No newline at end of file diff --git a/connect-ng-0.0.2~git0.ebef3b7.tar.xz b/connect-ng-0.0.2~git0.ebef3b7.tar.xz deleted file mode 100644 index 7c53b34..0000000 --- a/connect-ng-0.0.2~git0.ebef3b7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e34a980cf1fb57f76976b0030e7d48d9e2257e58a2d4d303274dc6f27b477e14 -size 353712 diff --git a/connect-ng-0.0.3~git0.dacdd3b.tar.xz b/connect-ng-0.0.3~git0.dacdd3b.tar.xz new file mode 100644 index 0000000..d339274 --- /dev/null +++ b/connect-ng-0.0.3~git0.dacdd3b.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94beedd1f3dffd37f1340f9e1855d994086abed84d2498a78440467adced7d6a +size 370624 diff --git a/suseconnect-ng.changes b/suseconnect-ng.changes index 149e744..978b536 100644 --- a/suseconnect-ng.changes +++ b/suseconnect-ng.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Jul 27 09:02:36 UTC 2021 - jzerebecki@suse.com + +- Update to version 0.0.3~git0.dacdd3b: + * Add gofmt target to Makefile + * Fix gofmt errors + * Add Requires that weren't explicit (bsc#1188646) + * Use custom UnmarshalJSON() for the Product struct + ------------------------------------------------------------------- Fri Jul 23 10:53:35 UTC 2021 - jzerebecki@suse.com diff --git a/suseconnect-ng.spec b/suseconnect-ng.spec index bde8f0b..bdaf9cc 100644 --- a/suseconnect-ng.spec +++ b/suseconnect-ng.spec @@ -20,7 +20,7 @@ %global import_path %{provider_prefix} Name: suseconnect-ng -Version: 0.0.2~git0.ebef3b7 +Version: 0.0.3~git0.dacdd3b Release: 0 URL: https://github.com/SUSE/connect-ng License: LGPL-2.1-or-later @@ -33,6 +33,26 @@ BuildRequires: golang-packaging Conflicts: SUSEConnect Obsoletes: SUSEConnect Provides: SUSEConnect +%if 0%{?fedora} || 0%{?rhel} || 0%{?centos_version} +Requires: ca-certificates +%else +Requires: ca-certificates-mozilla +%endif +Requires: coreutils +# ExclusiveArch from this package +%ifarch %ix86 ia64 x86_64 %arm aarch64 +Requires: dmidecode +%endif +# ExclusiveArch from this package +%ifarch s390x +Requires: s390-tools +%endif +Requires: systemd +Requires: zypper +# lscpu is only used on those +%ifarch x86_64 aarch64 +Requires: util-linux +%endif %description This package provides a command line tool for connecting a