Skip to content

Commit

Permalink
move dependencies to github
Browse files Browse the repository at this point in the history
  • Loading branch information
airKlizz committed Sep 19, 2022
1 parent 2c48d5d commit ce00b8b
Show file tree
Hide file tree
Showing 27 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion cmd/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"time"

"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/flags"
"github.com/openlizz/lizz/internal/flags"
)

var addCmd = &cobra.Command{
Expand Down
4 changes: 2 additions & 2 deletions cmd/add_git.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (

"github.com/manifoldco/promptui"
"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/repo"
"gitlab.com/openlizz/lizz/internal/yaml"
"github.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/yaml"
)

var addGitCmd = &cobra.Command{
Expand Down
8 changes: 4 additions & 4 deletions cmd/add_github.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"time"

"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/github"
"gitlab.com/openlizz/lizz/internal/provider"
"gitlab.com/openlizz/lizz/internal/repo"
"gitlab.com/openlizz/lizz/internal/yaml"
"github.com/openlizz/lizz/internal/github"
"github.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/yaml"
)

var addGithubCmd = &cobra.Command{
Expand Down
8 changes: 4 additions & 4 deletions cmd/add_gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import (

"github.com/fluxcd/go-git-providers/gitprovider"
"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/gitlab"
"gitlab.com/openlizz/lizz/internal/provider"
"gitlab.com/openlizz/lizz/internal/repo"
"gitlab.com/openlizz/lizz/internal/yaml"
"github.com/openlizz/lizz/internal/gitlab"
"github.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/yaml"
)

var addGitlabCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/init_git.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"os"

"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/repo"
)

var initGitCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/init_github.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"os"

"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/github"
"gitlab.com/openlizz/lizz/internal/provider"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/github"
"github.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/repo"
)

var initGithubCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/init_gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"strings"

"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/gitlab"
"gitlab.com/openlizz/lizz/internal/provider"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/gitlab"
"github.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/repo"
)

var initGitlabCmd = &cobra.Command{
Expand Down
4 changes: 2 additions & 2 deletions cmd/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (

"sigs.k8s.io/kind/pkg/log"

"gitlab.com/openlizz/lizz/internal/logger/cli"
"gitlab.com/openlizz/lizz/internal/logger/env"
"github.com/openlizz/lizz/internal/logger/cli"
"github.com/openlizz/lizz/internal/logger/env"
)

// NewLogger returns the standard logger used by the kind CLI
Expand Down
2 changes: 1 addition & 1 deletion cmd/refresh_git.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"os"

"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/repo"
)

var refreshGitCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/refresh_github.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"os"

"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/github"
"gitlab.com/openlizz/lizz/internal/provider"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/github"
"github.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/repo"
)

var refreshGithubCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/refresh_gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"strings"

"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/gitlab"
"gitlab.com/openlizz/lizz/internal/provider"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/gitlab"
"github.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/repo"
)

var refreshGitlabCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/remove_git.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package cmd

import (
"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/repo"
)

var removeGitCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/remove_github.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package cmd

import (
"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/github"
"gitlab.com/openlizz/lizz/internal/provider"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/github"
"github.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/repo"
)

var removeGithubCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/remove_gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"strings"

"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/gitlab"
"gitlab.com/openlizz/lizz/internal/provider"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/gitlab"
"github.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/repo"
)

var removeGitlabCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"time"

"github.com/spf13/cobra"
"gitlab.com/openlizz/lizz/internal/logger/cli"
"github.com/openlizz/lizz/internal/logger/cli"
)

var VERSION = "0.0.0-dev.0"
Expand Down
2 changes: 1 addition & 1 deletion cmd/secretmanagement_git.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package cmd
import (
"github.com/spf13/cobra"

"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/repo"
)

var secretManagementGitCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/secretmanagement_github.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ package cmd
import (
"github.com/spf13/cobra"

"gitlab.com/openlizz/lizz/internal/github"
"gitlab.com/openlizz/lizz/internal/provider"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/github"
"github.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/repo"
)

var secretManagementGithubCmd = &cobra.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/secretmanagement_gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (

"github.com/spf13/cobra"

"gitlab.com/openlizz/lizz/internal/gitlab"
"gitlab.com/openlizz/lizz/internal/provider"
"gitlab.com/openlizz/lizz/internal/repo"
"github.com/openlizz/lizz/internal/gitlab"
"github.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/repo"
)

var secretManagementGitlabCmd = &cobra.Command{
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module gitlab.com/openlizz/lizz
module github.com/openlizz/lizz

go 1.19

Expand All @@ -16,6 +16,7 @@ require (
github.com/manifoldco/promptui v0.9.0
github.com/mattn/go-isatty v0.0.14
github.com/mitchellh/go-wordwrap v1.0.1
github.com/otiai10/copy v1.7.0
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
github.com/sethvargo/go-password v0.2.0
github.com/spf13/cobra v1.5.0
Expand Down Expand Up @@ -126,7 +127,6 @@ require (
github.com/oklog/run v1.1.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect
github.com/otiai10/copy v1.7.0 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion internal/git/gogit/gogit.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
"github.com/go-git/go-git/v5/plumbing/transport/client"
"github.com/go-git/go-git/v5/plumbing/transport/http"

"gitlab.com/openlizz/lizz/internal/git"
"github.com/openlizz/lizz/internal/git"
)

type GoGit struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/logger/cli/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (

"sigs.k8s.io/kind/pkg/log"

"gitlab.com/openlizz/lizz/internal/logger/env"
"github.com/openlizz/lizz/internal/logger/env"
)

// Logger is the kind cli's log.Logger implementation
Expand Down
6 changes: 3 additions & 3 deletions internal/repo/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (

cp "github.com/otiai10/copy"
ignore "github.com/sabhiram/go-gitignore"
"gitlab.com/openlizz/lizz/internal/git/gogit"
"gitlab.com/openlizz/lizz/internal/logger/cli"
"gitlab.com/openlizz/lizz/internal/yaml"
"github.com/openlizz/lizz/internal/git/gogit"
"github.com/openlizz/lizz/internal/logger/cli"
"github.com/openlizz/lizz/internal/yaml"
"go.mozilla.org/sops/cmd/sops/codes"
"go.mozilla.org/sops/v3/cmd/sops/common"
yaml2 "gopkg.in/yaml.v2"
Expand Down
6 changes: 3 additions & 3 deletions internal/repo/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"strings"
"time"

"gitlab.com/openlizz/lizz/internal/git/gogit"
"gitlab.com/openlizz/lizz/internal/logger/cli"
"gitlab.com/openlizz/lizz/internal/yaml"
"github.com/openlizz/lizz/internal/git/gogit"
"github.com/openlizz/lizz/internal/logger/cli"
"github.com/openlizz/lizz/internal/yaml"
yml "sigs.k8s.io/yaml"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/repo/config_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/fluxcd/go-git-providers/gitprovider"
"github.com/fluxcd/pkg/apis/meta"
"github.com/sethvargo/go-password/password"
"gitlab.com/openlizz/lizz/internal/logger/cli"
"github.com/openlizz/lizz/internal/logger/cli"
yaml2 "gopkg.in/yaml.v2"
"helm.sh/helm/v3/pkg/strvals"
"sigs.k8s.io/yaml"
Expand Down
8 changes: 4 additions & 4 deletions internal/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import (
"github.com/go-git/go-git/v5/plumbing/transport"
"github.com/go-git/go-git/v5/plumbing/transport/http"
"github.com/go-git/go-git/v5/plumbing/transport/ssh"
"gitlab.com/openlizz/lizz/internal/git"
"gitlab.com/openlizz/lizz/internal/git/gogit"
"gitlab.com/openlizz/lizz/internal/logger/cli"
"gitlab.com/openlizz/lizz/internal/provider"
"github.com/openlizz/lizz/internal/git"
"github.com/openlizz/lizz/internal/git/gogit"
"github.com/openlizz/lizz/internal/logger/cli"
"github.com/openlizz/lizz/internal/provider"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/yaml/sourceSecret.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/url"

"github.com/fluxcd/flux2/pkg/manifestgen/sourcesecret"
"gitlab.com/openlizz/lizz/internal/flags"
"github.com/openlizz/lizz/internal/flags"
corev1 "k8s.io/api/core/v1"
"sigs.k8s.io/yaml"
)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/
package main

import "gitlab.com/openlizz/lizz/cmd"
import "github.com/openlizz/lizz/cmd"

func main() {
cmd.Execute()
Expand Down

0 comments on commit ce00b8b

Please sign in to comment.