Compare commits

3 Commits
1.1 ... main

7 changed files with 74 additions and 15 deletions

View File

@@ -4,14 +4,16 @@
<param name="scm">git</param>
<param name="filename">container-suseconnect</param>
<param name="exclude">.git</param>
<param name="versionformat">2.5.0</param>
<param name="revision">v2.5.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="revision">v2.5.5</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="manual" name="set_version"/>
<service mode="manual" name="recompress">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service mode="manual" name="set_version"/>
<service mode="manual" name="go_modules">
<param name="compression">zst</param>
</service>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/SUSE/container-suseconnect.git</param>
<param name="changesrevision">8f8e0d9d42bd99e84955bf68fa708e9b482f84ae</param></service></servicedata>

Binary file not shown.

Binary file not shown.

View File

@@ -1,3 +1,52 @@
-------------------------------------------------------------------
Fri Jul 18 07:47:21 UTC 2025 - Dirk Müller <dmueller@suse.com>
- Update to version 2.5.5:
* Do not log credentials errors
- switch to the go native fips 140-3 module
(https://go.dev/blog/fips140)
-------------------------------------------------------------------
Tue Jun 10 09:44:09 UTC 2025 - Dirk Müller <dmueller@suse.com>
- Update to version 2.5.4:
* Switch to sha256 from md5
- use go's native fips module on tumbleweed
-------------------------------------------------------------------
Tue May 20 19:30:45 UTC 2025 - Dirk Müller <dmueller@suse.com>
- Update to version 2.5.3 (bsc#1243360):
* only handle command line options for the default arg0 case
* parse and ignore the previously removed log-credentials-errors
* Restore usage output on unhandled command line options
-------------------------------------------------------------------
Tue May 20 09:45:32 UTC 2025 - alexandre.vicenzi@suse.com
- Update to version 2.5.2:
* Prepare for new release
* Fix default behavior
* Use comma-separated lists for case in switch
* Switch to go stable and update mod to 1.24.0
* Remove use of urfave/cli and replace it with flag
* Various golangci-lint v2.1x warnings fixed
* Bump github.com/urfave/cli/v2 from 2.27.5 to 2.27.6
* Also allow optionally to pass down the system_token
* Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
-------------------------------------------------------------------
Wed Apr 23 17:14:43 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.5.1:
* Bump github.com/mssola/capture from 1.0.0 to 1.1.0
* Log everything to stderr
* Code formatting
* Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
* Also allow optionally to pass down the system_token
* Various golangci-lint v2.1x warnings fixed
* Remove use of urfave/cli and replace it with flag
-------------------------------------------------------------------
Tue Mar 5 20:58:41 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package container-suseconnect
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,8 +21,10 @@
%global zypp_path %{_prefix}/lib/zypp/plugins
%global zypp_services %{zypp_path}/services
%global zypp_urlresolver %{zypp_path}/urlresolver
%global use_fips_mode 0%{?suse_version} == 1500 || 0%{?suse_version} == 1600
Name: %{project}
Version: 2.5.0
Version: 2.5.5
Release: 0
Summary: Provides access to repositories inside containers
License: Apache-2.0
@@ -33,11 +35,7 @@ Source1: vendor.tar.zst
Source2: container-suseconnect-rpmlintrc
BuildRequires: libzypp > 9.34
BuildRequires: zstd
%if 0%{?suse_version} == 1500
BuildRequires: go1.21-openssl
%else
BuildRequires: golang(API) = 1.21
%endif
BuildRequires: golang(API) = 1.24
Requires: libzypp > 9.34
%description
@@ -51,9 +49,15 @@ export TAR_OPTIONS="-I zstd"
%setup -q -n %{project}-%{version} -a1
%build
%if %use_fips_mode
export GOFIPS140=v1.0.0
%endif
go build -tags enablecgo -o %{project} -mod=vendor -buildmode=pie -trimpath -ldflags="-s -w" ./cmd/container-suseconnect
%check
%if %use_fips_mode
export GODEBUG=fips140=only GOFIPS140=v1.0.0
%endif
go test ./...
%install

BIN
vendor.tar.zst LFS

Binary file not shown.