deps: return to upstream minio-go and embed Console 43f8447fd

The silo-go fork is retired: silo-pkg v3.13.0, Console v2.3.0, and mcli
20260901 all require upstream github.com/minio/minio-go/v7 again. Drop the
replacement and require the same upstream pre-release they use
(v7.3.1-0.20260828014306-0e78d3f18efe, one commit past the fork's base).

Console moves from e07ef01 (v2.2.1 plus pins) to 43f8447fd, the last commit
of the v2.3.0 line before Console adopted the github.com/pgsty/silo-pkg/v3
module path. It carries the six v2.3.0 security fixes (forwarding-header
trust, outbound TLS verification, credential redaction, WebSocket session and
connection caps), the IAM wildcard and session-identity fixes, and their
regenerated assets, while still consuming silo-pkg through the existing
replacement. mc stays on the last commit before its own path migration;
silo-pkg stays on the last commit that declares the github.com/minio/pkg/v3
path, which differs from v3.13.0 only by that path change. CREDITS follows
the module set.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PvgysXDmhPBBimCReYtA8q
Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
Feng Ruohang
2026-09-02 14:51:10 +08:00
parent bc3b35f975
commit 0079723d35
4 changed files with 71 additions and 29 deletions
+6 -11
View File
@@ -2,16 +2,11 @@ module github.com/minio/minio
go 1.27.0
// Use PGSTY's maintained Silo Go SDK while preserving upstream import paths.
// Keep the required version on a real upstream tag because replace directives
// are ignored when this module is consumed as a dependency.
replace github.com/minio/minio-go/v7 => github.com/pgsty/silo-go/v7 v7.3.1
// Use Pigsty's SILO Console while preserving upstream import paths. The
// pseudo-version pins v2.2.1 plus its dependency pins: the last Console commit
// that still consumes silo-pkg through the github.com/minio/pkg/v3 replacement
// below. Console v2.3.0 and later require github.com/pgsty/silo-pkg/v3 directly.
replace github.com/minio/console => github.com/pgsty/silo-console v0.0.0-20260829111139-e07ef01ab8bf
// pseudo-version pins the last commit of the v2.3.0 line before Console moved
// to the github.com/pgsty/silo-pkg/v3 module path: it carries the v2.3.0
// security fixes and still consumes silo-pkg through the replacement below.
replace github.com/minio/console => github.com/pgsty/silo-console v0.0.0-20260901090952-43f8447fda38
// Use Pigsty's maintained mc fork for Console's embedded client code.
replace github.com/minio/mc => github.com/pgsty/mc v0.0.0-20260829103737-5ed037ef4ec1
@@ -19,7 +14,7 @@ replace github.com/minio/mc => github.com/pgsty/mc v0.0.0-20260829103737-5ed037e
// Use Pigsty's maintained SILO package fork while preserving upstream import paths.
// This retains the LDAP TLS fix tracked in https://github.com/pgsty/silo/issues/15,
// the minio/minio#20449 bucket-write boundary hardening, bare ARN rejection on
// strict policy-write paths, and Silo Go v7.3.1. It is the last silo-pkg commit
// strict policy-write paths. It is the last silo-pkg commit
// that declares the github.com/minio/pkg/v3 module path; v3.13.0 moved to
// github.com/pgsty/silo-pkg/v3 and cannot be selected through this replace.
replace github.com/minio/pkg/v3 => github.com/pgsty/silo-pkg/v3 v3.12.3-0.20260829103855-748c94bf8ab7
@@ -84,7 +79,7 @@ require (
github.com/minio/kms-go/kes v0.3.1
github.com/minio/kms-go/kms v0.6.0
github.com/minio/madmin-go/v3 v3.0.110
github.com/minio/minio-go/v7 v7.3.0
github.com/minio/minio-go/v7 v7.3.1-0.20260828014306-0e78d3f18efe
github.com/minio/mux v1.9.2
github.com/minio/pkg/v3 v3.6.1
github.com/minio/selfupdate v0.6.0