This commit is contained in:
parent
7a9cea9702
commit
3f3b575b63
14
build.go
14
build.go
@ -23,13 +23,13 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/osutils"
|
"lure.sh/lure/internal/osutils"
|
||||||
"go.elara.ws/lure/internal/types"
|
"lure.sh/lure/internal/types"
|
||||||
"go.elara.ws/lure/pkg/build"
|
"lure.sh/lure/pkg/build"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/lure/pkg/manager"
|
"lure.sh/lure/pkg/manager"
|
||||||
"go.elara.ws/lure/pkg/repos"
|
"lure.sh/lure/pkg/repos"
|
||||||
)
|
)
|
||||||
|
|
||||||
var buildCmd = &cli.Command{
|
var buildCmd = &cli.Command{
|
||||||
|
8
fix.go
8
fix.go
@ -22,10 +22,10 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/lure/pkg/repos"
|
"lure.sh/lure/pkg/repos"
|
||||||
)
|
)
|
||||||
|
|
||||||
var fixCmd = &cli.Command{
|
var fixCmd = &cli.Command{
|
||||||
|
12
info.go
12
info.go
@ -23,12 +23,12 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.elara.ws/lure/internal/cliutils"
|
"lure.sh/lure/internal/cliutils"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/overrides"
|
"lure.sh/lure/internal/overrides"
|
||||||
"go.elara.ws/lure/pkg/distro"
|
"lure.sh/lure/pkg/distro"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/lure/pkg/repos"
|
"lure.sh/lure/pkg/repos"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
16
install.go
16
install.go
@ -22,14 +22,14 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.elara.ws/lure/internal/cliutils"
|
"lure.sh/lure/internal/cliutils"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/internal/types"
|
"lure.sh/lure/internal/types"
|
||||||
"go.elara.ws/lure/pkg/build"
|
"lure.sh/lure/pkg/build"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/lure/pkg/manager"
|
"lure.sh/lure/pkg/manager"
|
||||||
"go.elara.ws/lure/pkg/repos"
|
"lure.sh/lure/pkg/repos"
|
||||||
)
|
)
|
||||||
|
|
||||||
var installCmd = &cli.Command{
|
var installCmd = &cli.Command{
|
||||||
|
@ -24,11 +24,11 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/internal/pager"
|
"lure.sh/lure/internal/pager"
|
||||||
"go.elara.ws/lure/internal/translations"
|
"lure.sh/lure/internal/translations"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
)
|
)
|
||||||
|
|
||||||
// YesNoPrompt asks the user a yes or no question, using def as the default answer
|
// YesNoPrompt asks the user a yes or no question, using def as the default answer
|
||||||
|
@ -24,8 +24,8 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/pelletier/go-toml/v2"
|
"github.com/pelletier/go-toml/v2"
|
||||||
"go.elara.ws/lure/internal/types"
|
"lure.sh/lure/internal/types"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
)
|
)
|
||||||
|
|
||||||
var defaultConfig = &types.Config{
|
var defaultConfig = &types.Config{
|
||||||
|
@ -24,7 +24,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"golang.org/x/text/language"
|
"golang.org/x/text/language"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/pelletier/go-toml/v2"
|
"github.com/pelletier/go-toml/v2"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Paths contains various paths used by LURE
|
// Paths contains various paths used by LURE
|
||||||
|
@ -28,8 +28,8 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
"modernc.org/sqlite"
|
"modernc.org/sqlite"
|
||||||
)
|
)
|
||||||
|
@ -24,7 +24,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
var testPkg = db.Package{
|
var testPkg = db.Package{
|
||||||
|
@ -36,8 +36,8 @@ import (
|
|||||||
|
|
||||||
"github.com/PuerkitoBio/purell"
|
"github.com/PuerkitoBio/purell"
|
||||||
"github.com/vmihailenco/msgpack/v5"
|
"github.com/vmihailenco/msgpack/v5"
|
||||||
"go.elara.ws/lure/internal/dlcache"
|
"lure.sh/lure/internal/dlcache"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ import (
|
|||||||
|
|
||||||
"github.com/mholt/archiver/v4"
|
"github.com/mholt/archiver/v4"
|
||||||
"github.com/schollz/progressbar/v3"
|
"github.com/schollz/progressbar/v3"
|
||||||
"go.elara.ws/lure/internal/shutils"
|
"lure.sh/lure/internal/shutils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// FileDownloader downloads files using HTTP
|
// FileDownloader downloads files using HTTP
|
||||||
|
@ -26,7 +26,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BasePath returns the base path of the download cache
|
// BasePath returns the base path of the download cache
|
||||||
|
@ -27,8 +27,8 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/dlcache"
|
"lure.sh/lure/internal/dlcache"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
@ -22,9 +22,9 @@ import (
|
|||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/cpu"
|
"lure.sh/lure/internal/cpu"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/pkg/distro"
|
"lure.sh/lure/pkg/distro"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
"golang.org/x/text/language"
|
"golang.org/x/text/language"
|
||||||
)
|
)
|
||||||
|
@ -23,8 +23,8 @@ import (
|
|||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/overrides"
|
"lure.sh/lure/internal/overrides"
|
||||||
"go.elara.ws/lure/pkg/distro"
|
"lure.sh/lure/pkg/distro"
|
||||||
"golang.org/x/text/language"
|
"golang.org/x/text/language"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -25,8 +25,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/mitchellh/mapstructure"
|
"github.com/mitchellh/mapstructure"
|
||||||
"go.elara.ws/lure/internal/overrides"
|
"lure.sh/lure/internal/overrides"
|
||||||
"go.elara.ws/lure/pkg/distro"
|
"lure.sh/lure/pkg/distro"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
"mvdan.cc/sh/v3/expand"
|
"mvdan.cc/sh/v3/expand"
|
||||||
"mvdan.cc/sh/v3/interp"
|
"mvdan.cc/sh/v3/interp"
|
||||||
|
@ -27,8 +27,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/shutils/decoder"
|
"lure.sh/lure/internal/shutils/decoder"
|
||||||
"go.elara.ws/lure/pkg/distro"
|
"lure.sh/lure/pkg/distro"
|
||||||
"mvdan.cc/sh/v3/interp"
|
"mvdan.cc/sh/v3/interp"
|
||||||
"mvdan.cc/sh/v3/syntax"
|
"mvdan.cc/sh/v3/syntax"
|
||||||
)
|
)
|
||||||
|
@ -23,9 +23,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/shutils"
|
"lure.sh/lure/internal/shutils"
|
||||||
"go.elara.ws/lure/internal/shutils/decoder"
|
"lure.sh/lure/internal/shutils/decoder"
|
||||||
"go.elara.ws/lure/pkg/distro"
|
"lure.sh/lure/pkg/distro"
|
||||||
"mvdan.cc/sh/v3/interp"
|
"mvdan.cc/sh/v3/interp"
|
||||||
"mvdan.cc/sh/v3/syntax"
|
"mvdan.cc/sh/v3/syntax"
|
||||||
)
|
)
|
||||||
|
@ -30,7 +30,7 @@ import (
|
|||||||
|
|
||||||
"github.com/go-git/go-git/v5"
|
"github.com/go-git/go-git/v5"
|
||||||
"github.com/go-git/go-git/v5/plumbing/object"
|
"github.com/go-git/go-git/v5/plumbing/object"
|
||||||
"go.elara.ws/lure/internal/shutils"
|
"lure.sh/lure/internal/shutils"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
"mvdan.cc/sh/v3/interp"
|
"mvdan.cc/sh/v3/interp"
|
||||||
)
|
)
|
||||||
|
@ -25,7 +25,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/shutils"
|
"lure.sh/lure/internal/shutils"
|
||||||
"mvdan.cc/sh/v3/interp"
|
"mvdan.cc/sh/v3/interp"
|
||||||
"mvdan.cc/sh/v3/syntax"
|
"mvdan.cc/sh/v3/syntax"
|
||||||
)
|
)
|
||||||
|
@ -24,7 +24,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"go.elara.ws/logger"
|
"go.elara.ws/logger"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/translate"
|
"go.elara.ws/translate"
|
||||||
"golang.org/x/text/language"
|
"golang.org/x/text/language"
|
||||||
)
|
)
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
package types
|
package types
|
||||||
|
|
||||||
import "go.elara.ws/lure/pkg/manager"
|
import "lure.sh/lure/pkg/manager"
|
||||||
|
|
||||||
type BuildOpts struct {
|
type BuildOpts struct {
|
||||||
Script string
|
Script string
|
||||||
|
10
list.go
10
list.go
@ -22,11 +22,11 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/lure/pkg/manager"
|
"lure.sh/lure/pkg/manager"
|
||||||
"go.elara.ws/lure/pkg/repos"
|
"lure.sh/lure/pkg/repos"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
10
main.go
10
main.go
@ -28,11 +28,11 @@ import (
|
|||||||
"github.com/mattn/go-isatty"
|
"github.com/mattn/go-isatty"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.elara.ws/logger"
|
"go.elara.ws/logger"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/internal/translations"
|
"lure.sh/lure/internal/translations"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/lure/pkg/manager"
|
"lure.sh/lure/pkg/manager"
|
||||||
)
|
)
|
||||||
|
|
||||||
var app = &cli.App{
|
var app = &cli.App{
|
||||||
|
@ -38,19 +38,19 @@ import (
|
|||||||
|
|
||||||
"github.com/goreleaser/nfpm/v2"
|
"github.com/goreleaser/nfpm/v2"
|
||||||
"github.com/goreleaser/nfpm/v2/files"
|
"github.com/goreleaser/nfpm/v2/files"
|
||||||
"go.elara.ws/lure/internal/cliutils"
|
"lure.sh/lure/internal/cliutils"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/cpu"
|
"lure.sh/lure/internal/cpu"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/internal/dl"
|
"lure.sh/lure/internal/dl"
|
||||||
"go.elara.ws/lure/internal/shutils"
|
"lure.sh/lure/internal/shutils"
|
||||||
"go.elara.ws/lure/internal/shutils/decoder"
|
"lure.sh/lure/internal/shutils/decoder"
|
||||||
"go.elara.ws/lure/internal/shutils/helpers"
|
"lure.sh/lure/internal/shutils/helpers"
|
||||||
"go.elara.ws/lure/internal/types"
|
"lure.sh/lure/internal/types"
|
||||||
"go.elara.ws/lure/pkg/distro"
|
"lure.sh/lure/pkg/distro"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/lure/pkg/manager"
|
"lure.sh/lure/pkg/manager"
|
||||||
"go.elara.ws/lure/pkg/repos"
|
"lure.sh/lure/pkg/repos"
|
||||||
"mvdan.cc/sh/v3/expand"
|
"mvdan.cc/sh/v3/expand"
|
||||||
"mvdan.cc/sh/v3/interp"
|
"mvdan.cc/sh/v3/interp"
|
||||||
"mvdan.cc/sh/v3/syntax"
|
"mvdan.cc/sh/v3/syntax"
|
||||||
|
@ -22,10 +22,10 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/internal/types"
|
"lure.sh/lure/internal/types"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
)
|
)
|
||||||
|
|
||||||
// InstallPkgs installs native packages via the package manager,
|
// InstallPkgs installs native packages via the package manager,
|
||||||
|
@ -23,7 +23,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/shutils"
|
"lure.sh/lure/internal/shutils"
|
||||||
"mvdan.cc/sh/v3/expand"
|
"mvdan.cc/sh/v3/expand"
|
||||||
"mvdan.cc/sh/v3/interp"
|
"mvdan.cc/sh/v3/interp"
|
||||||
"mvdan.cc/sh/v3/syntax"
|
"mvdan.cc/sh/v3/syntax"
|
||||||
|
@ -21,7 +21,7 @@ package repos
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
// FindPkgs looks for packages matching the inputs inside the database.
|
// FindPkgs looks for packages matching the inputs inside the database.
|
||||||
|
@ -24,9 +24,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/internal/types"
|
"lure.sh/lure/internal/types"
|
||||||
"go.elara.ws/lure/pkg/repos"
|
"lure.sh/lure/pkg/repos"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestFindPkgs(t *testing.T) {
|
func TestFindPkgs(t *testing.T) {
|
||||||
|
@ -34,13 +34,13 @@ import (
|
|||||||
"github.com/go-git/go-git/v5/plumbing"
|
"github.com/go-git/go-git/v5/plumbing"
|
||||||
"github.com/go-git/go-git/v5/plumbing/format/diff"
|
"github.com/go-git/go-git/v5/plumbing/format/diff"
|
||||||
"github.com/pelletier/go-toml/v2"
|
"github.com/pelletier/go-toml/v2"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/internal/shutils"
|
"lure.sh/lure/internal/shutils"
|
||||||
"go.elara.ws/lure/internal/shutils/decoder"
|
"lure.sh/lure/internal/shutils/decoder"
|
||||||
"go.elara.ws/lure/internal/types"
|
"lure.sh/lure/internal/types"
|
||||||
"go.elara.ws/lure/pkg/distro"
|
"lure.sh/lure/pkg/distro"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/vercmp"
|
"go.elara.ws/vercmp"
|
||||||
"mvdan.cc/sh/v3/expand"
|
"mvdan.cc/sh/v3/expand"
|
||||||
"mvdan.cc/sh/v3/interp"
|
"mvdan.cc/sh/v3/interp"
|
||||||
|
@ -24,10 +24,10 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/internal/types"
|
"lure.sh/lure/internal/types"
|
||||||
"go.elara.ws/lure/pkg/repos"
|
"lure.sh/lure/pkg/repos"
|
||||||
)
|
)
|
||||||
|
|
||||||
func setCfgDirs(t *testing.T) {
|
func setCfgDirs(t *testing.T) {
|
||||||
|
@ -9,8 +9,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Filter represents search filters.
|
// Filter represents search filters.
|
||||||
|
10
repo.go
10
repo.go
@ -24,11 +24,11 @@ import (
|
|||||||
|
|
||||||
"github.com/pelletier/go-toml/v2"
|
"github.com/pelletier/go-toml/v2"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/internal/types"
|
"lure.sh/lure/internal/types"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/lure/pkg/repos"
|
"lure.sh/lure/pkg/repos"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
16
upgrade.go
16
upgrade.go
@ -23,14 +23,14 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.elara.ws/lure/internal/config"
|
"lure.sh/lure/internal/config"
|
||||||
"go.elara.ws/lure/internal/db"
|
"lure.sh/lure/internal/db"
|
||||||
"go.elara.ws/lure/internal/types"
|
"lure.sh/lure/internal/types"
|
||||||
"go.elara.ws/lure/pkg/build"
|
"lure.sh/lure/pkg/build"
|
||||||
"go.elara.ws/lure/pkg/distro"
|
"lure.sh/lure/pkg/distro"
|
||||||
"go.elara.ws/lure/pkg/loggerctx"
|
"lure.sh/lure/pkg/loggerctx"
|
||||||
"go.elara.ws/lure/pkg/manager"
|
"lure.sh/lure/pkg/manager"
|
||||||
"go.elara.ws/lure/pkg/repos"
|
"lure.sh/lure/pkg/repos"
|
||||||
"go.elara.ws/vercmp"
|
"go.elara.ws/vercmp"
|
||||||
"golang.org/x/exp/maps"
|
"golang.org/x/exp/maps"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
|
Loading…
Reference in New Issue
Block a user