1
0

Compare commits

...

102 Commits

Author SHA256 Message Date
Ana Guerrero
29ba4ddf9d Accepting request 1224225 from systemsmanagement:SCC
- Update version to 1.13:
  - Integrating uptime-tracker
  - Honor auto-import-gpg-keys flag on migration (bsc#1231328)
  - Only send labels if targetting SCC
  - Skip the docker auth generation on RMT (bsc#1231185)
  - Add --set-labels to register command to set labels at registration time on SCC
  - Add a new function to display suse-uptime-tracker version
  - Integrate with uptime-tracker ( https://github.com/SUSE/uptime-tracker/ )
  - Add a command to show the info being gathered

OBS-URL: https://build.opensuse.org/request/show/1224225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=28
2024-11-15 14:38:02 +00:00
Miquel Sabate Sola
9a6d47d044 Update version to 1.13:
- Integrating uptime-tracker
  - Honor auto-import-gpg-keys flag on migration (bsc#1231328)
  - Only send labels if targetting SCC
  - Skip the docker auth generation on RMT (bsc#1231185)
  - Add --set-labels to register command to set labels at registration time on SCC
  - Add a new function to display suse-uptime-tracker version
  - Integrate with uptime-tracker ( https://github.com/SUSE/uptime-tracker/ )
  - Add a command to show the info being gathered

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=104
2024-11-14 10:26:32 +00:00
Ana Guerrero
a3b84ca2f9 Accepting request 1202232 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1202232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=27
2024-09-22 09:05:53 +00:00
Miquel Sabate Sola
82d24c21ad - Update version to 1.12:
- Set the filesystem root on zypper when given (bsc#1230229,bsc#1229014)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=102
2024-09-13 13:34:15 +00:00
Ana Guerrero
c0a2498e90 Accepting request 1188169 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1188169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=26
2024-07-18 17:15:30 +00:00
Ana Guerrero
67a8bf592b Accepting request 1177763 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1177763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=25
2024-06-04 10:50:34 +00:00
Felix Schnizlein
5aab328a8b OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=97 2024-05-23 13:26:16 +00:00
Felix Schnizlein
aebf049e57 - Update version to 1.10.0
* Build zypper-migration and zypper-packages-search as standalone
    binaries rather then one single binary
  * Add --gpg-auto-import-keys flag before action in zypper command (bsc#1219004)
  * Include /etc/products.d in directories whose content are backed
    up and restored if a zypper-migration rollback happens. (bsc#1219004)
  * Add the ability to upload the system uptime logs, produced by the
    suse-uptime-tracker daemon, to SCC/RMT as part of keepalive report.
    (jsc#PED-7982) (jsc#PED-8018)
  * Add support for third party packages in SUSEConnect
  * Refactor existing system information collection implementation
    self-signed SSL certificate (bsc#1223107)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=96
2024-05-23 13:25:18 +00:00
Ana Guerrero
dc78670747 Accepting request 1174033 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1174033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=24
2024-05-15 19:24:19 +00:00
Thomas Schmidt
0b6234f9fb fix build
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=94
2024-05-07 14:59:44 +00:00
Thomas Schmidt
1ca01d04c9 - Update to version 1.9.0
* Fix certificate import for Yast when using a registration proxy with
    self-signed SSL certificate (bsc#1223107)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=93
2024-05-07 14:49:31 +00:00
Ana Guerrero
757ce72d81 Accepting request 1162336 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1162336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=23
2024-03-27 19:41:48 +00:00
301528e310 - Update to version 1.8.0
* Allow "--rollback" flag to run on readonly filesystem (bsc#1220679)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=91
2024-03-19 15:13:51 +00:00
361dc804fe - Allow "--rollback" flag to run on readonly filesystem (bsc#1220679)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=90
2024-03-13 12:38:09 +00:00
Felix Schnizlein
b58273250e Remove git sha from releases, and update spec file to build against go1.21
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=89
2024-02-27 14:15:15 +00:00
Ana Guerrero
00f687c0a2 Accepting request 1146892 from systemsmanagement:SCC
- Update to version 1.7.0~git2.21ba08e
  * Allow SUSEConnect on read write transactional systems (bsc#1219425)

- Update to version 1.6.0
  * Disable EULA display for addons (bsc#1218649 and bsc#1217961)

- Update to version 1.5.0
  * Configure docker credentials for registry authentication
  * Feature: Support usage from Agama + Cockpit for ALP Micro system registration (bsc#1218364)
  * Add --json output option

- Update to version 1.4.0
  * Added EULA display for addons (bsc#1170267)
  * Fix zypper argument for auto-agreeing licenses (bsc#1214781)
  * Enable building on SLE12 SP5 (jsc#PED-3179)

OBS-URL: https://build.opensuse.org/request/show/1146892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=22
2024-02-16 20:41:43 +00:00
Felix Schnizlein
7b4d24c162 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=87 2024-02-15 16:02:02 +00:00
Felix Schnizlein
bc6a46bb2a OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=86 2024-02-15 15:59:15 +00:00
Felix Schnizlein
e035fe5cb9 Version 1.7.0~git2.21ba08e
* Fix Factory build

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=85
2024-02-15 15:18:08 +00:00
Felix Schnizlein
37f3e94c50 - Version 1.7.0~git2.21ba08e
* Fix Factory builds to allow submits to new products

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=84
2024-02-15 14:59:37 +00:00
Felix Schnizlein
acfc710ccd - Update to version 1.7.0~git0.5338270
* Allow SUSEConnect on read write transactional systems (bsc#1219425)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=83
2024-02-14 22:08:18 +00:00
Thomas Schmidt
a53eadc1c2 Disable EULA display for addons (bsc#1218649 and bsc#1217961)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=82
2024-01-19 12:28:34 +00:00
Thomas Schmidt
3869a3db02 - Update to version 1.6.0
* Allow horizontal migrations when showing EULAs (bsc#1218649 and bsc#1217961)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=81
2024-01-18 18:36:01 +00:00
Felix Schnizlein
a448ebcb13 * #2 attempt to fix horizontal migration (do not error out in EULA code path, when no base product is found)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=80
2024-01-17 09:34:04 +00:00
Thomas Schmidt
b5bc9ad912 Allow horizontal migrations when showing EULAs (bsc#1218649 and bsc#1217961)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=79
2024-01-16 10:59:21 +00:00
Natnael Getahun
17662b3e74 Update to version 1.5.0
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=78
2023-12-27 12:27:55 +00:00
Felix Schnizlein
1ad4ab042f Add --list-extensions json output support
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=77
2023-12-19 10:50:18 +00:00
Natnael Getahun
2f399850fc OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=76 2023-12-11 13:06:22 +00:00
Felix Schnizlein
858c7e7691 - Add automatic container registry authentication configuration
+ latest master

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=75
2023-11-15 08:34:55 +00:00
Miquel Sabate Sola
2926d5f3a5 Update to the latest main
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=74
2023-10-17 09:11:58 +00:00
Miquel Sabate Sola
5ec4a37a5f Fixed missmatch on package version spec vs .changes
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=73
2023-10-05 13:35:26 +00:00
Miquel Sabate Sola
4099d7ef9c - Update to version 1.4.0
* Added EULA display for addons (bsc#1170267)
  * Fix zypper argument for auto-agreeing licenses (bsc#1214781)
  * Enable building on SLE12 SP5 (jsc#PED-3179)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=72
2023-09-27 07:36:24 +00:00
Miquel Sabate Sola
2d1739c52d - Update to version 1.3.0~git13.ea9a6cda72b4
- Fixes bsc#1170267
  - Fixes bsc#1214781
  - Enables the build for SLE12 SP5

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=71
2023-09-15 10:59:35 +00:00
Miquel Sabate Sola
478da49026 Updated to the latest changes on main
Setting back the _service file to follow `main` instead of a specifically pinned
commit sha.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=70
2023-09-12 10:58:21 +00:00
Dominique Leuenberger
d74c35ae63 Accepting request 1103341 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1103341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=21
2023-08-11 13:55:14 +00:00
Thomas Schmidt
149a95798d OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=68 2023-08-03 13:37:27 +00:00
Thomas Schmidt
5a3fbcf525 * Track .changes file in git
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=67
2023-08-03 13:36:22 +00:00
Thomas Schmidt
6a66819aa5 - Update to version 1.3.0
* Track .changes file in git

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=66
2023-08-03 13:34:33 +00:00
Thomas Schmidt
4738c34cf1 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=65 2023-08-02 13:54:55 +00:00
Ana Guerrero
de2052bcf6 Accepting request 1099075 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1099075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=20
2023-07-19 17:10:01 +00:00
Thomas Schmidt
bdb87741b9 - Update to version 1.2.0~git0.abd0fec:
* enhance docs for package testing
  * fix provides to be compatible with yast2-registration on SLE15SP3 and lower

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=63
2023-07-10 09:58:05 +00:00
Thomas Schmidt
08b5a1f366 * Fixed provides to work with yast2-registration on SLE15 < SP4 (bsc#1212799)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=62
2023-07-07 15:04:54 +00:00
Thomas Schmidt
ae762b968a OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=61 2023-07-07 14:58:48 +00:00
Thomas Schmidt
0ba1481c1b - Update to version 1.1.0~git4.9156496:
* Improve error message if product set more than once

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=60
2023-07-07 14:56:46 +00:00
Thomas Schmidt
1a9eecf7e5 - Update to version 1.2.0~git2.f42b4b2:
* Fixed `provides` to work with yast2-registration on SLE15 < SP4

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=59
2023-07-07 14:46:27 +00:00
Dominique Leuenberger
603a55e8f9 Accepting request 1093063 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1093063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=19
2023-06-17 20:19:42 +00:00
Miquel Sabate Sola
85d19ea593 - Update to version 1.1.0~git2.f42b4b2a060e:
* Keep keepalive timer states when replacing SUSEConnect (bsc#1211588)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=57
2023-06-07 06:16:00 +00:00
Dominique Leuenberger
0dcfd638ea Accepting request 1074142 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1074142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=18
2023-03-25 17:55:06 +00:00
Miquel Sabate Sola
080bfa185b - Update to version 1.1.0~git0.e3c41e60892e:
* Bump to v1.1.0

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=55
2023-03-17 10:42:40 +00:00
Miquel Sabate Sola
9c2f160897 Removing old tarball file
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=54
2023-03-14 10:15:57 +00:00
Miquel Sabate Sola
a695ef607f - Update to version 1.0.0~git23.406b219ccc9e:
* Added MemTotal detection for HwInfo
  * move 'ExcludeArch' out of the if block

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=53
2023-03-14 10:15:28 +00:00
Thomas Schmidt
1b6b5cf743 - Update to version 1.0.0~git19.b225bc3:
* Make keepalive on SUMA systems exit without error (bsc#1207876)
  * Update README.md
  * Add deactivate API to ruby bindings (bsc#1202705)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=52
2023-03-08 10:46:19 +00:00
Thomas Schmidt
90568f3a63 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=51 2022-12-21 13:24:19 +00:00
Dominique Leuenberger
fc2d18f80b Accepting request 1043929 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1043929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=17
2022-12-20 19:20:09 +00:00
Thomas Schmidt
1d96032efe OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=49 2022-12-13 13:06:24 +00:00
Thomas Schmidt
2876fbc5b1 - Update to version 1.0.0~git14.17a7901:
* Don't write system_token to service credentials files
  * Allow non-root users to use --version
  * Add: ExcludeArch: %ix86 s390 ppc64 to the .spec file, so we skip builds for unsupported architectures.
  * Update Dockerfile.yast
  * Use openssl go for SLE and Leap 15.5+ builds
  * Fix keepalive feature notice during installation
  * Fix requires for all rhel clone distributions like alma, rocky...

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=48
2022-12-13 13:02:02 +00:00
Thomas Schmidt
7bf191c48b OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=47 2022-12-06 10:17:19 +00:00
Thomas Schmidt
a40189e00a OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=46 2022-12-06 09:44:58 +00:00
Thomas Schmidt
822cb77d01 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=45 2022-12-01 17:29:10 +00:00
Dominique Leuenberger
a448af7623 Accepting request 1035853 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1035853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=16
2022-11-16 14:42:27 +00:00
Miquel Sabate Sola
c2fe58a714 - Update to version 1.0.0~git0.faee7c196dc1:
* Revert "packaging: 1.0.0 -> 1.0"

- Update to version v1.0~git0.32cac3fb5047:
  * packaging: 1.0.0 -> 1.0

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=43
2022-11-08 13:07:37 +00:00
Dominique Leuenberger
23baeab4f9 Accepting request 1034318 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1034318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=15
2022-11-08 09:53:40 +00:00
Miquel Sabate Sola
80282fc777 - Update to version 1.0.0~git0.60e48564a714 (bsc#1204821):
* packaging: obsolete suseconnect < 1.0.0
  * packaging: don't end the summary with a dot

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=41
2022-10-28 08:01:50 +00:00
Fabian Vogt
2cf2b917a2 Accepting request 1008757 from systemsmanagement:SCC
OBS-URL: https://build.opensuse.org/request/show/1008757
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=14
2022-10-10 16:43:44 +00:00
Darragh O'Reilly
76d219ac4e Accepting request 1008756 from home:jtomasiak:branches:systemsmanagement:SCC
- Update to version 0.0.10~git2.ee561b8:
  * Drop .git from tar

OBS-URL: https://build.opensuse.org/request/show/1008756
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=39
2022-10-07 10:42:19 +00:00
Richard Brown
30de263162 Accepting request 1006605 from systemsmanagement:SCC
OBS-URL: https://build.opensuse.org/request/show/1006605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=13
2022-10-01 15:42:30 +00:00
Darragh O'Reilly
deeb468355 Accepting request 1003714 from home:jtomasiak:branches:systemsmanagement:SCC
- Update to version 0.0.10~git0.5f84106:
  * Fix System-Token support in ruby binding (bsc#1203341)
  * Added the PACKAGE.md file

OBS-URL: https://build.opensuse.org/request/show/1003714
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=37
2022-09-28 08:22:28 +00:00
Dominique Leuenberger
2601ea3fe0 Accepting request 1004763 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1004763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=12
2022-09-20 17:23:24 +00:00
Miquel Sabate Sola
344492794a - Update to version 0.0.9~git10.de887da7231f:
* Respect the PROXY_ENABLED environment variable

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=35
2022-09-12 15:29:03 +00:00
Dominique Leuenberger
c4b009202d Accepting request 1001717 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1001717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=11
2022-09-08 12:21:43 +00:00
a186c192dd - Update to version 0.0.9~git8.f9adb71:
* Use standard buildconditionals
  * Strip the binaries (saves ~ 30%)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=33
2022-08-31 10:41:57 +00:00
Dominique Leuenberger
cf8f0bb7bb Accepting request 993339 from systemsmanagement:SCC
- Update to version 0.0.9~git5.75890b6:
  * Don't run keepalive on reboot
  * Use system-wide proxy settings (bsc#1200994)
  * Add customer information about keepalive calls
  * Add timer for SUSEConnect --keepalive (bsc#1196076)
  * Add --keepalive to manpage
  * Added support for the System-Token header
  * Add Keepalive command line option
  * Print nested zypper errors (bsc#1200803)
  * Fix migration json error with SMT (bsc#1198625)
  * Add option to run local scc tests
  * Switch to jenkins-hosted credentials
  * Fix "VCS stamping" problem
  * Add missing import
  * Remove redundant code + add comment

OBS-URL: https://build.opensuse.org/request/show/993339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=10
2022-08-23 12:25:55 +00:00
e805ba1b4a - Update to version 0.0.9~git5.75890b6:
* Don't run keepalive on reboot
  * Use system-wide proxy settings (bsc#1200994)
  * Add customer information about keepalive calls
  * Add timer for SUSEConnect --keepalive (bsc#1196076)
  * Add --keepalive to manpage
  * Added support for the System-Token header
  * Add Keepalive command line option
  * Print nested zypper errors (bsc#1200803)
  * Fix migration json error with SMT (bsc#1198625)
  * Add option to run local scc tests
  * Switch to jenkins-hosted credentials
  * Fix "VCS stamping" problem
  * Add missing import
  * Remove redundant code + add comment

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=31
2022-08-05 13:42:43 +00:00
Dominique Leuenberger
da3af1b89b Accepting request 971026 from systemsmanagement:SCC
- Update to version 0.0.8~git2.368ea44:
  * go1.18 compatibility: BuildRequires:git

- Update to version 0.0.8~git0.16545bf:
  * Allow reloading CA certs pool (bsc#1195220)

OBS-URL: https://build.opensuse.org/request/show/971026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=9
2022-04-20 14:54:33 +00:00
728d55c78c - Update to version 0.0.8~git2.368ea44:
* go1.18 compatibility: BuildRequires:git

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=29
2022-04-20 08:19:03 +00:00
6863418909 - Update to version 0.0.8~git0.16545bf:
* Allow reloading CA certs pool (bsc#1195220)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=28
2022-04-13 13:00:23 +00:00
Dominique Leuenberger
2d02aad838 Accepting request 964650 from systemsmanagement:SCC
- Update to version 0.0.7~git0.3ef988e:
  * Fix product tree traversal (bsc#1197398)
  * Revert "Remove self from LD_PRELOAD (bsc#1196326)"
  * Remove self from LD_PRELOAD (bsc#1196326)

OBS-URL: https://build.opensuse.org/request/show/964650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=8
2022-03-28 14:58:35 +00:00
15f80cde75 unbreak link
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=26
2022-03-24 12:12:17 +00:00
Dominique Leuenberger
770ef0cf6e Accepting request 958283 from systemsmanagement:SCC
- Update to version 0.0.6~git9.33e5847:
  * Delegate free() calls back to Go (bsc#1195729)
  * Pass "insecure" to zypper addservice
  * Workaround system cert reloading after import (bsc#1195220)
  * Extract setupHTTPClient for easier reuse
  * Exit with code 64 on connection refused like Ruby

OBS-URL: https://build.opensuse.org/request/show/958283
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=7
2022-03-02 17:20:03 +00:00
92f5f7160f rebase on factory
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=24
2022-03-01 14:12:45 +00:00
Dominique Leuenberger
07eb4ed494 Accepting request 949216 from systemsmanagement:SCC
- Update to version 0.0.6~git0.77933db:
  * Add man pages
  * Add note in DIFFERENCES.md about abbreviated flags
  * Add -l as an alias for --list-extensions
  * Add --clean as an alias for --cleanup (bsc#1195003)
  * Suppress expected error log message in TLS test
  * Add flag to import product repo keys (bsc#1174657)

OBS-URL: https://build.opensuse.org/request/show/949216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=6
2022-01-27 22:16:29 +00:00
850eba17a1 fix link
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=22
2022-01-26 09:12:29 +00:00
Dominique Leuenberger
7bd0a2f57c Accepting request 944747 from systemsmanagement:SCC
- Update to version 0.0.5~git0.bbb5544:
  * Switch from rubygem-ffi to fiddle
  * Cleanup services during migration (bsc#1161891)
  * Allow non-root users to see usage text
  * Add option to not fail dup as much
  * Move APIVersion declaration to file where it is used
  * Add flag to enable/disable hwinfo test
  * Add ARM cluster count to hwinfo and fix test
  * Simplify parsing JSON error response
  * Add --gpg-auto-import-keys for zypper ref
  * Rename main.go to logging.go
  * Fix typo
  * Remove init() from the connect package
  * Move CFG variable declaration to config.go
  * Move AppName const to the file where it is used
  * Use testing.Helper() in test helpers
  * Add ppc64le support
  * Disable UUID test
  * Add test tools to BuildRequires
  * Ignore UUID errors
  * Run basic hwinfo sanity test on build service
  * Update code comments to match shim behavior.
  * Remove dependency on systemd
  * Only run httputil DumpResponse when needed

OBS-URL: https://build.opensuse.org/request/show/944747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=5
2022-01-09 21:49:56 +00:00
a231be4ffb fix link
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=20
2022-01-07 13:48:10 +00:00
Dominique Leuenberger
d7d29188fb Accepting request 935011 from systemsmanagement:SCC
- Update to version 0.0.4~git0.64b80e9, it now includes a library and ruby gem that can be used by yast-registration

OBS-URL: https://build.opensuse.org/request/show/935011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=4
2021-12-08 21:08:49 +00:00
7a7f9808f6 fix link
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=18
2021-12-01 14:43:57 +00:00
Dominique Leuenberger
285dc7eca9 Accepting request 916791 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/916791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=3
2021-09-04 20:35:22 +00:00
8acd234dce fix _link
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=16
2021-08-27 23:28:12 +00:00
c298c9e8a7 fix link
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=14
2021-08-27 22:54:32 +00:00
Dominique Leuenberger
40255097c6 Accepting request 909984 from systemsmanagement:SCC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/909984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=2
2021-08-03 20:49:06 +00:00
988b3096ed - 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
2021-07-27 09:03:08 +00:00
11fbbe808c - 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
2021-07-23 10:55:42 +00:00
154b388897 - 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
2021-07-22 08:24:10 +00:00
8cec69b1f9 - 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
2021-07-19 10:03:53 +00:00
Dominique Leuenberger
87e87c115d Accepting request 905951 from systemsmanagement:SCC
suseconnect-ng reduces the size of its runtime dependencies compared to the replaced SUSEConnect.

OBS-URL: https://build.opensuse.org/request/show/905951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=1
2021-07-13 20:37:17 +00:00
8561ff7e58 - Update to version 0.0.1~git0.a5f168a:
* Add JSONError and cleanup error handling

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=7
2021-07-12 21:44:24 +00:00
f9d47bb117 - Update to version 0.0.0~git.c45760f:
* Add Conflicts:SUSEConnect due to same file name
  * Document advantage of suseconnect-ng
  * Make UpdateSystem() message text bold
  * Add no_zypper_refs config file option
  * Complete Register() and AnnounceSystem()
  * Add registerProductTree()
  * Add activateProduct() and registerProduct()
  * Rename source modules to executable names
  * Remove unnecessary content from package.
  * Add proxy auth support
  * Change order of usage help options to match the Ruby version
  * Make requirement for go 1.16 explicit.
  * Fix instance data file path
  * Add zypper service commands needed for registration
  * S390: set cpus, sockets, hypervisor and uuid hwinfo fields
  * Implement the system update part of registration
  * Add helper to build hwinfo struct
  * Add functions to call and parse s390 read_values
  * Add function to get the hostname
  * Add function to get private IP address
  * Add arch, hypervisor and uuid functions
  * Add function to find cloud provider from dmidecode
  * Add function to parse lscpu output
  * Add announceSystem() api call
  * Add deregistration functionality
  * Add deactivateProduct() API call
  * obs: use an in between branch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=6
2021-07-09 14:07:56 +00:00
53c66584af remove obsolete obsinfo file to fix set_version service
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=5
2021-07-08 01:46:01 +00:00
6dfeaaecab use explicit filename for tar_scm service
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=4
2021-07-02 18:49:26 +00:00
0b8604867f Change sercie obs_scm to tar_scm and drop tar service as it is not available on server.
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=3
2021-07-02 18:34:14 +00:00
674bd5a7e2 - Update to version 0.0.0~git.a083a1f:
* Add Product.IsEmpty()
  * Add unit test for token auth
  * Add obs workflow to be able to use it as CI
  * add files to build rpm
  * Add more zypper operations
  * Unexport api functions
  * Add --cleanup CLI action
  * Add listing of installed services via zypper
  * Change zypperRun args to take a slice of strings
  * Fix printInformation() outputs

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=2
2021-07-02 12:33:42 +00:00
Thomas Schmidt
c176361a09 Accepting request 902846 from home:jzerebecki:branches:systemsmanagement:SCC
package https://github.com/SUSE/connect-ng

OBS-URL: https://build.opensuse.org/request/show/902846
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=1
2021-07-01 09:57:55 +00:00
6 changed files with 40 additions and 12 deletions

View File

@ -2,8 +2,8 @@
<service name="tar_scm" mode="manual"> <service name="tar_scm" mode="manual">
<param name="scm">git</param> <param name="scm">git</param>
<param name="url">https://github.com/SUSE/connect-ng.git</param> <param name="url">https://github.com/SUSE/connect-ng.git</param>
<param name="revision">v1.11.0</param> <param name="revision">v1.13.0</param>
<param name="version">1.11.0</param> <param name="version">1.13.0</param>
<param name="filename">suseconnect-ng</param> <param name="filename">suseconnect-ng</param>
<param name="package-meta">no</param> <param name="package-meta">no</param>
<param name="changesgenerate">disable</param> <param name="changesgenerate">disable</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af3dfeb1160a617436e57f0705c4c5e3250c5541cdbd1492e031e5c5c0c87504
size 112692

BIN
suseconnect-ng-1.13.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Nov 14 11:01:05 UTC 2024 - Miquel Sabaté Solà <msabate@suse.com>
- Update version to 1.13:
- Integrating uptime-tracker
- Honor auto-import-gpg-keys flag on migration (bsc#1231328)
- Only send labels if targetting SCC
- Skip the docker auth generation on RMT (bsc#1231185)
- Add --set-labels to register command to set labels at registration time on SCC
- Add a new function to display suse-uptime-tracker version
- Integrate with uptime-tracker ( https://github.com/SUSE/uptime-tracker/ )
- Add a command to show the info being gathered
-------------------------------------------------------------------
Fri Sep 13 14:11:22 UTC 2024 - Miquel Sabate Sola <msabate@suse.com>
- Update version to 1.12:
- Set the filesystem root on zypper when given (bsc#1230229,bsc#1229014)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 10 12:03:20 UTC 2024 - Miquel Sabaté <msabate@suse.com> Thu Jul 10 12:03:20 UTC 2024 - Miquel Sabaté <msabate@suse.com>

View File

@ -19,7 +19,7 @@
%global project github.com/SUSE/connect-ng %global project github.com/SUSE/connect-ng
Name: suseconnect-ng Name: suseconnect-ng
Version: 1.11.0 Version: 1.13.0
Release: 0 Release: 0
URL: https://github.com/SUSE/connect-ng URL: https://github.com/SUSE/connect-ng
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -108,6 +108,7 @@ echo %{version} > internal/connect/version.txt
go build -v -ldflags "-s -w" -mod=vendor -buildmode=pie -o bin/suseconnect %{project}/cmd/suseconnect go build -v -ldflags "-s -w" -mod=vendor -buildmode=pie -o bin/suseconnect %{project}/cmd/suseconnect
go build -v -ldflags "-s -w" -mod=vendor -buildmode=pie -o bin/zypper-migration %{project}/cmd/zypper-migration go build -v -ldflags "-s -w" -mod=vendor -buildmode=pie -o bin/zypper-migration %{project}/cmd/zypper-migration
go build -v -ldflags "-s -w" -mod=vendor -buildmode=pie -o bin/zypper-search-packages %{project}/cmd/zypper-search-packages go build -v -ldflags "-s -w" -mod=vendor -buildmode=pie -o bin/zypper-search-packages %{project}/cmd/zypper-search-packages
go build -v -ldflags "-s -w" -mod=vendor -buildmode=pie -o bin/suse-uptime-tracker %{project}/cmd/suse-uptime-tracker
# the library # the library
mkdir -p %_builddir/go/lib mkdir -p %_builddir/go/lib
@ -116,6 +117,7 @@ go build -v -ldflags "-s -w" -mod=vendor -buildmode=c-shared -o lib/libsuseconne
%install %install
# Install binary + symlinks # Install binary + symlinks
install -D -m 0755 bin/suseconnect %{buildroot}/%{_bindir}/suseconnect install -D -m 0755 bin/suseconnect %{buildroot}/%{_bindir}/suseconnect
install -D -m 0755 bin/suse-uptime-tracker %{buildroot}/%{_bindir}/suse-uptime-tracker
ln -s %{_bindir}/suseconnect %{buildroot}/%{_bindir}/SUSEConnect ln -s %{_bindir}/suseconnect %{buildroot}/%{_bindir}/SUSEConnect
install -d -m 0755 %{buildroot}/%{_sbindir} install -d -m 0755 %{buildroot}/%{_sbindir}
@ -140,13 +142,16 @@ install -D -m 644 SUSEConnect.example %{buildroot}%{_sysconfdir}/SUSEConnect.exa
# Install the SUSEConnect --keepalive timer and service. # Install the SUSEConnect --keepalive timer and service.
install -D -m 644 build/packaging/suseconnect-keepalive.timer %{buildroot}/%{_unitdir}/suseconnect-keepalive.timer install -D -m 644 build/packaging/suseconnect-keepalive.timer %{buildroot}/%{_unitdir}/suseconnect-keepalive.timer
install -D -m 644 build/packaging/suseconnect-keepalive.service %{buildroot}/%{_unitdir}/suseconnect-keepalive.service install -D -m 644 build/packaging/suseconnect-keepalive.service %{buildroot}/%{_unitdir}/suseconnect-keepalive.service
install -D -m 644 build/packaging/suse-uptime-tracker.timer %{buildroot}/%{_unitdir}/suse-uptime-tracker.timer
install -D -m 644 build/packaging/suse-uptime-tracker.service %{buildroot}/%{_unitdir}/suse-uptime-tracker.service
ln -sf service %{buildroot}/%{_sbindir}/rcsuseconnect-keepalive ln -sf service %{buildroot}/%{_sbindir}/rcsuseconnect-keepalive
ln -sf service %{buildroot}/%{_sbindir}/rcsuse-uptime-tracker
# we currently do not ship the source for any go module # we currently do not ship the source for any go module
rm -rf %{buildroot}/usr/share/go rm -rf %{buildroot}/usr/share/go
%pre %pre
%service_add_pre suseconnect-keepalive.service suseconnect-keepalive.timer %service_add_pre suseconnect-keepalive.service suseconnect-keepalive.timer suse-uptime-tracker.service suse-uptime-tracker.timer
# in pre blocks the old version is still installed. This way we can detect # in pre blocks the old version is still installed. This way we can detect
# if --keepalive was already present before # if --keepalive was already present before
@ -198,13 +203,13 @@ fi
sed -i '/RandomizedDelaySec*/d' %{_unitdir}/suseconnect-keepalive.timer sed -i '/RandomizedDelaySec*/d' %{_unitdir}/suseconnect-keepalive.timer
sed -i "s/OnCalendar=daily/OnCalendar=*-*-* $TIMER_HOUR:$TIMER_MINUTE:00/" %{_unitdir}/suseconnect-keepalive.timer sed -i "s/OnCalendar=daily/OnCalendar=*-*-* $TIMER_HOUR:$TIMER_MINUTE:00/" %{_unitdir}/suseconnect-keepalive.timer
%endif %endif
%service_add_post suseconnect-keepalive.service suseconnect-keepalive.timer %service_add_post suseconnect-keepalive.service suseconnect-keepalive.timer suse-uptime-tracker.service suse-uptime-tracker.timer
%preun %preun
%service_del_preun suseconnect-keepalive.service suseconnect-keepalive.timer %service_del_preun suseconnect-keepalive.service suseconnect-keepalive.timer suse-uptime-tracker.service suse-uptime-tracker.timer
%postun %postun
%service_del_postun suseconnect-keepalive.service suseconnect-keepalive.timer %service_del_postun suseconnect-keepalive.service suseconnect-keepalive.timer suse-uptime-tracker.service suse-uptime-tracker.timer
%posttrans %posttrans
if [ -e /run/suseconnect-keepalive.timer.is-enabled ]; then if [ -e /run/suseconnect-keepalive.timer.is-enabled ]; then
@ -220,15 +225,19 @@ fi
%license LICENSE LICENSE.LGPL %license LICENSE LICENSE.LGPL
%doc README.md %doc README.md
%{_bindir}/suseconnect %{_bindir}/suseconnect
%{_bindir}/suse-uptime-tracker
%{_bindir}/SUSEConnect %{_bindir}/SUSEConnect
%{_sbindir}/SUSEConnect %{_sbindir}/SUSEConnect
%{_sbindir}/rcsuseconnect-keepalive %{_sbindir}/rcsuseconnect-keepalive
%{_sbindir}/rcsuse-uptime-tracker
/usr/lib/zypper/commands /usr/lib/zypper/commands
%{_mandir}/man8/* %{_mandir}/man8/*
%{_mandir}/man5/* %{_mandir}/man5/*
%{_unitdir}/suseconnect-keepalive.service %{_unitdir}/suseconnect-keepalive.service
%{_unitdir}/suseconnect-keepalive.timer %{_unitdir}/suseconnect-keepalive.timer
%config %{_sysconfdir}/SUSEConnect.example %config %{_sysconfdir}/SUSEConnect.example
%{_unitdir}/suse-uptime-tracker.service
%{_unitdir}/suse-uptime-tracker.timer
%files -n libsuseconnect %files -n libsuseconnect
%license LICENSE LICENSE.LGPL %license LICENSE LICENSE.LGPL

BIN
vendor.tar.xz (Stored with Git LFS)

Binary file not shown.