fix(deps): update module github.com/urfave/cli/v2 to v3

This commit is contained in:
2026-04-26 00:07:37 +00:00
parent 77b7fa1455
commit f95a7689bb
8 changed files with 9 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
var Certs = &cli.Command{

View File

@@ -1,7 +1,7 @@
package cli
import (
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
var (

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"github.com/rs/zerolog/log"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
"codeberg.org/codeberg/pages/server/database"
"codeberg.org/codeberg/pages/server/version"

View File

@@ -7,7 +7,7 @@ import (
"github.com/creasty/defaults"
"github.com/pelletier/go-toml/v2"
"github.com/rs/zerolog/log"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
)
var ALWAYS_BLACKLISTED_PATHS = []string{

View File

@@ -7,7 +7,7 @@ import (
"github.com/pelletier/go-toml/v2"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
cmd "codeberg.org/codeberg/pages/cli"
)

1
go.mod
View File

@@ -17,6 +17,7 @@ require (
github.com/rs/zerolog v1.35.1
github.com/stretchr/testify v1.11.1
github.com/urfave/cli/v2 v2.27.7
github.com/urfave/cli/v3 v3.8.0
golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f
xorm.io/xorm v1.3.11
)

2
go.sum
View File

@@ -1695,6 +1695,8 @@ github.com/ultradns/ultradns-go-sdk v1.8.1-20250722213956-faef419/go.mod h1:QN0/
github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
github.com/urfave/cli/v2 v2.27.7 h1:bH59vdhbjLv3LAvIu6gd0usJHgoTTPhCFib8qqOwXYU=
github.com/urfave/cli/v2 v2.27.7/go.mod h1:CyNAG/xg+iAOg0N4MPGZqVmv2rCoP267496AOXUZjA4=
github.com/urfave/cli/v3 v3.8.0 h1:XqKPrm0q4P0q5JpoclYoCAv0/MIvH/jZ2umzuf8pNTI=
github.com/urfave/cli/v3 v3.8.0/go.mod h1:ysVLtOEmg2tOy6PknnYVhDoouyC/6N42TMeoMzskhso=
github.com/vinyldns/go-vinyldns v0.9.17 h1:hfPZfCaxcRBX6Gsgl42rLCeoal58/BH8kkvJShzjjdI=
github.com/vinyldns/go-vinyldns v0.9.17/go.mod h1:pwWhE9K/leGDOIduVhRGvQ3ecVMHWRfEnKYUTEU3gB4=
github.com/volcengine/volc-sdk-golang v1.0.242 h1:YEnYLl8mn83JCdO/X5GRDvxfxGvpUqk5j0Mj4VhwM6Y=

View File

@@ -12,7 +12,7 @@ import (
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v3"
cmd "codeberg.org/codeberg/pages/cli"
"codeberg.org/codeberg/pages/config"