Bump Go version to v6

Tremendous amount of changes in here, but all should amount to
the same thing: changing Go import paths from v5 to v6.

Also bumped go.mod to github.com/containers/podman/v6 and updated
version to v6.0.0-dev.

Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
Matt Heon
2025-10-23 08:18:28 -04:00
parent 2883e95ae5
commit 34166fc004
1001 changed files with 2700 additions and 2700 deletions

View File

@@ -29,15 +29,15 @@
//
// 'podman info'
//
// curl --unix-socket /run/podman/podman.sock http://d/v5.0.0/libpod/info
// curl --unix-socket /run/podman/podman.sock http://d/v6.0.0/libpod/info
//
// 'podman pull quay.io/containers/podman'
//
// curl -XPOST --unix-socket /run/podman/podman.sock -v 'http://d/v5.0.0/images/create?fromImage=quay.io%2Fcontainers%2Fpodman'
// curl -XPOST --unix-socket /run/podman/podman.sock -v 'http://d/v6.0.0/images/create?fromImage=quay.io%2Fcontainers%2Fpodman'
//
// 'podman list images'
//
// curl --unix-socket /run/podman/podman.sock -v 'http://d/v5.0.0/libpod/images/json' | jq
// curl --unix-socket /run/podman/podman.sock -v 'http://d/v6.0.0/libpod/images/json' | jq
//
// Terms Of Service:
//

View File

@@ -10,7 +10,7 @@ import (
"net/http"
"runtime"
"github.com/containers/podman/v5/version"
"github.com/containers/podman/v6/version"
"github.com/sirupsen/logrus"
)

View File

@@ -7,7 +7,7 @@ import (
"net/http"
"runtime"
"github.com/containers/podman/v5/pkg/api/handlers/utils"
"github.com/containers/podman/v6/pkg/api/handlers/utils"
"github.com/gorilla/mux"
"github.com/sirupsen/logrus"
)

View File

@@ -7,7 +7,7 @@ import (
"io"
"net/http"
"github.com/containers/podman/v5/pkg/api/types"
"github.com/containers/podman/v6/pkg/api/types"
"github.com/google/uuid"
"github.com/gorilla/handlers"
"github.com/gorilla/mux"

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)

View File

@@ -5,8 +5,8 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -3,7 +3,7 @@
package server
import (
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,8 +5,8 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,8 +5,8 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -3,7 +3,7 @@
package server
import (
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)

View File

@@ -5,8 +5,8 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)

View File

@@ -3,7 +3,7 @@
package server
import (
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,8 +5,8 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -6,7 +6,7 @@ import (
"errors"
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/utils"
"github.com/containers/podman/v6/pkg/api/handlers/utils"
"github.com/gorilla/mux"
"github.com/sirupsen/logrus"
)

View File

@@ -5,8 +5,8 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)

View File

@@ -5,8 +5,8 @@ package server
import (
"net/http"
"github.com/containers/podman/v5/pkg/api/handlers/compat"
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
"github.com/containers/podman/v6/pkg/api/handlers/compat"
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)

View File

@@ -17,13 +17,13 @@ import (
"syscall"
"time"
"github.com/containers/podman/v5/libpod"
"github.com/containers/podman/v5/libpod/shutdown"
"github.com/containers/podman/v5/pkg/api/handlers"
"github.com/containers/podman/v5/pkg/api/server/idle"
"github.com/containers/podman/v5/pkg/api/types"
"github.com/containers/podman/v5/pkg/domain/entities"
"github.com/containers/podman/v5/pkg/util/tlsutil"
"github.com/containers/podman/v6/libpod"
"github.com/containers/podman/v6/libpod/shutdown"
"github.com/containers/podman/v6/pkg/api/handlers"
"github.com/containers/podman/v6/pkg/api/server/idle"
"github.com/containers/podman/v6/pkg/api/types"
"github.com/containers/podman/v6/pkg/domain/entities"
"github.com/containers/podman/v6/pkg/util/tlsutil"
"github.com/coreos/go-systemd/v22/daemon"
"github.com/gorilla/mux"
"github.com/gorilla/schema"