diff --git a/.golangci.yml b/.golangci.yml index b7609eed..1c8c638d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -17,7 +17,7 @@ linters-settings: gocyclo: min-complexity: 15 goimports: - local-prefixes: github.com/Jguer/yay/v11 + local-prefixes: github.com/Jguer/yay/v12 gomnd: checks: - argument diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1648635c..53091619 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: hooks: - id: go-fmt - id: go-imports - args: [-local=github.com/Jguer/yay/v11/] + args: [-local=github.com/Jguer/yay/v12/] - id: golangci-lint - id: go-unit-tests - id: go-build diff --git a/aur_install.go b/aur_install.go index c134b4de..d05ae318 100644 --- a/aur_install.go +++ b/aur_install.go @@ -5,14 +5,14 @@ import ( "fmt" "os" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/vcs" mapset "github.com/deckarep/golang-set/v2" "github.com/leonelquinteros/gotext" diff --git a/aur_install_test.go b/aur_install_test.go index d3f344ff..8be928a9 100644 --- a/aur_install_test.go +++ b/aur_install_test.go @@ -13,12 +13,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/Jguer/yay/v11/pkg/db/mock" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/db/mock" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/vcs" ) var testLogger = text.NewLogger(io.Discard, strings.NewReader(""), true, "test") diff --git a/aur_source.go b/aur_source.go index d880e3be..07515438 100644 --- a/aur_source.go +++ b/aur_source.go @@ -9,9 +9,9 @@ import ( mapset "github.com/deckarep/golang-set/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/text" ) type ErrDownloadSource struct { diff --git a/aur_source_test.go b/aur_source_test.go index 900ec325..14d80610 100644 --- a/aur_source_test.go +++ b/aur_source_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/settings/exe" ) type TestMakepkgBuilder struct { diff --git a/clean.go b/clean.go index 16c12480..54258cf3 100644 --- a/clean.go +++ b/clean.go @@ -8,13 +8,13 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" ) // CleanDependencies removes all dangling dependencies in system. diff --git a/cmd.go b/cmd.go index 51cc04e3..de7046bc 100644 --- a/cmd.go +++ b/cmd.go @@ -12,17 +12,17 @@ import ( alpm "github.com/Jguer/go-alpm/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/completion" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/download" - "github.com/Jguer/yay/v11/pkg/intrange" - "github.com/Jguer/yay/v11/pkg/news" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/upgrade" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/completion" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/download" + "github.com/Jguer/yay/v12/pkg/intrange" + "github.com/Jguer/yay/v12/pkg/news" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/upgrade" + "github.com/Jguer/yay/v12/pkg/vcs" ) func usage() { diff --git a/get.go b/get.go index 5312d1b3..bf328eef 100644 --- a/get.go +++ b/get.go @@ -10,10 +10,10 @@ import ( "github.com/Jguer/aur" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/download" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/download" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" ) // yay -Gp. diff --git a/go.mod b/go.mod index d0f85ae7..944e3db2 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Jguer/yay/v11 +module github.com/Jguer/yay/v12 require ( github.com/Jguer/aur v1.2.3 diff --git a/install.go b/install.go index 65194d6e..32e81572 100644 --- a/install.go +++ b/install.go @@ -15,20 +15,20 @@ import ( mapset "github.com/deckarep/golang-set/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/completion" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/download" - "github.com/Jguer/yay/v11/pkg/menus" - "github.com/Jguer/yay/v11/pkg/pgp" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/srcinfo" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/completion" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/download" + "github.com/Jguer/yay/v12/pkg/menus" + "github.com/Jguer/yay/v12/pkg/pgp" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/srcinfo" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/vcs" ) func setPkgReason(ctx context.Context, diff --git a/local_install.go b/local_install.go index 504eb0e7..8ddee407 100644 --- a/local_install.go +++ b/local_install.go @@ -9,13 +9,13 @@ import ( "path/filepath" "strings" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/topo" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/topo" gosrc "github.com/Morganamilo/go-srcinfo" "github.com/leonelquinteros/gotext" diff --git a/local_install_test.go b/local_install_test.go index 16b97fa6..5f1b90a9 100644 --- a/local_install_test.go +++ b/local_install_test.go @@ -15,13 +15,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/Jguer/yay/v11/pkg/db/mock" - mockaur "github.com/Jguer/yay/v11/pkg/dep/mock" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/db/mock" + mockaur "github.com/Jguer/yay/v12/pkg/dep/mock" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/vcs" ) func TestIntegrationLocalInstall(t *testing.T) { diff --git a/main.go b/main.go index c0aec613..c6de7bed 100644 --- a/main.go +++ b/main.go @@ -9,16 +9,16 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/db/ialpm" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/db/ialpm" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" ) var ( - yayVersion = "11.3.0" // To be set by compiler. + yayVersion = "12.0.0" // To be set by compiler. localePath = "/usr/share/locale" // To be set by compiler. ) diff --git a/pkg/cmd/graph/main.go b/pkg/cmd/graph/main.go index 1a454e84..bcc44619 100644 --- a/pkg/cmd/graph/main.go +++ b/pkg/cmd/graph/main.go @@ -6,11 +6,11 @@ import ( "os" "path/filepath" - "github.com/Jguer/yay/v11/pkg/db/ialpm" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db/ialpm" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" "github.com/Jguer/aur/metadata" "github.com/leonelquinteros/gotext" diff --git a/pkg/completion/completion.go b/pkg/completion/completion.go index 5cc34eb7..a174c9aa 100644 --- a/pkg/completion/completion.go +++ b/pkg/completion/completion.go @@ -13,7 +13,7 @@ import ( "strings" "time" - "github.com/Jguer/yay/v11/pkg/db" + "github.com/Jguer/yay/v12/pkg/db" ) type PkgSynchronizer interface { diff --git a/pkg/db/ialpm/alpm.go b/pkg/db/ialpm/alpm.go index 68861fee..ea59b490 100644 --- a/pkg/db/ialpm/alpm.go +++ b/pkg/db/ialpm/alpm.go @@ -11,9 +11,9 @@ import ( pacmanconf "github.com/Morganamilo/go-pacmanconf" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/text" ) type AlpmExecutor struct { diff --git a/pkg/db/ialpm/high_level.go b/pkg/db/ialpm/high_level.go index f3a1e6c0..8ec2b147 100644 --- a/pkg/db/ialpm/high_level.go +++ b/pkg/db/ialpm/high_level.go @@ -3,7 +3,7 @@ package ialpm import ( alpm "github.com/Jguer/go-alpm/v2" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/text" ) // GetPackageNamesBySource returns package names with and without correspondence in SyncDBS respectively. diff --git a/pkg/db/mock/executor.go b/pkg/db/mock/executor.go index bb3e9e09..a6076c70 100644 --- a/pkg/db/mock/executor.go +++ b/pkg/db/mock/executor.go @@ -3,7 +3,7 @@ package mock import ( "time" - "github.com/Jguer/yay/v11/pkg/db" + "github.com/Jguer/yay/v12/pkg/db" "github.com/Jguer/go-alpm/v2" ) diff --git a/pkg/dep/base.go b/pkg/dep/base.go index 91564719..928ac5a3 100644 --- a/pkg/dep/base.go +++ b/pkg/dep/base.go @@ -1,8 +1,8 @@ package dep import ( - aur "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/stringset" + aur "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/stringset" ) // Base is an AUR base package. diff --git a/pkg/dep/dep.go b/pkg/dep/dep.go index 585a625f..3a3d35ec 100644 --- a/pkg/dep/dep.go +++ b/pkg/dep/dep.go @@ -3,9 +3,9 @@ package dep import ( "strings" - "github.com/Jguer/yay/v11/pkg/db" - aur "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + aur "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/text" ) type providers struct { diff --git a/pkg/dep/depCheck.go b/pkg/dep/depCheck.go index d5dce12d..59c91b12 100644 --- a/pkg/dep/depCheck.go +++ b/pkg/dep/depCheck.go @@ -9,8 +9,8 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" ) func (dp *Pool) checkInnerConflict(name, conflict string, conflicts stringset.MapStringSet) { diff --git a/pkg/dep/depOrder.go b/pkg/dep/depOrder.go index 69233407..5b867e0a 100644 --- a/pkg/dep/depOrder.go +++ b/pkg/dep/depOrder.go @@ -3,10 +3,10 @@ package dep import ( "fmt" - "github.com/Jguer/yay/v11/pkg/db" - aur "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + aur "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" ) type Order struct { diff --git a/pkg/dep/depPool.go b/pkg/dep/depPool.go index 9e16f313..8b9a5a97 100644 --- a/pkg/dep/depPool.go +++ b/pkg/dep/depPool.go @@ -13,12 +13,12 @@ import ( alpm "github.com/Jguer/go-alpm/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" ) type Pool struct { diff --git a/pkg/dep/dep_graph.go b/pkg/dep/dep_graph.go index 555fd205..4fb6a355 100644 --- a/pkg/dep/dep_graph.go +++ b/pkg/dep/dep_graph.go @@ -11,11 +11,11 @@ import ( mapset "github.com/deckarep/golang-set/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/intrange" - aur "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/topo" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/intrange" + aur "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/topo" ) type InstallInfo struct { diff --git a/pkg/dep/dep_graph_test.go b/pkg/dep/dep_graph_test.go index 0b7b1345..278bcb6e 100644 --- a/pkg/dep/dep_graph_test.go +++ b/pkg/dep/dep_graph_test.go @@ -11,11 +11,11 @@ import ( aurc "github.com/Jguer/aur" "github.com/stretchr/testify/require" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/db/mock" - mockaur "github.com/Jguer/yay/v11/pkg/dep/mock" - aur "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/db/mock" + mockaur "github.com/Jguer/yay/v12/pkg/dep/mock" + aur "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/text" ) func ptrString(s string) *string { diff --git a/pkg/dep/target_handler.go b/pkg/dep/target_handler.go index 5b90320a..bd33b8b0 100644 --- a/pkg/dep/target_handler.go +++ b/pkg/dep/target_handler.go @@ -1,6 +1,6 @@ package dep -import "github.com/Jguer/yay/v11/pkg/text" +import "github.com/Jguer/yay/v12/pkg/text" type Target struct { DB string diff --git a/pkg/download/abs.go b/pkg/download/abs.go index c1f3b586..ee364209 100644 --- a/pkg/download/abs.go +++ b/pkg/download/abs.go @@ -9,7 +9,7 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/exe" ) const ( diff --git a/pkg/download/abs_test.go b/pkg/download/abs_test.go index 4e1f3877..e878dafb 100644 --- a/pkg/download/abs_test.go +++ b/pkg/download/abs_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/exe" ) const gitExtrasPKGBUILD = `pkgname=git-extras diff --git a/pkg/download/aur.go b/pkg/download/aur.go index 0921aac7..0a45198c 100644 --- a/pkg/download/aur.go +++ b/pkg/download/aur.go @@ -10,9 +10,9 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/text" ) func AURPKGBUILD(httpClient httpRequestDoer, pkgName, aurURL string) ([]byte, error) { diff --git a/pkg/download/aur_test.go b/pkg/download/aur_test.go index e9cd0623..752f375b 100644 --- a/pkg/download/aur_test.go +++ b/pkg/download/aur_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/exe" ) func TestGetAURPkgbuild(t *testing.T) { diff --git a/pkg/download/unified.go b/pkg/download/unified.go index 05dee86b..5f22dc77 100644 --- a/pkg/download/unified.go +++ b/pkg/download/unified.go @@ -11,11 +11,11 @@ import ( "github.com/Jguer/aur" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" ) type httpRequestDoer interface { diff --git a/pkg/download/unified_test.go b/pkg/download/unified_test.go index ccf62283..0a826506 100644 --- a/pkg/download/unified_test.go +++ b/pkg/download/unified_test.go @@ -12,9 +12,9 @@ import ( "github.com/Jguer/aur" - mockaur "github.com/Jguer/yay/v11/pkg/dep/mock" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" + mockaur "github.com/Jguer/yay/v12/pkg/dep/mock" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" ) // GIVEN 2 aur packages and 1 in repo diff --git a/pkg/download/utils_test.go b/pkg/download/utils_test.go index 969b8d48..39082e57 100644 --- a/pkg/download/utils_test.go +++ b/pkg/download/utils_test.go @@ -12,8 +12,8 @@ import ( "github.com/Jguer/go-alpm/v2" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/settings/exe" ) type testRunner struct{} diff --git a/pkg/intrange/intrange.go b/pkg/intrange/intrange.go index 0b9a6ed8..fde81690 100644 --- a/pkg/intrange/intrange.go +++ b/pkg/intrange/intrange.go @@ -5,7 +5,7 @@ import ( "strings" "unicode" - "github.com/Jguer/yay/v11/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/stringset" ) // IntRange stores a max and min amount for range. diff --git a/pkg/intrange/intrange_test.go b/pkg/intrange/intrange_test.go index 0d65e948..471cba29 100644 --- a/pkg/intrange/intrange_test.go +++ b/pkg/intrange/intrange_test.go @@ -3,7 +3,7 @@ package intrange import ( "testing" - "github.com/Jguer/yay/v11/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/stringset" ) func TestParseNumberMenu(t *testing.T) { diff --git a/pkg/menus/clean_menu.go b/pkg/menus/clean_menu.go index 3d0330dc..77314bcf 100644 --- a/pkg/menus/clean_menu.go +++ b/pkg/menus/clean_menu.go @@ -10,8 +10,8 @@ import ( mapset "github.com/deckarep/golang-set/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/text" ) func anyExistInCache(pkgbuildDirs map[string]string) bool { diff --git a/pkg/menus/diff_menu.go b/pkg/menus/diff_menu.go index b88f0485..b68785e4 100644 --- a/pkg/menus/diff_menu.go +++ b/pkg/menus/diff_menu.go @@ -11,10 +11,10 @@ import ( mapset "github.com/deckarep/golang-set/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/text" ) const ( diff --git a/pkg/menus/edit_menu.go b/pkg/menus/edit_menu.go index b9792b63..24fb2a3e 100644 --- a/pkg/menus/edit_menu.go +++ b/pkg/menus/edit_menu.go @@ -15,8 +15,8 @@ import ( mapset "github.com/deckarep/golang-set/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/text" ) // Editor returns the preferred system editor. diff --git a/pkg/menus/menu.go b/pkg/menus/menu.go index b8f01735..c1e5f941 100644 --- a/pkg/menus/menu.go +++ b/pkg/menus/menu.go @@ -7,9 +7,9 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/intrange" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/intrange" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/text" mapset "github.com/deckarep/golang-set/v2" ) diff --git a/pkg/news/news.go b/pkg/news/news.go index f0768c72..2342cf2e 100644 --- a/pkg/news/news.go +++ b/pkg/news/news.go @@ -12,7 +12,7 @@ import ( "strings" "time" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/text" ) type item struct { diff --git a/pkg/pgp/keys.go b/pkg/pgp/keys.go index d16ebb59..15532881 100644 --- a/pkg/pgp/keys.go +++ b/pkg/pgp/keys.go @@ -12,8 +12,8 @@ import ( gosrc "github.com/Morganamilo/go-srcinfo" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/text" ) // pgpKeySet maps a PGP key with a list of PKGBUILDs that require it. diff --git a/pkg/pgp/keys_test.go b/pkg/pgp/keys_test.go index 8d4cc3ba..4600bb5e 100644 --- a/pkg/pgp/keys_test.go +++ b/pkg/pgp/keys_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/exe" ) func makeSrcinfo(pkgbase string, pgpkeys ...string) *gosrc.Srcinfo { diff --git a/pkg/query/aur_info.go b/pkg/query/aur_info.go index f7000f37..8a129cd7 100644 --- a/pkg/query/aur_info.go +++ b/pkg/query/aur_info.go @@ -8,9 +8,9 @@ import ( "github.com/Jguer/aur/rpc" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/intrange" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/intrange" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/text" ) type Pkg = aur.Pkg diff --git a/pkg/query/aur_warnings.go b/pkg/query/aur_warnings.go index 145462c4..c46bc85d 100644 --- a/pkg/query/aur_warnings.go +++ b/pkg/query/aur_warnings.go @@ -6,8 +6,8 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" ) type AURWarnings struct { diff --git a/pkg/query/filter.go b/pkg/query/filter.go index 518192b3..2fa2b149 100644 --- a/pkg/query/filter.go +++ b/pkg/query/filter.go @@ -3,8 +3,8 @@ package query import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" ) func RemoveInvalidTargets(targets []string, mode parser.TargetMode) []string { diff --git a/pkg/query/mixed_sources.go b/pkg/query/mixed_sources.go index b17fc5af..375bea9e 100644 --- a/pkg/query/mixed_sources.go +++ b/pkg/query/mixed_sources.go @@ -15,11 +15,11 @@ import ( "github.com/adrg/strutil/metrics" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/intrange" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/intrange" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" ) const sourceAUR = "aur" diff --git a/pkg/query/mixed_sources_test.go b/pkg/query/mixed_sources_test.go index 9a52fb98..1e0cfb85 100644 --- a/pkg/query/mixed_sources_test.go +++ b/pkg/query/mixed_sources_test.go @@ -7,8 +7,8 @@ import ( "github.com/Jguer/aur/rpc" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/query/source.go b/pkg/query/source.go index 0d31f963..08607c80 100644 --- a/pkg/query/source.go +++ b/pkg/query/source.go @@ -12,11 +12,11 @@ import ( "github.com/hashicorp/go-multierror" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/intrange" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/intrange" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" "github.com/Jguer/aur/rpc" ) diff --git a/pkg/query/source_test.go b/pkg/query/source_test.go index e24e25d6..a8b5b10f 100644 --- a/pkg/query/source_test.go +++ b/pkg/query/source_test.go @@ -10,10 +10,10 @@ import ( "github.com/Jguer/aur/rpc" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/db/mock" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/db/mock" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" "github.com/Jguer/go-alpm/v2" "github.com/stretchr/testify/assert" diff --git a/pkg/query/types.go b/pkg/query/types.go index 63fa62be..a4f21284 100644 --- a/pkg/query/types.go +++ b/pkg/query/types.go @@ -9,8 +9,8 @@ import ( "github.com/Jguer/go-alpm/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/text" ) type ( diff --git a/pkg/query/types_test.go b/pkg/query/types_test.go index 55c2afaf..d44aded6 100644 --- a/pkg/query/types_test.go +++ b/pkg/query/types_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/Jguer/yay/v11/pkg/db/mock" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db/mock" + "github.com/Jguer/yay/v12/pkg/text" "github.com/Jguer/aur" ) diff --git a/pkg/settings/args.go b/pkg/settings/args.go index 2effc2d2..2356d6c1 100644 --- a/pkg/settings/args.go +++ b/pkg/settings/args.go @@ -4,7 +4,7 @@ import ( "strconv" "strings" - "github.com/Jguer/yay/v11/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/settings/parser" ) func (c *Configuration) ParseCommandLine(a *parser.Arguments) error { diff --git a/pkg/settings/config.go b/pkg/settings/config.go index b52a8621..98e9b797 100644 --- a/pkg/settings/config.go +++ b/pkg/settings/config.go @@ -11,10 +11,10 @@ import ( "path/filepath" "strings" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/vcs" "github.com/Jguer/aur/metadata" "github.com/Jguer/aur/rpc" diff --git a/pkg/settings/exe/cmd_builder.go b/pkg/settings/exe/cmd_builder.go index a9fa75c1..2cffe86a 100644 --- a/pkg/settings/exe/cmd_builder.go +++ b/pkg/settings/exe/cmd_builder.go @@ -15,8 +15,8 @@ import ( mapset "github.com/deckarep/golang-set/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" ) const SudoLoopDuration = 241 diff --git a/pkg/settings/exe/exec.go b/pkg/settings/exe/exec.go index 01bc8b18..755af4ad 100644 --- a/pkg/settings/exe/exec.go +++ b/pkg/settings/exe/exec.go @@ -7,7 +7,7 @@ import ( "strings" "syscall" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/text" ) type Runner interface { diff --git a/pkg/settings/exe/mock.go b/pkg/settings/exe/mock.go index 5841fc51..8255eb94 100644 --- a/pkg/settings/exe/mock.go +++ b/pkg/settings/exe/mock.go @@ -5,7 +5,7 @@ import ( "fmt" "os/exec" - "github.com/Jguer/yay/v11/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/settings/parser" ) type Call struct { diff --git a/pkg/settings/migrations.go b/pkg/settings/migrations.go index 0f26adb9..357f87fc 100644 --- a/pkg/settings/migrations.go +++ b/pkg/settings/migrations.go @@ -3,7 +3,7 @@ package settings import ( "fmt" - "github.com/Jguer/yay/v11/pkg/db" + "github.com/Jguer/yay/v12/pkg/db" "github.com/leonelquinteros/gotext" ) diff --git a/pkg/settings/migrations_test.go b/pkg/settings/migrations_test.go index 706472e8..40b79fdd 100644 --- a/pkg/settings/migrations_test.go +++ b/pkg/settings/migrations_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/text" ) func TestMigrationNothingToDo(t *testing.T) { diff --git a/pkg/settings/pacman.go b/pkg/settings/pacman.go index 8ceb618f..323ade06 100644 --- a/pkg/settings/pacman.go +++ b/pkg/settings/pacman.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/Jguer/yay/v11/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/settings/parser" pacmanconf "github.com/Morganamilo/go-pacmanconf" "golang.org/x/term" diff --git a/pkg/settings/pacman_test.go b/pkg/settings/pacman_test.go index 3b393af8..38a65d26 100644 --- a/pkg/settings/pacman_test.go +++ b/pkg/settings/pacman_test.go @@ -6,7 +6,7 @@ import ( "github.com/Morganamilo/go-pacmanconf" "github.com/stretchr/testify/assert" - "github.com/Jguer/yay/v11/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/settings/parser" ) func TestPacmanConf(t *testing.T) { diff --git a/pkg/settings/runtime.go b/pkg/settings/runtime.go index fd4e26d7..ed381604 100644 --- a/pkg/settings/runtime.go +++ b/pkg/settings/runtime.go @@ -3,12 +3,12 @@ package settings import ( "net/http" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/vcs" "github.com/Jguer/aur" "github.com/Jguer/aur/rpc" diff --git a/pkg/srcinfo/service.go b/pkg/srcinfo/service.go index 7b0280dc..8aeb3519 100644 --- a/pkg/srcinfo/service.go +++ b/pkg/srcinfo/service.go @@ -9,13 +9,13 @@ import ( gosrc "github.com/Morganamilo/go-srcinfo" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/pgp" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/pgp" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/vcs" ) // TODO: add tests diff --git a/pkg/topo/dep.go b/pkg/topo/dep.go index ba0dcbf5..cbc01d85 100644 --- a/pkg/topo/dep.go +++ b/pkg/topo/dep.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/text" ) type ( diff --git a/pkg/upgrade/service.go b/pkg/upgrade/service.go index e9893295..189cb082 100644 --- a/pkg/upgrade/service.go +++ b/pkg/upgrade/service.go @@ -9,14 +9,14 @@ import ( mapset "github.com/deckarep/golang-set/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/intrange" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/topo" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/intrange" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/topo" + "github.com/Jguer/yay/v12/pkg/vcs" ) type UpgradeService struct { diff --git a/pkg/upgrade/service_test.go b/pkg/upgrade/service_test.go index 1682e4cb..6254a507 100644 --- a/pkg/upgrade/service_test.go +++ b/pkg/upgrade/service_test.go @@ -10,16 +10,16 @@ import ( "github.com/Jguer/go-alpm/v2" "github.com/stretchr/testify/assert" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/db/mock" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/topo" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/db/mock" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/topo" + "github.com/Jguer/yay/v12/pkg/vcs" - mockaur "github.com/Jguer/yay/v11/pkg/dep/mock" + mockaur "github.com/Jguer/yay/v12/pkg/dep/mock" ) func ptrString(s string) *string { diff --git a/pkg/upgrade/sources.go b/pkg/upgrade/sources.go index 7b680342..29028d15 100644 --- a/pkg/upgrade/sources.go +++ b/pkg/upgrade/sources.go @@ -6,10 +6,10 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/vcs" ) func UpDevel( diff --git a/pkg/upgrade/sources_test.go b/pkg/upgrade/sources_test.go index bffa8475..503af50b 100644 --- a/pkg/upgrade/sources_test.go +++ b/pkg/upgrade/sources_test.go @@ -10,8 +10,8 @@ import ( alpm "github.com/Jguer/go-alpm/v2" - "github.com/Jguer/yay/v11/pkg/db/mock" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/db/mock" + "github.com/Jguer/yay/v12/pkg/vcs" ) func Test_upAUR(t *testing.T) { diff --git a/pkg/upgrade/upgrade.go b/pkg/upgrade/upgrade.go index 1ffba628..fc269d96 100644 --- a/pkg/upgrade/upgrade.go +++ b/pkg/upgrade/upgrade.go @@ -4,9 +4,9 @@ import ( "fmt" "unicode" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/intrange" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/intrange" + "github.com/Jguer/yay/v12/pkg/text" ) // Filter decides if specific package should be included in theincluded in the results. diff --git a/pkg/upgrade/upgrade_test.go b/pkg/upgrade/upgrade_test.go index 36739f9b..ff627196 100644 --- a/pkg/upgrade/upgrade_test.go +++ b/pkg/upgrade/upgrade_test.go @@ -3,7 +3,7 @@ package upgrade import ( "testing" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/text" ) func TestGetVersionDiff(t *testing.T) { diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go index abf52d28..27037911 100644 --- a/pkg/vcs/vcs.go +++ b/pkg/vcs/vcs.go @@ -15,8 +15,8 @@ import ( gosrc "github.com/Morganamilo/go-srcinfo" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/text" ) type Store interface { diff --git a/pkg/vcs/vcs_test.go b/pkg/vcs/vcs_test.go index d074a5f5..ab073e10 100644 --- a/pkg/vcs/vcs_test.go +++ b/pkg/vcs/vcs_test.go @@ -16,9 +16,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/text" ) func TestParsing(t *testing.T) { diff --git a/po/en.po b/po/en.po index 07071586..fd214fd0 100644 --- a/po/en.po +++ b/po/en.po @@ -7,11 +7,11 @@ msgstr "" "Language: \n" "X-Generator: xgotext\n" -#: pkg/menus/menu.go:32 +#: pkg/menus/menu.go:30 msgid " (Build Files Exist)" msgstr "" -#: pkg/menus/menu.go:28 +#: pkg/menus/menu.go:26 msgid " (Installed)" msgstr "" @@ -28,21 +28,22 @@ msgid " [Installed]" msgstr "" #: cmd.go:425 -#: install.go:159 -#: install.go:193 +#: install.go:168 +#: install.go:202 #: vote.go:34 msgid " there is nothing to do" msgstr "" -#: pkg/menus/menu.go:48 +#: pkg/menus/menu.go:47 msgid "%s [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)" msgstr "" -#: install.go:751 +#: aur_install.go:254 +#: install.go:754 msgid "%s already made -- skipping build" msgstr "" -#: pkg/menus/edit_menu.go:57 +#: pkg/menus/edit_menu.go:58 msgid "%s is not set" msgstr "" @@ -50,35 +51,36 @@ msgstr "" msgid "%s is present." msgstr "" -#: install.go:737 +#: aur_install.go:251 +#: install.go:740 msgid "%s is up to date -- skipping" msgstr "" -#: install.go:654 +#: install.go:655 msgid "%s not satisfied, flushing install queue" msgstr "" -#: pkg/pgp/keys.go:129 +#: pkg/pgp/keys.go:127 msgid "%s, required by: %s" msgstr "" -#: pkg/menus/diff_menu.go:51 +#: pkg/menus/diff_menu.go:49 msgid "%s: No changes -- skipping" msgstr "" -#: pkg/query/filter.go:52 +#: pkg/query/filter.go:22 msgid "%s: can't use target with option --aur -- skipping" msgstr "" -#: pkg/query/filter.go:47 +#: pkg/query/filter.go:17 msgid "%s: can't use target with option --repo -- skipping" msgstr "" -#: pkg/upgrade/sources.go:85 +#: pkg/upgrade/sources.go:61 msgid "%s: ignoring package upgrade (%s => %s)" msgstr "" -#: upgrade.go:149 +#: upgrade.go:150 msgid "%s: local (%s) is newer than AUR (%s)" msgstr "" @@ -95,7 +97,7 @@ msgstr "" msgid "(%d/%d) Downloaded PKGBUILD: %s" msgstr "" -#: install.go:543 +#: install.go:545 msgid "(%d/%d) Parsing SRCINFO: %s" msgstr "" @@ -121,11 +123,11 @@ msgstr "" msgid "AUR URL" msgstr "" -#: pkg/dep/depGraph.go:71 +#: pkg/dep/dep_graph.go:71 msgid "AUR" msgstr "" -#: pkg/menus/edit_menu.go:58 +#: pkg/menus/edit_menu.go:59 msgid "Add %s or %s to your environment variables" msgstr "" @@ -133,7 +135,7 @@ msgstr "" msgid "Avoid running yay as root/sudo." msgstr "" -#: pkg/dep/depGraph.go:59 +#: pkg/dep/dep_graph.go:59 msgid "Check Dependency" msgstr "" @@ -141,7 +143,7 @@ msgstr "" msgid "Check Deps" msgstr "" -#: upgrade.go:98 +#: upgrade.go:99 msgid "Checking development packages..." msgstr "" @@ -153,7 +155,7 @@ msgstr "" msgid "Checking for inner conflicts..." msgstr "" -#: clean.go:201 +#: clean.go:202 msgid "Cleaning (%d/%d): %s" msgstr "" @@ -169,11 +171,12 @@ msgstr "" msgid "Could not find all required packages:" msgstr "" -#: pkg/menus/clean_menu.go:52 +#: pkg/menus/clean_menu.go:60 +#: pkg/menus/clean_menu.go:107 msgid "Deleting (%d/%d): %s" msgstr "" -#: pkg/dep/depGraph.go:57 +#: pkg/dep/dep_graph.go:57 msgid "Dependency" msgstr "" @@ -185,7 +188,8 @@ msgstr "" msgid "Description" msgstr "" -#: pkg/menus/diff_menu.go:159 +#: pkg/menus/diff_menu.go:161 +#: pkg/menus/diff_menu.go:194 msgid "Diffs to show?" msgstr "" @@ -205,7 +209,7 @@ msgstr "" msgid "Do you want to remove all other AUR packages from cache?" msgstr "" -#: pkg/menus/edit_menu.go:61 +#: pkg/menus/edit_menu.go:62 msgid "Edit PKGBUILD with?" msgstr "" @@ -213,14 +217,18 @@ msgstr "" msgid "Error during AUR search: %s\n" msgstr "" -#: pkg/dep/depGraph.go:56 +#: pkg/dep/dep_graph.go:56 msgid "Explicit" msgstr "" -#: print.go:85 +#: print.go:81 msgid "Explicitly installed packages: %s" msgstr "" +#: errors.go:49 +msgid "Failed to install the following packages. Manual intervention is required:" +msgstr "" + #: print.go:40 msgid "First Submitted" msgstr "" @@ -229,15 +237,15 @@ msgstr "" msgid "Flagged Out Of Date AUR Packages:" msgstr "" -#: print.go:84 +#: print.go:80 msgid "Foreign installed packages: %s" msgstr "" -#: pkg/vcs/vcs.go:121 +#: pkg/vcs/vcs.go:133 msgid "Found git repo: %s" msgstr "" -#: vcs.go:73 +#: vcs.go:72 msgid "GenDB finished. No packages were installed" msgstr "" @@ -245,11 +253,11 @@ msgstr "" msgid "Groups" msgstr "" -#: pkg/pgp/keys.go:89 +#: pkg/pgp/keys.go:87 msgid "Import?" msgstr "" -#: pkg/pgp/keys.go:102 +#: pkg/pgp/keys.go:100 msgid "Importing keys with gpg..." msgstr "" @@ -273,7 +281,7 @@ msgstr "" msgid "Licenses" msgstr "" -#: pkg/dep/depGraph.go:73 +#: pkg/dep/dep_graph.go:73 msgid "Local" msgstr "" @@ -281,7 +289,7 @@ msgstr "" msgid "Maintainer" msgstr "" -#: pkg/dep/depGraph.go:58 +#: pkg/dep/dep_graph.go:58 msgid "Make Dependency" msgstr "" @@ -297,7 +305,7 @@ msgstr "" msgid "Missing AUR Packages:" msgstr "" -#: pkg/dep/depGraph.go:75 +#: pkg/dep/dep_graph.go:75 msgid "Missing" msgstr "" @@ -322,16 +330,21 @@ msgstr "" msgid "Out-of-date" msgstr "" -#: pkg/pgp/keys.go:120 +#: pkg/pgp/keys.go:118 msgid "PGP keys need importing:" msgstr "" -#: install.go:254 -#: vcs.go:50 +#: install.go:261 +#: vcs.go:45 msgid "PKGBUILD up to date, Skipping (%d/%d): %s" msgstr "" -#: pkg/menus/edit_menu.go:125 +#: preparer.go:206 +msgid "PKGBUILD up to date, skipping download: %s" +msgstr "" + +#: pkg/menus/edit_menu.go:132 +#: pkg/menus/edit_menu.go:164 msgid "PKGBUILDs to edit?" msgstr "" @@ -347,12 +360,13 @@ msgstr "" msgid "Package conflicts found:" msgstr "" -#: pkg/menus/clean_menu.go:44 +#: pkg/menus/clean_menu.go:52 +#: pkg/menus/clean_menu.go:99 msgid "Packages to cleanBuild?" msgstr "" -#: upgrade.go:197 -#: upgrade.go:294 +#: upgrade.go:198 +#: upgrade.go:295 msgid "Packages to exclude: (eg: \"1 2 3\", \"1-3\", \"^4\" or repo name)" msgstr "" @@ -360,8 +374,8 @@ msgstr "" msgid "Packages to install (eg: 1 2 3, 1-3 or ^4)" msgstr "" -#: upgrade.go:194 -#: upgrade.go:291 +#: upgrade.go:195 +#: upgrade.go:292 msgid "Packages to upgrade." msgstr "" @@ -369,8 +383,10 @@ msgstr "" msgid "Popularity" msgstr "" -#: pkg/menus/diff_menu.go:171 -#: pkg/menus/edit_menu.go:136 +#: pkg/menus/diff_menu.go:173 +#: pkg/menus/diff_menu.go:206 +#: pkg/menus/edit_menu.go:143 +#: pkg/menus/edit_menu.go:177 msgid "Proceed with install?" msgstr "" @@ -382,43 +398,43 @@ msgstr "" msgid "Querying AUR..." msgstr "" -#: install.go:225 -#: preparer.go:59 +#: install.go:232 +#: preparer.go:84 msgid "Remove make dependencies after install?" msgstr "" -#: pkg/dep/depGraph.go:394 -#: pkg/dep/depPool.go:512 +#: pkg/dep/depPool.go:501 +#: pkg/dep/dep_graph.go:420 msgid "Repository AUR" msgstr "" #: print.go:22 -#: pkg/db/ialpm/alpm.go:175 +#: pkg/db/ialpm/alpm.go:188 msgid "Repository" msgstr "" -#: pkg/dep/depGraph.go:74 +#: pkg/dep/dep_graph.go:74 msgid "SRCINFO" msgstr "" -#: upgrade.go:73 +#: upgrade.go:74 msgid "Searching AUR for updates..." msgstr "" -#: upgrade.go:62 +#: upgrade.go:63 msgid "Searching databases for updates..." msgstr "" #: pkg/query/mixed_sources.go:204 -#: pkg/query/source.go:95 +#: pkg/query/source.go:99 msgid "Showing repo packages only" msgstr "" -#: print.go:89 +#: print.go:85 msgid "Size of pacman cache %s: %s" msgstr "" -#: print.go:92 +#: print.go:88 msgid "Size of yay cache %s: %s" msgstr "" @@ -426,21 +442,21 @@ msgstr "" msgid "Snapshot URL" msgstr "" -#: pkg/dep/depGraph.go:72 +#: pkg/dep/dep_graph.go:72 msgid "Sync" msgstr "" -#: print.go:94 +#: print.go:90 msgid "Ten biggest packages:" msgstr "" -#: install.go:487 +#: install.go:485 msgid "The following packages are not compatible with your architecture:" msgstr "" -#: pkg/db/ialpm/alpm.go:163 -#: pkg/dep/depGraph.go:390 -#: pkg/dep/depPool.go:508 +#: pkg/db/ialpm/alpm.go:176 +#: pkg/dep/depPool.go:497 +#: pkg/dep/dep_graph.go:416 msgid "There are %d providers available for %s:" msgstr "" @@ -448,15 +464,15 @@ msgstr "" msgid "There may be another Pacman instance running. Waiting..." msgstr "" -#: print.go:86 +#: print.go:82 msgid "Total Size occupied by packages: %s" msgstr "" -#: print.go:83 +#: print.go:79 msgid "Total installed packages: %s" msgstr "" -#: install.go:495 +#: install.go:493 msgid "Try to build them anyway?" msgstr "" @@ -465,6 +481,8 @@ msgid "URL" msgstr "" #: clean.go:182 +#: pkg/menus/clean_menu.go:63 +#: pkg/menus/clean_menu.go:69 msgid "Unable to clean:" msgstr "" @@ -485,11 +503,11 @@ msgstr "" msgid "Votes" msgstr "" -#: print.go:81 +#: print.go:77 msgid "Yay version v%s" msgstr "" -#: pkg/menus/menu.go:48 +#: pkg/menus/menu.go:47 msgid "[N]one" msgstr "" @@ -497,9 +515,9 @@ msgstr "" msgid "\nBuild directory:" msgstr "" -#: pkg/db/ialpm/alpm.go:185 -#: pkg/dep/depGraph.go:404 -#: pkg/dep/depPool.go:522 +#: pkg/db/ialpm/alpm.go:198 +#: pkg/dep/depPool.go:511 +#: pkg/dep/dep_graph.go:430 msgid "\nEnter a number (default=1): " msgstr "" @@ -511,21 +529,29 @@ msgstr "" msgid "cannot find package name: %v" msgstr "" -#: errors.go:33 -#: install.go:710 -#: install.go:877 +#: errors.go:41 +#: install.go:713 +#: install.go:897 msgid "could not find PKGDEST for: %s" msgstr "" -#: errors.go:12 +#: errors.go:10 +msgid "could not find any package archives listed in %s" +msgstr "" + +#: install.go:801 +msgid "could not find srcinfo for: %s" +msgstr "" + +#: errors.go:20 msgid "dependency" msgstr "" -#: pkg/vcs/vcs.go:70 +#: pkg/vcs/vcs.go:85 msgid "devel check for package failed: '%s' encountered an error" msgstr "" -#: pkg/menus/edit_menu.go:109 +#: pkg/menus/edit_menu.go:111 msgid "editor did not exit successfully, aborting: %s" msgstr "" @@ -537,27 +563,27 @@ msgstr "" msgid "error fetching %s: %s" msgstr "" -#: install.go:311 -#: install.go:445 +#: install.go:317 +#: install.go:446 #: local_install.go:22 msgid "error installing repo packages" msgstr "" -#: aur_install.go:175 -#: aur_install.go:179 +#: aur_install.go:216 +#: aur_install.go:220 msgid "error installing:" msgstr "" -#: aur_install.go:136 -#: aur_install.go:153 -#: install.go:693 -#: install.go:734 -#: install.go:748 -#: install.go:762 +#: aur_install.go:175 +#: aur_install.go:179 +#: install.go:696 +#: install.go:737 +#: install.go:751 +#: install.go:765 msgid "error making: %s" msgstr "" -#: install.go:599 +#: install.go:602 msgid "error merging %s: %s" msgstr "" @@ -565,21 +591,21 @@ msgstr "" msgid "error reading %s" msgstr "" -#: install.go:96 -#: sync.go:27 +#: install.go:107 +#: sync.go:35 msgid "error refreshing databases" msgstr "" -#: clean.go:207 -#: install.go:592 +#: clean.go:208 +#: install.go:595 msgid "error resetting %s: %s" msgstr "" -#: errors.go:15 +#: errors.go:23 msgid "error updating package install reason to %s" msgstr "" -#: errors.go:10 +#: errors.go:18 msgid "explicit" msgstr "" @@ -591,15 +617,15 @@ msgstr "" msgid "failed to open config file '%s': %s" msgstr "" -#: install.go:548 +#: install.go:550 msgid "failed to parse %s -- skipping: %s" msgstr "" -#: install.go:552 +#: install.go:554 msgid "failed to parse %s: %s" msgstr "" -#: local_install.go:43 +#: local_install.go:44 msgid "failed to parse .SRCINFO" msgstr "" @@ -616,9 +642,9 @@ msgstr "" msgid "input too long" msgstr "" -#: pkg/db/ialpm/alpm.go:206 -#: pkg/dep/depGraph.go:425 -#: pkg/dep/depPool.go:542 +#: pkg/db/ialpm/alpm.go:219 +#: pkg/dep/depPool.go:531 +#: pkg/dep/dep_graph.go:451 msgid "invalid number: %s" msgstr "" @@ -634,13 +660,13 @@ msgstr "" msgid "invalid repository" msgstr "" -#: pkg/db/ialpm/alpm.go:211 -#: pkg/dep/depGraph.go:431 -#: pkg/dep/depPool.go:547 +#: pkg/db/ialpm/alpm.go:224 +#: pkg/dep/depPool.go:536 +#: pkg/dep/dep_graph.go:457 msgid "invalid value: %d is not between %d and %d" msgstr "" -#: pkg/pgp/keys.go:115 +#: pkg/pgp/keys.go:113 msgid "no keys to import" msgstr "" @@ -648,7 +674,7 @@ msgstr "" msgid "no query was executed" msgstr "" -#: local_install.go:33 +#: local_install.go:34 msgid "no target directories specified" msgstr "" @@ -656,6 +682,10 @@ msgstr "" msgid "no" msgstr "" +#: aur_install.go:184 +msgid "nothing to install for %s" +msgstr "" + #: pkg/settings/parser/parser.go:164 msgid "only one operation may be used at a time" msgstr "" @@ -664,7 +694,7 @@ msgstr "" msgid "only one target is allowed" msgstr "" -#: print.go:186 +#: print.go:179 msgid "package '%s' was not found" msgstr "" @@ -680,7 +710,7 @@ msgstr "" msgid "package not found in repos" msgstr "" -#: pkg/pgp/keys.go:105 +#: pkg/pgp/keys.go:103 msgid "problem importing keys" msgstr "" @@ -693,12 +723,15 @@ msgstr "" msgid "removing untracked AUR files from cache..." msgstr "" -#: errors.go:23 -#: install.go:886 +#: errors.go:31 msgid "the PKGDEST for %s is listed by makepkg but does not exist: %s" msgstr "" -#: pkg/db/ialpm/alpm.go:231 +#: sync.go:84 +msgid "there is nothing to do" +msgstr "" + +#: pkg/db/ialpm/alpm.go:244 msgid "unable to CreateHandle: %s" msgstr "" diff --git a/preparer.go b/preparer.go index 7728606f..93413157 100644 --- a/preparer.go +++ b/preparer.go @@ -8,14 +8,14 @@ import ( "path/filepath" "strings" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/download" - "github.com/Jguer/yay/v11/pkg/menus" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/download" + "github.com/Jguer/yay/v12/pkg/menus" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" gosrc "github.com/Morganamilo/go-srcinfo" mapset "github.com/deckarep/golang-set/v2" diff --git a/print.go b/print.go index 268df7a0..147e10f4 100644 --- a/print.go +++ b/print.go @@ -9,13 +9,13 @@ import ( aur "github.com/Jguer/aur" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/upgrade" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/upgrade" ) // PrintInfo prints package info like pacman -Si. diff --git a/query.go b/query.go index 01f8fc27..addcebc4 100644 --- a/query.go +++ b/query.go @@ -10,12 +10,12 @@ import ( aur "github.com/Jguer/aur" alpm "github.com/Jguer/go-alpm/v2" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" ) // SyncSearch presents a query to the local repos and to the AUR. diff --git a/sync.go b/sync.go index 3001fdb1..88c09484 100644 --- a/sync.go +++ b/sync.go @@ -6,15 +6,15 @@ import ( "os" "strings" - "github.com/Jguer/yay/v11/pkg/completion" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/srcinfo" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/upgrade" + "github.com/Jguer/yay/v12/pkg/completion" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/srcinfo" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/upgrade" "github.com/leonelquinteros/gotext" ) diff --git a/sync_test.go b/sync_test.go index 441588ed..8272b818 100644 --- a/sync_test.go +++ b/sync_test.go @@ -17,14 +17,14 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/db/mock" - mockaur "github.com/Jguer/yay/v11/pkg/dep/mock" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/settings/exe" - "github.com/Jguer/yay/v11/pkg/settings/parser" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/vcs" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/db/mock" + mockaur "github.com/Jguer/yay/v12/pkg/dep/mock" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/settings/exe" + "github.com/Jguer/yay/v12/pkg/settings/parser" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/vcs" ) func TestSyncUpgrade(t *testing.T) { diff --git a/upgrade.go b/upgrade.go index 94b238fc..0bfff6b9 100644 --- a/upgrade.go +++ b/upgrade.go @@ -8,14 +8,14 @@ import ( "strings" "sync" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/intrange" - "github.com/Jguer/yay/v11/pkg/multierror" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" - "github.com/Jguer/yay/v11/pkg/upgrade" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/intrange" + "github.com/Jguer/yay/v12/pkg/multierror" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" + "github.com/Jguer/yay/v12/pkg/upgrade" aur "github.com/Jguer/aur" alpm "github.com/Jguer/go-alpm/v2" diff --git a/vcs.go b/vcs.go index cc059470..301d8750 100644 --- a/vcs.go +++ b/vcs.go @@ -8,14 +8,14 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/db" - "github.com/Jguer/yay/v11/pkg/dep" - "github.com/Jguer/yay/v11/pkg/download" - "github.com/Jguer/yay/v11/pkg/query" - "github.com/Jguer/yay/v11/pkg/settings" - "github.com/Jguer/yay/v11/pkg/srcinfo" - "github.com/Jguer/yay/v11/pkg/stringset" - "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v12/pkg/db" + "github.com/Jguer/yay/v12/pkg/dep" + "github.com/Jguer/yay/v12/pkg/download" + "github.com/Jguer/yay/v12/pkg/query" + "github.com/Jguer/yay/v12/pkg/settings" + "github.com/Jguer/yay/v12/pkg/srcinfo" + "github.com/Jguer/yay/v12/pkg/stringset" + "github.com/Jguer/yay/v12/pkg/text" ) // createDevelDB forces yay to create a DB of the existing development packages. diff --git a/vote.go b/vote.go index f1db37e9..79cec569 100644 --- a/vote.go +++ b/vote.go @@ -9,7 +9,7 @@ import ( "github.com/Jguer/votar/pkg/vote" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v11/pkg/query" + "github.com/Jguer/yay/v12/pkg/query" ) type ErrAURVote struct {