From 555d1ead9598bc0b49867ff102513d027afe839d Mon Sep 17 00:00:00 2001 From: jguer Date: Wed, 8 Sep 2021 22:28:08 +0200 Subject: [PATCH] chore(version): bump major version --- .golangci.yml | 2 +- .pre-commit-config.yaml | 2 +- Makefile | 6 +++--- aur_source.go | 10 +++++----- aur_source_test.go | 8 ++++---- clean.go | 14 +++++++------- cmd.go | 22 +++++++++++----------- config.go | 4 ++-- diff.go | 6 +++--- get.go | 8 ++++---- go.mod | 2 +- install.go | 24 ++++++++++++------------ main.go | 10 +++++----- main_test.go | 2 +- pkg/completion/completion.go | 2 +- pkg/db/ialpm/alpm.go | 8 ++++---- pkg/dep/base.go | 2 +- pkg/dep/dep.go | 6 +++--- pkg/dep/depCheck.go | 4 ++-- pkg/dep/depOrder.go | 8 ++++---- pkg/dep/depPool.go | 12 ++++++------ pkg/download/abs.go | 2 +- pkg/download/abs_test.go | 2 +- pkg/download/aur.go | 6 +++--- pkg/download/aur_test.go | 2 +- pkg/download/unified.go | 10 +++++----- pkg/download/unified_test.go | 4 ++-- pkg/download/utils_test.go | 4 ++-- pkg/intrange/intrange.go | 2 +- pkg/intrange/intrange_test.go | 2 +- pkg/news/news.go | 4 ++-- pkg/pgp/keys.go | 4 ++-- pkg/pgp/keys_test.go | 2 +- pkg/query/aur_info.go | 6 +++--- pkg/query/aur_warnings.go | 4 ++-- pkg/query/filter.go | 6 +++--- pkg/settings/args.go | 2 +- pkg/settings/config.go | 6 +++--- pkg/settings/exe/cmd_builder.go | 4 ++-- pkg/settings/runtime.go | 6 +++--- pkg/upgrade/sources.go | 8 ++++---- pkg/upgrade/sources_test.go | 6 +++--- pkg/upgrade/upgrade.go | 6 +++--- pkg/upgrade/upgrade_test.go | 2 +- pkg/vcs/vcs.go | 4 ++-- pkg/vcs/vcs_test.go | 2 +- print.go | 14 +++++++------- query.go | 12 ++++++------ upgrade.go | 14 +++++++------- vcs.go | 14 +++++++------- 50 files changed, 161 insertions(+), 161 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index de89ab18..44a0f7dc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -17,7 +17,7 @@ linters-settings: gocyclo: min-complexity: 15 goimports: - local-prefixes: github.com/Jguer/yay/v10 + local-prefixes: github.com/Jguer/yay/v11 gomnd: settings: mnd: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5e190fc0..6f12dbd4 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/v10/] + args: [-local=github.com/Jguer/yay/v11/] - id: golangci-lint - id: go-unit-tests - id: go-build diff --git a/Makefile b/Makefile index f83ef6ab..9ca43e2a 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,9 @@ GO ?= go PKGNAME := yay PREFIX := /usr/local -MAJORVERSION := 10 -MINORVERSION := 2 -PATCHVERSION := 3 +MAJORVERSION := 11 +MINORVERSION := 0 +PATCHVERSION := 0 VERSION ?= ${MAJORVERSION}.${MINORVERSION}.${PATCHVERSION} LOCALEDIR := po diff --git a/aur_source.go b/aur_source.go index 821ad968..13bc704e 100644 --- a/aur_source.go +++ b/aur_source.go @@ -9,11 +9,11 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/dep" - "github.com/Jguer/yay/v10/pkg/multierror" - "github.com/Jguer/yay/v10/pkg/settings/exe" - "github.com/Jguer/yay/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/dep" + "github.com/Jguer/yay/v11/pkg/multierror" + "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/stringset" + "github.com/Jguer/yay/v11/pkg/text" ) type ErrDownloadSource struct { diff --git a/aur_source_test.go b/aur_source_test.go index 89a841b4..2aeb2752 100644 --- a/aur_source_test.go +++ b/aur_source_test.go @@ -10,10 +10,10 @@ import ( "github.com/Jguer/aur" - "github.com/Jguer/yay/v10/pkg/dep" - "github.com/Jguer/yay/v10/pkg/multierror" - "github.com/Jguer/yay/v10/pkg/settings/exe" - "github.com/Jguer/yay/v10/pkg/stringset" + "github.com/Jguer/yay/v11/pkg/dep" + "github.com/Jguer/yay/v11/pkg/multierror" + "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/stringset" ) type TestMakepkgBuilder struct { diff --git a/clean.go b/clean.go index 626124ab..a8345744 100644 --- a/clean.go +++ b/clean.go @@ -8,13 +8,13 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/dep" - "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/db" + "github.com/Jguer/yay/v11/pkg/dep" + "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" ) // CleanDependencies removes all dangling dependencies in system. diff --git a/cmd.go b/cmd.go index 64b1f579..4a385092 100644 --- a/cmd.go +++ b/cmd.go @@ -11,17 +11,17 @@ import ( alpm "github.com/Jguer/go-alpm/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/completion" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/download" - "github.com/Jguer/yay/v10/pkg/intrange" - "github.com/Jguer/yay/v10/pkg/news" - "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/text" - "github.com/Jguer/yay/v10/pkg/upgrade" - "github.com/Jguer/yay/v10/pkg/vcs" + "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" ) func usage() { diff --git a/config.go b/config.go index fad12f9c..5493cb09 100644 --- a/config.go +++ b/config.go @@ -9,8 +9,8 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/settings" + "github.com/Jguer/yay/v11/pkg/text" ) // Verbosity settings for search. diff --git a/diff.go b/diff.go index 9ad8aae3..4acb700c 100644 --- a/diff.go +++ b/diff.go @@ -8,9 +8,9 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/dep" - "github.com/Jguer/yay/v10/pkg/multierror" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/dep" + "github.com/Jguer/yay/v11/pkg/multierror" + "github.com/Jguer/yay/v11/pkg/text" ) const gitDiffRefName = "AUR_SEEN" diff --git a/get.go b/get.go index 331dd700..c55c23b9 100644 --- a/get.go +++ b/get.go @@ -9,10 +9,10 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/download" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/text" + "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" ) // yay -Gp. diff --git a/go.mod b/go.mod index 3178b845..8b60570f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Jguer/yay/v10 +module github.com/Jguer/yay/v11 require ( github.com/Jguer/aur v1.0.0 diff --git a/install.go b/install.go index 5b76e724..cbfb76dd 100644 --- a/install.go +++ b/install.go @@ -15,18 +15,18 @@ import ( gosrc "github.com/Morganamilo/go-srcinfo" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/completion" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/dep" - "github.com/Jguer/yay/v10/pkg/download" - "github.com/Jguer/yay/v10/pkg/intrange" - "github.com/Jguer/yay/v10/pkg/multierror" - "github.com/Jguer/yay/v10/pkg/pgp" - "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" + "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/intrange" + "github.com/Jguer/yay/v11/pkg/multierror" + "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/parser" + "github.com/Jguer/yay/v11/pkg/stringset" + "github.com/Jguer/yay/v11/pkg/text" ) const gitEmptyTree = "4b825dc642cb6eb9a060e54bf8d69288fbee4904" diff --git a/main.go b/main.go index acff145b..708edafe 100644 --- a/main.go +++ b/main.go @@ -10,11 +10,11 @@ import ( "github.com/leonelquinteros/gotext" "golang.org/x/term" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/db/ialpm" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/db" + "github.com/Jguer/yay/v11/pkg/db/ialpm" + "github.com/Jguer/yay/v11/pkg/settings" + "github.com/Jguer/yay/v11/pkg/settings/parser" + "github.com/Jguer/yay/v11/pkg/text" ) func initGotext() { diff --git a/main_test.go b/main_test.go index 1fa76149..51356a30 100644 --- a/main_test.go +++ b/main_test.go @@ -6,7 +6,7 @@ import ( "github.com/Morganamilo/go-pacmanconf" "github.com/stretchr/testify/assert" - "github.com/Jguer/yay/v10/pkg/settings/parser" + "github.com/Jguer/yay/v11/pkg/settings/parser" ) func TestPacmanConf(t *testing.T) { diff --git a/pkg/completion/completion.go b/pkg/completion/completion.go index 306d1c3e..26c6e9b3 100644 --- a/pkg/completion/completion.go +++ b/pkg/completion/completion.go @@ -13,7 +13,7 @@ import ( "strings" "time" - "github.com/Jguer/yay/v10/pkg/db" + "github.com/Jguer/yay/v11/pkg/db" ) type PkgSynchronizer interface { diff --git a/pkg/db/ialpm/alpm.go b/pkg/db/ialpm/alpm.go index ebb36433..010f8384 100644 --- a/pkg/db/ialpm/alpm.go +++ b/pkg/db/ialpm/alpm.go @@ -12,10 +12,10 @@ import ( pacmanconf "github.com/Morganamilo/go-pacmanconf" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/text" - "github.com/Jguer/yay/v10/pkg/upgrade" + "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/v11/pkg/upgrade" ) type AlpmExecutor struct { diff --git a/pkg/dep/base.go b/pkg/dep/base.go index 647da6d5..315ea87c 100644 --- a/pkg/dep/base.go +++ b/pkg/dep/base.go @@ -1,6 +1,6 @@ package dep -import aur "github.com/Jguer/yay/v10/pkg/query" +import aur "github.com/Jguer/yay/v11/pkg/query" // Base is an AUR base package. type Base []*aur.Pkg diff --git a/pkg/dep/dep.go b/pkg/dep/dep.go index 82a42ecb..5e8cea71 100644 --- a/pkg/dep/dep.go +++ b/pkg/dep/dep.go @@ -3,9 +3,9 @@ package dep import ( "strings" - "github.com/Jguer/yay/v10/pkg/db" - aur "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/db" + aur "github.com/Jguer/yay/v11/pkg/query" + "github.com/Jguer/yay/v11/pkg/text" ) type providers struct { diff --git a/pkg/dep/depCheck.go b/pkg/dep/depCheck.go index 1321dc7a..2d86c51c 100644 --- a/pkg/dep/depCheck.go +++ b/pkg/dep/depCheck.go @@ -8,8 +8,8 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/stringset" + "github.com/Jguer/yay/v11/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 8ddda9e7..fb331b85 100644 --- a/pkg/dep/depOrder.go +++ b/pkg/dep/depOrder.go @@ -3,10 +3,10 @@ package dep import ( "fmt" - "github.com/Jguer/yay/v10/pkg/db" - aur "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" + "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" ) type Order struct { diff --git a/pkg/dep/depPool.go b/pkg/dep/depPool.go index 12ce108b..4e92771a 100644 --- a/pkg/dep/depPool.go +++ b/pkg/dep/depPool.go @@ -14,12 +14,12 @@ import ( alpm "github.com/Jguer/go-alpm/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" + "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" ) type Target struct { diff --git a/pkg/download/abs.go b/pkg/download/abs.go index 183327f5..4c3f8d46 100644 --- a/pkg/download/abs.go +++ b/pkg/download/abs.go @@ -9,7 +9,7 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/settings/exe" ) const ( diff --git a/pkg/download/abs_test.go b/pkg/download/abs_test.go index 56c55e8c..24b66de7 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/v10/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/settings/exe" ) const gitExtrasPKGBUILD = `pkgname=git-extras diff --git a/pkg/download/aur.go b/pkg/download/aur.go index d8fa067e..65f73ac9 100644 --- a/pkg/download/aur.go +++ b/pkg/download/aur.go @@ -10,9 +10,9 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/multierror" - "github.com/Jguer/yay/v10/pkg/settings/exe" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/multierror" + "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v11/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 b0041ec2..d2e294c1 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/v10/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/settings/exe" ) func TestGetAURPkgbuild(t *testing.T) { diff --git a/pkg/download/unified.go b/pkg/download/unified.go index 4e299cce..846e5297 100644 --- a/pkg/download/unified.go +++ b/pkg/download/unified.go @@ -9,11 +9,11 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/multierror" - "github.com/Jguer/yay/v10/pkg/settings/exe" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/text" + "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" ) type httpRequestDoer interface { diff --git a/pkg/download/unified_test.go b/pkg/download/unified_test.go index 6b7e8d3f..731d25fe 100644 --- a/pkg/download/unified_test.go +++ b/pkg/download/unified_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" "gopkg.in/h2non/gock.v1" - "github.com/Jguer/yay/v10/pkg/settings/exe" - "github.com/Jguer/yay/v10/pkg/settings/parser" + "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v11/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 2987a48b..969b8d48 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/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/db" + "github.com/Jguer/yay/v11/pkg/settings/exe" ) type testRunner struct{} diff --git a/pkg/intrange/intrange.go b/pkg/intrange/intrange.go index 8ca726a5..b5b62a9e 100644 --- a/pkg/intrange/intrange.go +++ b/pkg/intrange/intrange.go @@ -5,7 +5,7 @@ import ( "strings" "unicode" - "github.com/Jguer/yay/v10/pkg/stringset" + "github.com/Jguer/yay/v11/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 c71b38bd..0d65e948 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/v10/pkg/stringset" + "github.com/Jguer/yay/v11/pkg/stringset" ) func TestParseNumberMenu(t *testing.T) { diff --git a/pkg/news/news.go b/pkg/news/news.go index 7da1ce1f..8f05108a 100644 --- a/pkg/news/news.go +++ b/pkg/news/news.go @@ -12,8 +12,8 @@ import ( "strings" "time" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/settings" + "github.com/Jguer/yay/v11/pkg/text" ) type item struct { diff --git a/pkg/pgp/keys.go b/pkg/pgp/keys.go index 26ba448b..6ef526bd 100644 --- a/pkg/pgp/keys.go +++ b/pkg/pgp/keys.go @@ -11,8 +11,8 @@ import ( gosrc "github.com/Morganamilo/go-srcinfo" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/dep" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/dep" + "github.com/Jguer/yay/v11/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 8b8a762e..02b5e4c2 100644 --- a/pkg/pgp/keys_test.go +++ b/pkg/pgp/keys_test.go @@ -17,7 +17,7 @@ import ( gosrc "github.com/Morganamilo/go-srcinfo" "github.com/bradleyjkemp/cupaloy" - "github.com/Jguer/yay/v10/pkg/dep" + "github.com/Jguer/yay/v11/pkg/dep" ) const ( diff --git a/pkg/query/aur_info.go b/pkg/query/aur_info.go index 522208f8..d9b83ca1 100644 --- a/pkg/query/aur_info.go +++ b/pkg/query/aur_info.go @@ -7,9 +7,9 @@ import ( "github.com/Jguer/aur" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/intrange" - "github.com/Jguer/yay/v10/pkg/multierror" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/intrange" + "github.com/Jguer/yay/v11/pkg/multierror" + "github.com/Jguer/yay/v11/pkg/text" ) type Pkg = aur.Pkg diff --git a/pkg/query/aur_warnings.go b/pkg/query/aur_warnings.go index ffe2e3f1..395f4d01 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/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/stringset" + "github.com/Jguer/yay/v11/pkg/text" ) type AURWarnings struct { diff --git a/pkg/query/filter.go b/pkg/query/filter.go index 617ff113..e03ba79c 100644 --- a/pkg/query/filter.go +++ b/pkg/query/filter.go @@ -3,9 +3,9 @@ package query import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/db" + "github.com/Jguer/yay/v11/pkg/settings/parser" + "github.com/Jguer/yay/v11/pkg/text" ) // GetPackageNamesBySource returns package names with and without correspondence in SyncDBS respectively. diff --git a/pkg/settings/args.go b/pkg/settings/args.go index 6f877a82..a16f8e90 100644 --- a/pkg/settings/args.go +++ b/pkg/settings/args.go @@ -4,7 +4,7 @@ import ( "strconv" "strings" - "github.com/Jguer/yay/v10/pkg/settings/parser" + "github.com/Jguer/yay/v11/pkg/settings/parser" ) func (c *Configuration) ParseCommandLine(a *parser.Arguments) error { diff --git a/pkg/settings/config.go b/pkg/settings/config.go index dcea40e7..39a541c3 100644 --- a/pkg/settings/config.go +++ b/pkg/settings/config.go @@ -15,9 +15,9 @@ import ( "github.com/Jguer/aur" - "github.com/Jguer/yay/v10/pkg/settings/exe" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/vcs" + "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/settings/parser" + "github.com/Jguer/yay/v11/pkg/vcs" ) const ( diff --git a/pkg/settings/exe/cmd_builder.go b/pkg/settings/exe/cmd_builder.go index 85ddfc5f..d31c4109 100644 --- a/pkg/settings/exe/cmd_builder.go +++ b/pkg/settings/exe/cmd_builder.go @@ -14,8 +14,8 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/settings/parser" + "github.com/Jguer/yay/v11/pkg/text" ) const SudoLoopDuration = 241 diff --git a/pkg/settings/runtime.go b/pkg/settings/runtime.go index 87aefbab..38ced3cd 100644 --- a/pkg/settings/runtime.go +++ b/pkg/settings/runtime.go @@ -7,9 +7,9 @@ import ( "github.com/Jguer/aur" - "github.com/Jguer/yay/v10/pkg/settings/exe" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/vcs" + "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/settings/parser" + "github.com/Jguer/yay/v11/pkg/vcs" ) type Runtime struct { diff --git a/pkg/upgrade/sources.go b/pkg/upgrade/sources.go index a5b335b3..48afc215 100644 --- a/pkg/upgrade/sources.go +++ b/pkg/upgrade/sources.go @@ -6,10 +6,10 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/text" - "github.com/Jguer/yay/v10/pkg/vcs" + "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" ) func UpDevel( diff --git a/pkg/upgrade/sources_test.go b/pkg/upgrade/sources_test.go index 9d2c7464..e41d3c3a 100644 --- a/pkg/upgrade/sources_test.go +++ b/pkg/upgrade/sources_test.go @@ -13,9 +13,9 @@ import ( alpm "github.com/Jguer/go-alpm/v2" - "github.com/Jguer/yay/v10/pkg/db/mock" - "github.com/Jguer/yay/v10/pkg/settings/exe" - "github.com/Jguer/yay/v10/pkg/vcs" + "github.com/Jguer/yay/v11/pkg/db/mock" + "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/vcs" ) func Test_upAUR(t *testing.T) { diff --git a/pkg/upgrade/upgrade.go b/pkg/upgrade/upgrade.go index d0ebaac8..3f7e5dd6 100644 --- a/pkg/upgrade/upgrade.go +++ b/pkg/upgrade/upgrade.go @@ -4,9 +4,9 @@ import ( "fmt" "unicode" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/intrange" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/db" + "github.com/Jguer/yay/v11/pkg/intrange" + "github.com/Jguer/yay/v11/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 dfc2c638..4e915081 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/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/text" ) func TestGetVersionDiff(t *testing.T) { diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go index 8ccae892..19b946c5 100644 --- a/pkg/vcs/vcs.go +++ b/pkg/vcs/vcs.go @@ -13,8 +13,8 @@ import ( gosrc "github.com/Morganamilo/go-srcinfo" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/settings/exe" - "github.com/Jguer/yay/v10/pkg/text" + "github.com/Jguer/yay/v11/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/text" ) // InfoStore is a collection of OriginInfoByURL by Package. diff --git a/pkg/vcs/vcs_test.go b/pkg/vcs/vcs_test.go index 559e4db3..ed943f9b 100644 --- a/pkg/vcs/vcs_test.go +++ b/pkg/vcs/vcs_test.go @@ -14,7 +14,7 @@ import ( "github.com/bradleyjkemp/cupaloy" "github.com/stretchr/testify/assert" - "github.com/Jguer/yay/v10/pkg/settings/exe" + "github.com/Jguer/yay/v11/pkg/settings/exe" ) func TestParsing(t *testing.T) { diff --git a/print.go b/print.go index 71b53d5a..18697621 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/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" - "github.com/Jguer/yay/v10/pkg/upgrade" + "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" ) // PrintSearch handles printing search results in a given format. diff --git a/query.go b/query.go index a721ba69..81eae4db 100644 --- a/query.go +++ b/query.go @@ -12,12 +12,12 @@ import ( alpm "github.com/Jguer/go-alpm/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/settings/parser" - "github.com/Jguer/yay/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" + "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" ) // Query is a collection of Results. diff --git a/upgrade.go b/upgrade.go index f14c9bc1..70b255b1 100644 --- a/upgrade.go +++ b/upgrade.go @@ -11,13 +11,13 @@ import ( alpm "github.com/Jguer/go-alpm/v2" "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/intrange" - "github.com/Jguer/yay/v10/pkg/multierror" - "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" - "github.com/Jguer/yay/v10/pkg/upgrade" + "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/stringset" + "github.com/Jguer/yay/v11/pkg/text" + "github.com/Jguer/yay/v11/pkg/upgrade" ) func filterUpdateList(list []db.Upgrade, filter upgrade.Filter) []db.Upgrade { diff --git a/vcs.go b/vcs.go index 76cbe1e4..2a97fdaf 100644 --- a/vcs.go +++ b/vcs.go @@ -7,13 +7,13 @@ import ( "github.com/leonelquinteros/gotext" - "github.com/Jguer/yay/v10/pkg/db" - "github.com/Jguer/yay/v10/pkg/dep" - "github.com/Jguer/yay/v10/pkg/download" - "github.com/Jguer/yay/v10/pkg/query" - "github.com/Jguer/yay/v10/pkg/settings" - "github.com/Jguer/yay/v10/pkg/stringset" - "github.com/Jguer/yay/v10/pkg/text" + "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/stringset" + "github.com/Jguer/yay/v11/pkg/text" ) // createDevelDB forces yay to create a DB of the existing development packages.