chore(yay): bump version (#1949)

bump major
This commit is contained in:
Jo 2023-03-07 21:04:06 +00:00 committed by GitHub
parent 46bf36a160
commit 3d5a43c294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
81 changed files with 435 additions and 402 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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")

View File

@ -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 {

View File

@ -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 {

View File

@ -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.

22
cmd.go
View File

@ -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() {

8
get.go
View File

@ -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.

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/Jguer/yay/v11
module github.com/Jguer/yay/v12
require (
github.com/Jguer/aur v1.2.3

View File

@ -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,

View File

@ -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"

View File

@ -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) {

14
main.go
View File

@ -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.
)

View File

@ -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"

View File

@ -13,7 +13,7 @@ import (
"strings"
"time"
"github.com/Jguer/yay/v11/pkg/db"
"github.com/Jguer/yay/v12/pkg/db"
)
type PkgSynchronizer interface {

View File

@ -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 {

View File

@ -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.

View File

@ -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"
)

View File

@ -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.

View File

@ -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 {

View File

@ -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) {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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

View File

@ -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 (

View File

@ -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

View File

@ -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) {

View File

@ -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) {

View File

@ -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 {

View File

@ -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

View File

@ -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{}

View File

@ -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.

View File

@ -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) {

View File

@ -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 {

View File

@ -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 (

View File

@ -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.

View File

@ -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"
)

View File

@ -12,7 +12,7 @@ import (
"strings"
"time"
"github.com/Jguer/yay/v11/pkg/text"
"github.com/Jguer/yay/v12/pkg/text"
)
type item struct {

View File

@ -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.

View File

@ -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 {

View File

@ -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

View File

@ -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 {

View File

@ -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 {

View File

@ -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"

View File

@ -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"

View File

@ -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"
)

View File

@ -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"

View File

@ -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 (

View File

@ -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"
)

View File

@ -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 {

View File

@ -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"

View File

@ -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

View File

@ -7,7 +7,7 @@ import (
"strings"
"syscall"
"github.com/Jguer/yay/v11/pkg/text"
"github.com/Jguer/yay/v12/pkg/text"
)
type Runner interface {

View File

@ -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 {

View File

@ -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"
)

View File

@ -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) {

View File

@ -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"

View File

@ -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) {

View File

@ -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"

View File

@ -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

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/Jguer/yay/v11/pkg/text"
"github.com/Jguer/yay/v12/pkg/text"
)
type (

View File

@ -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 {

View File

@ -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 {

View File

@ -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(

View File

@ -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) {

View File

@ -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.

View File

@ -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) {

View File

@ -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 {

View File

@ -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) {

253
po/en.po
View File

@ -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 ""

View File

@ -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"

View File

@ -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.

View File

@ -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.

18
sync.go
View File

@ -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"
)

View File

@ -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) {

View File

@ -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"

16
vcs.go
View File

@ -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.

View File

@ -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 {