Rename the project to shoebill

This commit is contained in:
Nikolai Rodionov
2023-08-02 17:00:34 +02:00
parent 09a594ca60
commit 936d9f132d
25 changed files with 58 additions and 58 deletions

View File

@ -5,9 +5,9 @@ import (
"fmt"
"os"
"git.badhouseplants.net/allanger/giops/internal/config/release"
"git.badhouseplants.net/allanger/giops/internal/lockfile"
"git.badhouseplants.net/allanger/giops/internal/utils/githelper"
"git.badhouseplants.net/allanger/shoebill/internal/config/release"
"git.badhouseplants.net/allanger/shoebill/internal/lockfile"
"git.badhouseplants.net/allanger/shoebill/internal/utils/githelper"
)
type Cluster struct {
@ -46,7 +46,7 @@ func (c *Cluster) BootstrapRepo(gh githelper.Githelper, workdir string, dry bool
if err != nil {
return err
}
if err := gh.AddAllAndCommit(workdir, "Bootstrap the Giops repo"); err != nil {
if err := gh.AddAllAndCommit(workdir, "Bootstrap the shoebill repo"); err != nil {
return err
}
if !dry {

View File

@ -3,9 +3,9 @@ package config
import (
"os"
"git.badhouseplants.net/allanger/giops/internal/config/cluster"
"git.badhouseplants.net/allanger/giops/internal/config/release"
"git.badhouseplants.net/allanger/giops/internal/config/repository"
"git.badhouseplants.net/allanger/shoebill/internal/config/cluster"
"git.badhouseplants.net/allanger/shoebill/internal/config/release"
"git.badhouseplants.net/allanger/shoebill/internal/config/repository"
"github.com/sirupsen/logrus"
"gopkg.in/yaml.v2"
)

View File

@ -4,8 +4,8 @@ import (
"os"
"testing"
"git.badhouseplants.net/allanger/giops/internal/config"
"git.badhouseplants.net/allanger/giops/internal/config/repository"
"git.badhouseplants.net/allanger/shoebill/internal/config"
"git.badhouseplants.net/allanger/shoebill/internal/config/repository"
"github.com/stretchr/testify/assert"
)

View File

@ -4,9 +4,9 @@ import (
"fmt"
"reflect"
"git.badhouseplants.net/allanger/giops/internal/config/repository"
"git.badhouseplants.net/allanger/giops/internal/lockfile"
"git.badhouseplants.net/allanger/giops/internal/utils/helmhelper"
"git.badhouseplants.net/allanger/shoebill/internal/config/repository"
"git.badhouseplants.net/allanger/shoebill/internal/lockfile"
"git.badhouseplants.net/allanger/shoebill/internal/utils/helmhelper"
"github.com/sirupsen/logrus"
)

View File

@ -4,9 +4,9 @@ import (
"fmt"
"testing"
"git.badhouseplants.net/allanger/giops/internal/config/release"
"git.badhouseplants.net/allanger/giops/internal/config/repository"
"git.badhouseplants.net/allanger/giops/internal/utils/helmhelper"
"git.badhouseplants.net/allanger/shoebill/internal/config/release"
"git.badhouseplants.net/allanger/shoebill/internal/config/repository"
"git.badhouseplants.net/allanger/shoebill/internal/utils/helmhelper"
"github.com/stretchr/testify/assert"
"gopkg.in/yaml.v2"
)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"testing"
"git.badhouseplants.net/allanger/giops/internal/config/repository"
"git.badhouseplants.net/allanger/shoebill/internal/config/repository"
"github.com/stretchr/testify/assert"
)

View File

@ -3,15 +3,15 @@ package controller
import (
"fmt"
"git.badhouseplants.net/allanger/giops/internal/config"
"git.badhouseplants.net/allanger/giops/internal/config/release"
"git.badhouseplants.net/allanger/giops/internal/lockfile"
"git.badhouseplants.net/allanger/giops/internal/providers"
"git.badhouseplants.net/allanger/giops/internal/utils/diff"
"git.badhouseplants.net/allanger/giops/internal/utils/githelper"
"git.badhouseplants.net/allanger/giops/internal/utils/helmhelper"
"git.badhouseplants.net/allanger/giops/internal/utils/kustomize"
"git.badhouseplants.net/allanger/giops/internal/utils/workdir"
"git.badhouseplants.net/allanger/shoebill/internal/config"
"git.badhouseplants.net/allanger/shoebill/internal/config/release"
"git.badhouseplants.net/allanger/shoebill/internal/lockfile"
"git.badhouseplants.net/allanger/shoebill/internal/providers"
"git.badhouseplants.net/allanger/shoebill/internal/utils/diff"
"git.badhouseplants.net/allanger/shoebill/internal/utils/githelper"
"git.badhouseplants.net/allanger/shoebill/internal/utils/helmhelper"
"git.badhouseplants.net/allanger/shoebill/internal/utils/kustomize"
"git.badhouseplants.net/allanger/shoebill/internal/utils/workdir"
)
func ReadTheConfig(path string) (*config.Config, error) {

View File

@ -4,12 +4,12 @@ import (
"fmt"
"os"
"git.badhouseplants.net/allanger/giops/internal/config/repository"
"git.badhouseplants.net/allanger/shoebill/internal/config/repository"
"github.com/sirupsen/logrus"
"gopkg.in/yaml.v2"
)
const LOCKFILE_NAME = "giops.lock.yaml"
const LOCKFILE_NAME = "shoebill.lock.yaml"
type LockEntry struct {
Chart string

View File

@ -4,10 +4,10 @@ import (
"fmt"
"os"
"git.badhouseplants.net/allanger/giops/internal/config/release"
"git.badhouseplants.net/allanger/giops/internal/config/repository"
"git.badhouseplants.net/allanger/giops/internal/utils/diff"
"git.badhouseplants.net/allanger/giops/internal/utils/githelper"
"git.badhouseplants.net/allanger/shoebill/internal/config/release"
"git.badhouseplants.net/allanger/shoebill/internal/config/repository"
"git.badhouseplants.net/allanger/shoebill/internal/utils/diff"
"git.badhouseplants.net/allanger/shoebill/internal/utils/githelper"
release_v2beta1 "github.com/fluxcd/helm-controller/api/v2beta1"
helmrepo_v1beta2 "github.com/fluxcd/source-controller/api/v1beta2"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"

View File

@ -3,8 +3,8 @@ package providers
import (
"fmt"
"git.badhouseplants.net/allanger/giops/internal/utils/diff"
"git.badhouseplants.net/allanger/giops/internal/utils/githelper"
"git.badhouseplants.net/allanger/shoebill/internal/utils/diff"
"git.badhouseplants.net/allanger/shoebill/internal/utils/githelper"
)
type Provider interface {

View File

@ -3,9 +3,9 @@ package diff
import (
"reflect"
"git.badhouseplants.net/allanger/giops/internal/config/release"
"git.badhouseplants.net/allanger/giops/internal/config/repository"
"git.badhouseplants.net/allanger/giops/internal/lockfile"
"git.badhouseplants.net/allanger/shoebill/internal/config/release"
"git.badhouseplants.net/allanger/shoebill/internal/config/repository"
"git.badhouseplants.net/allanger/shoebill/internal/lockfile"
"github.com/sirupsen/logrus"
)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"os"
"git.badhouseplants.net/allanger/giops/internal/config/repository"
"git.badhouseplants.net/allanger/shoebill/internal/config/repository"
"github.com/sirupsen/logrus"
"gopkg.in/yaml.v2"
"helm.sh/helm/v3/pkg/action"

View File

@ -1,6 +1,6 @@
package helmhelper
import "git.badhouseplants.net/allanger/giops/internal/config/repository"
import "git.badhouseplants.net/allanger/shoebill/internal/config/repository"
const MOCK_LATEST_VERSION = "v1.12.1"

View File

@ -1,6 +1,6 @@
package helmhelper
import "git.badhouseplants.net/allanger/giops/internal/config/repository"
import "git.badhouseplants.net/allanger/shoebill/internal/config/repository"
type Helmhelper interface {
FindLatestVersion(dir, chart string, repository repository.Repository) (string, error)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"os"
"git.badhouseplants.net/allanger/giops/internal/utils/githelper"
"git.badhouseplants.net/allanger/shoebill/internal/utils/githelper"
kustomize_types "sigs.k8s.io/kustomize/api/types"
"sigs.k8s.io/yaml"
)

View File

@ -14,7 +14,7 @@ func CreateWorkdir(path string) (workdir string, err error) {
} else {
// Create a temporary dir
// It should be removed after the execution
workdir, err = os.MkdirTemp("", "giops")
workdir, err = os.MkdirTemp("", "shoebill")
if err != nil {
return "", err
}