*: use vanity url

use agola.io domain
This commit is contained in:
Simone Gotti 2019-07-01 11:40:20 +02:00
parent 0c30839f5c
commit 8d67844cc4
148 changed files with 463 additions and 465 deletions

View File

@ -3,9 +3,7 @@ PROJDIR=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
# change to project dir so we can express all as relative paths
$(shell cd $(PROJDIR))
PROJ=agola
ORG_PATH=github.com/sorintlab
REPO_PATH=$(ORG_PATH)/$(PROJ)
REPO_PATH=agola.io/agola
VERSION ?= $(shell scripts/git-version.sh)

View File

@ -17,8 +17,8 @@ package cmd
import (
"net/url"
"github.com/sorintlab/agola/cmd"
slog "github.com/sorintlab/agola/internal/log"
"agola.io/agola/cmd"
slog "agola.io/agola/internal/log"
"github.com/spf13/cobra"
"go.uber.org/zap"

View File

@ -19,9 +19,9 @@ import (
"fmt"
"path"
gitsave "github.com/sorintlab/agola/internal/git-save"
"github.com/sorintlab/agola/internal/services/gateway/api"
"github.com/sorintlab/agola/internal/util"
gitsave "agola.io/agola/internal/git-save"
"agola.io/agola/internal/services/gateway/api"
"agola.io/agola/internal/util"
uuid "github.com/satori/go.uuid"
"github.com/spf13/cobra"

View File

@ -17,8 +17,8 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/types"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,8 +17,8 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/types"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -19,7 +19,7 @@ import (
"encoding/json"
"os"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,8 +17,8 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/types"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,8 +17,8 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/types"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -18,7 +18,7 @@ import (
"context"
"fmt"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
)

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -18,8 +18,8 @@ import (
"context"
"encoding/json"
"github.com/sorintlab/agola/internal/services/gateway/api"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/types"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -18,8 +18,8 @@ import (
"context"
"encoding/json"
"github.com/sorintlab/agola/internal/services/gateway/api"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/types"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,9 +17,9 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/gitsources/github"
"github.com/sorintlab/agola/internal/services/gateway/api"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/gitsources/github"
"agola.io/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/types"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -18,7 +18,7 @@ import (
"context"
"fmt"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
)

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -18,7 +18,7 @@ import (
"context"
"fmt"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
)

View File

@ -18,17 +18,17 @@ import (
"context"
"fmt"
"github.com/sorintlab/agola/cmd"
"github.com/sorintlab/agola/internal/services/config"
"github.com/sorintlab/agola/internal/services/configstore"
"github.com/sorintlab/agola/internal/services/executor"
rsexecutor "github.com/sorintlab/agola/internal/services/executor"
"github.com/sorintlab/agola/internal/services/gateway"
"github.com/sorintlab/agola/internal/services/gitserver"
"github.com/sorintlab/agola/internal/services/notification"
rsscheduler "github.com/sorintlab/agola/internal/services/runservice"
"github.com/sorintlab/agola/internal/services/scheduler"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/cmd"
"agola.io/agola/internal/services/config"
"agola.io/agola/internal/services/configstore"
"agola.io/agola/internal/services/executor"
rsexecutor "agola.io/agola/internal/services/executor"
"agola.io/agola/internal/services/gateway"
"agola.io/agola/internal/services/gitserver"
"agola.io/agola/internal/services/notification"
rsscheduler "agola.io/agola/internal/services/runservice"
"agola.io/agola/internal/services/scheduler"
"agola.io/agola/internal/util"
"github.com/spf13/cobra"
"go.etcd.io/etcd/embed"

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -18,7 +18,7 @@ import (
"context"
"fmt"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
)

View File

@ -18,7 +18,7 @@ import (
"context"
"fmt"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -17,7 +17,7 @@ package cmd
import (
"context"
"github.com/sorintlab/agola/internal/services/gateway/api"
"agola.io/agola/internal/services/gateway/api"
"github.com/spf13/cobra"
errors "golang.org/x/xerrors"

View File

@ -15,7 +15,7 @@
package main
import (
"github.com/sorintlab/agola/cmd/agola/cmd"
"agola.io/agola/cmd/agola/cmd"
)
func main() {

View File

@ -20,9 +20,9 @@ import (
"log"
"os"
"agola.io/agola/internal/toolbox/archive"
"agola.io/agola/internal/util"
"github.com/mitchellh/go-homedir"
"github.com/sorintlab/agola/internal/toolbox/archive"
"github.com/sorintlab/agola/internal/util"
"github.com/spf13/cobra"
)

View File

@ -15,7 +15,7 @@
package cmd
import (
"github.com/sorintlab/agola/cmd"
"agola.io/agola/cmd"
"github.com/spf13/cobra"
)

View File

@ -20,8 +20,8 @@ import (
"log"
"os"
"agola.io/agola/internal/toolbox/unarchive"
"github.com/mitchellh/go-homedir"
"github.com/sorintlab/agola/internal/toolbox/unarchive"
"github.com/spf13/cobra"
)

View File

@ -15,7 +15,7 @@
package main
import (
"github.com/sorintlab/agola/cmd/toolbox/cmd"
"agola.io/agola/cmd/toolbox/cmd"
)
func main() {

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/sorintlab/agola
module agola.io/agola
require (
code.gitea.io/gitea v1.9.0-dev.0.20190511102134-34eee25bd42d

View File

@ -21,11 +21,11 @@ import (
"os"
"path"
"github.com/sorintlab/agola/internal/etcd"
"github.com/sorintlab/agola/internal/objectstorage"
"github.com/sorintlab/agola/internal/objectstorage/posix"
"github.com/sorintlab/agola/internal/objectstorage/s3"
"github.com/sorintlab/agola/internal/services/config"
"agola.io/agola/internal/etcd"
"agola.io/agola/internal/objectstorage"
"agola.io/agola/internal/objectstorage/posix"
"agola.io/agola/internal/objectstorage/s3"
"agola.io/agola/internal/services/config"
"go.uber.org/zap"
errors "golang.org/x/xerrors"
)

View File

@ -20,9 +20,9 @@ import (
"regexp"
"strings"
"github.com/sorintlab/agola/internal/common"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/common"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
"github.com/ghodss/yaml"
"github.com/google/go-jsonnet"

View File

@ -18,8 +18,8 @@ import (
"fmt"
"testing"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
"github.com/google/go-cmp/cmp"
errors "golang.org/x/xerrors"

View File

@ -24,7 +24,7 @@ import (
"sync"
"time"
"github.com/sorintlab/agola/internal/etcd"
"agola.io/agola/internal/etcd"
etcdclientv3rpc "go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes"
"go.etcd.io/etcd/mvcc/mvccpb"

View File

@ -23,8 +23,8 @@ import (
"sort"
"strings"
ostypes "github.com/sorintlab/agola/internal/objectstorage/types"
"github.com/sorintlab/agola/internal/sequence"
ostypes "agola.io/agola/internal/objectstorage/types"
"agola.io/agola/internal/sequence"
uuid "github.com/satori/go.uuid"
errors "golang.org/x/xerrors"

View File

@ -20,8 +20,8 @@ import (
"strings"
"time"
"github.com/sorintlab/agola/internal/etcd"
"github.com/sorintlab/agola/internal/objectstorage"
"agola.io/agola/internal/etcd"
"agola.io/agola/internal/objectstorage"
"go.uber.org/zap"
errors "golang.org/x/xerrors"

View File

@ -26,11 +26,11 @@ import (
"testing"
"time"
slog "github.com/sorintlab/agola/internal/log"
"github.com/sorintlab/agola/internal/objectstorage"
"github.com/sorintlab/agola/internal/objectstorage/posix"
ostypes "github.com/sorintlab/agola/internal/objectstorage/types"
"github.com/sorintlab/agola/internal/testutil"
slog "agola.io/agola/internal/log"
"agola.io/agola/internal/objectstorage"
"agola.io/agola/internal/objectstorage/posix"
ostypes "agola.io/agola/internal/objectstorage/types"
"agola.io/agola/internal/testutil"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

View File

@ -26,9 +26,9 @@ import (
"strings"
"time"
"github.com/sorintlab/agola/internal/etcd"
ostypes "github.com/sorintlab/agola/internal/objectstorage/types"
"github.com/sorintlab/agola/internal/sequence"
"agola.io/agola/internal/etcd"
ostypes "agola.io/agola/internal/objectstorage/types"
"agola.io/agola/internal/sequence"
uuid "github.com/satori/go.uuid"
etcdclientv3 "go.etcd.io/etcd/clientv3"

View File

@ -22,7 +22,7 @@ import (
"strings"
"time"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/util"
"go.etcd.io/etcd/clientv3"
etcdclientv3 "go.etcd.io/etcd/clientv3"

View File

@ -24,7 +24,7 @@ import (
"regexp"
"strings"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/util"
"go.uber.org/zap"
errors "golang.org/x/xerrors"

View File

@ -20,8 +20,8 @@ import (
"os"
"path/filepath"
"agola.io/agola/internal/util"
uuid "github.com/satori/go.uuid"
"github.com/sorintlab/agola/internal/util"
"go.uber.org/zap"
errors "golang.org/x/xerrors"

View File

@ -26,8 +26,8 @@ import (
"strings"
"time"
gitsource "github.com/sorintlab/agola/internal/gitsources"
"github.com/sorintlab/agola/internal/services/types"
gitsource "agola.io/agola/internal/gitsources"
"agola.io/agola/internal/services/types"
errors "golang.org/x/xerrors"
)

View File

@ -28,7 +28,7 @@ import (
"strings"
"time"
gitsource "github.com/sorintlab/agola/internal/gitsources"
gitsource "agola.io/agola/internal/gitsources"
gtypes "code.gitea.io/gitea/modules/structs"
"code.gitea.io/sdk/gitea"

View File

@ -27,7 +27,7 @@ import (
"strconv"
"strings"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/types"
errors "golang.org/x/xerrors"
)

View File

@ -28,7 +28,7 @@ import (
"strings"
"time"
gitsource "github.com/sorintlab/agola/internal/gitsources"
gitsource "agola.io/agola/internal/gitsources"
"github.com/google/go-github/v25/github"
"golang.org/x/oauth2"

View File

@ -21,9 +21,9 @@ import (
"strconv"
"strings"
"github.com/google/go-github/v25/github"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/types"
"github.com/google/go-github/v25/github"
errors "golang.org/x/xerrors"
)

View File

@ -26,7 +26,7 @@ import (
"strings"
"time"
gitsource "github.com/sorintlab/agola/internal/gitsources"
gitsource "agola.io/agola/internal/gitsources"
gitlab "github.com/xanzy/go-gitlab"
"golang.org/x/oauth2"

View File

@ -23,7 +23,7 @@ import (
"strconv"
"strings"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/types"
errors "golang.org/x/xerrors"
)

View File

@ -18,7 +18,7 @@ import (
"errors"
"net/http"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/types"
"golang.org/x/oauth2"
)

View File

@ -17,7 +17,7 @@ package objectstorage
import (
"io"
"github.com/sorintlab/agola/internal/objectstorage/types"
"agola.io/agola/internal/objectstorage/types"
)
type Storage interface {

View File

@ -24,9 +24,9 @@ import (
"strings"
"testing"
"github.com/sorintlab/agola/internal/objectstorage/posix"
"github.com/sorintlab/agola/internal/objectstorage/posixflat"
"github.com/sorintlab/agola/internal/objectstorage/s3"
"agola.io/agola/internal/objectstorage/posix"
"agola.io/agola/internal/objectstorage/posixflat"
"agola.io/agola/internal/objectstorage/s3"
)
func TestList(t *testing.T) {

View File

@ -21,8 +21,8 @@ import (
"path/filepath"
"strings"
"github.com/sorintlab/agola/internal/objectstorage/common"
"github.com/sorintlab/agola/internal/objectstorage/types"
"agola.io/agola/internal/objectstorage/common"
"agola.io/agola/internal/objectstorage/types"
errors "golang.org/x/xerrors"
)

View File

@ -23,8 +23,8 @@ import (
"strings"
"unicode/utf8"
"github.com/sorintlab/agola/internal/objectstorage/common"
"github.com/sorintlab/agola/internal/objectstorage/types"
"agola.io/agola/internal/objectstorage/common"
"agola.io/agola/internal/objectstorage/types"
errors "golang.org/x/xerrors"
)

View File

@ -21,7 +21,7 @@ import (
"os"
"strings"
"github.com/sorintlab/agola/internal/objectstorage/types"
"agola.io/agola/internal/objectstorage/types"
minio "github.com/minio/minio-go"
errors "golang.org/x/xerrors"

View File

@ -18,10 +18,10 @@ import (
"fmt"
"strings"
"github.com/sorintlab/agola/internal/config"
rstypes "github.com/sorintlab/agola/internal/services/runservice/types"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/config"
rstypes "agola.io/agola/internal/services/runservice/types"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
errors "golang.org/x/xerrors"
)

View File

@ -19,10 +19,10 @@ import (
"reflect"
"testing"
"github.com/sorintlab/agola/internal/config"
rstypes "github.com/sorintlab/agola/internal/services/runservice/types"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/config"
rstypes "agola.io/agola/internal/services/runservice/types"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
"github.com/google/go-cmp/cmp"
errors "golang.org/x/xerrors"

View File

@ -23,7 +23,7 @@ import (
"strings"
"time"
"github.com/sorintlab/agola/internal/etcd"
"agola.io/agola/internal/etcd"
errors "golang.org/x/xerrors"
)

View File

@ -15,11 +15,11 @@
package common
import (
gitsource "github.com/sorintlab/agola/internal/gitsources"
"github.com/sorintlab/agola/internal/gitsources/gitea"
"github.com/sorintlab/agola/internal/gitsources/github"
"github.com/sorintlab/agola/internal/gitsources/gitlab"
"github.com/sorintlab/agola/internal/services/types"
gitsource "agola.io/agola/internal/gitsources"
"agola.io/agola/internal/gitsources/gitea"
"agola.io/agola/internal/gitsources/github"
"agola.io/agola/internal/gitsources/gitlab"
"agola.io/agola/internal/services/types"
errors "golang.org/x/xerrors"
)

View File

@ -19,8 +19,8 @@ import (
"net/url"
"path"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
errors "golang.org/x/xerrors"
)

View File

@ -15,9 +15,9 @@
package common
import (
csapi "github.com/sorintlab/agola/internal/services/configstore/api"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
csapi "agola.io/agola/internal/services/configstore/api"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
)
func FilterOverriddenVariables(variables []*csapi.Variable) []*csapi.Variable {

View File

@ -17,9 +17,9 @@ package common
import (
"testing"
csapi "agola.io/agola/internal/services/configstore/api"
"agola.io/agola/internal/services/types"
"github.com/google/go-cmp/cmp"
csapi "github.com/sorintlab/agola/internal/services/configstore/api"
"github.com/sorintlab/agola/internal/services/types"
)
func TestFilterOverriddenVariables(t *testing.T) {

View File

@ -18,7 +18,7 @@ import (
"io/ioutil"
"time"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/util"
errors "golang.org/x/xerrors"
yaml "gopkg.in/yaml.v2"
)

View File

@ -15,8 +15,8 @@
package action
import (
"github.com/sorintlab/agola/internal/datamanager"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/datamanager"
"agola.io/agola/internal/services/configstore/readdb"
"go.uber.org/zap"
)

View File

@ -20,11 +20,11 @@ import (
"fmt"
"time"
"github.com/sorintlab/agola/internal/datamanager"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/datamanager"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
uuid "github.com/satori/go.uuid"
errors "golang.org/x/xerrors"

View File

@ -19,10 +19,10 @@ import (
"encoding/json"
"path"
"github.com/sorintlab/agola/internal/datamanager"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/datamanager"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
uuid "github.com/satori/go.uuid"
errors "golang.org/x/xerrors"

View File

@ -19,10 +19,10 @@ import (
"encoding/json"
"path"
"github.com/sorintlab/agola/internal/datamanager"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/datamanager"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
uuid "github.com/satori/go.uuid"
errors "golang.org/x/xerrors"

View File

@ -18,10 +18,10 @@ import (
"context"
"encoding/json"
"github.com/sorintlab/agola/internal/datamanager"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/datamanager"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
uuid "github.com/satori/go.uuid"
errors "golang.org/x/xerrors"

View File

@ -18,10 +18,10 @@ import (
"context"
"encoding/json"
"github.com/sorintlab/agola/internal/datamanager"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/datamanager"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
uuid "github.com/satori/go.uuid"
errors "golang.org/x/xerrors"

View File

@ -19,11 +19,11 @@ import (
"encoding/json"
"time"
"github.com/sorintlab/agola/internal/datamanager"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/datamanager"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
uuid "github.com/satori/go.uuid"
errors "golang.org/x/xerrors"

View File

@ -18,10 +18,10 @@ import (
"context"
"encoding/json"
"github.com/sorintlab/agola/internal/datamanager"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/datamanager"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
uuid "github.com/satori/go.uuid"
errors "golang.org/x/xerrors"

View File

@ -19,9 +19,9 @@ import (
"net/http"
"net/url"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
"github.com/gorilla/mux"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
errors "golang.org/x/xerrors"
)

View File

@ -26,7 +26,7 @@ import (
"strconv"
"strings"
"github.com/sorintlab/agola/internal/services/types"
"agola.io/agola/internal/services/types"
errors "golang.org/x/xerrors"
)

View File

@ -19,11 +19,11 @@ import (
"net/http"
"strconv"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/action"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/action"
"agola.io/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
errors "golang.org/x/xerrors"
"github.com/gorilla/mux"

View File

@ -20,11 +20,11 @@ import (
"net/url"
"path"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/action"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/action"
"agola.io/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
errors "golang.org/x/xerrors"
"github.com/gorilla/mux"

View File

@ -20,11 +20,11 @@ import (
"net/url"
"path"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/action"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/action"
"agola.io/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
errors "golang.org/x/xerrors"
"github.com/gorilla/mux"

View File

@ -19,11 +19,11 @@ import (
"net/http"
"strconv"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/action"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/action"
"agola.io/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
errors "golang.org/x/xerrors"
"github.com/gorilla/mux"

View File

@ -18,11 +18,11 @@ import (
"encoding/json"
"net/http"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/action"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/action"
"agola.io/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
"github.com/gorilla/mux"
"go.uber.org/zap"

View File

@ -20,11 +20,11 @@ import (
"strconv"
"time"
"github.com/sorintlab/agola/internal/db"
action "github.com/sorintlab/agola/internal/services/configstore/action"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
action "agola.io/agola/internal/services/configstore/action"
"agola.io/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
errors "golang.org/x/xerrors"
"github.com/gorilla/mux"

View File

@ -18,11 +18,11 @@ import (
"encoding/json"
"net/http"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/action"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/action"
"agola.io/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
"github.com/gorilla/mux"
"go.uber.org/zap"

View File

@ -20,17 +20,17 @@ import (
"net/http"
"path/filepath"
scommon "github.com/sorintlab/agola/internal/common"
"github.com/sorintlab/agola/internal/datamanager"
"github.com/sorintlab/agola/internal/etcd"
slog "github.com/sorintlab/agola/internal/log"
"github.com/sorintlab/agola/internal/objectstorage"
"github.com/sorintlab/agola/internal/services/config"
action "github.com/sorintlab/agola/internal/services/configstore/action"
"github.com/sorintlab/agola/internal/services/configstore/api"
"github.com/sorintlab/agola/internal/services/configstore/readdb"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
scommon "agola.io/agola/internal/common"
"agola.io/agola/internal/datamanager"
"agola.io/agola/internal/etcd"
slog "agola.io/agola/internal/log"
"agola.io/agola/internal/objectstorage"
"agola.io/agola/internal/services/config"
action "agola.io/agola/internal/services/configstore/action"
"agola.io/agola/internal/services/configstore/api"
"agola.io/agola/internal/services/configstore/readdb"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
ghandlers "github.com/gorilla/handlers"
"github.com/gorilla/mux"

View File

@ -26,13 +26,13 @@ import (
"testing"
"time"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/config"
action "agola.io/agola/internal/services/configstore/action"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/testutil"
"agola.io/agola/internal/util"
"github.com/google/go-cmp/cmp"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/config"
action "github.com/sorintlab/agola/internal/services/configstore/action"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/testutil"
"github.com/sorintlab/agola/internal/util"
)
func setupEtcd(t *testing.T, dir string) *testutil.TestEmbeddedEtcd {

View File

@ -18,10 +18,10 @@ import (
"database/sql"
"encoding/json"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/common"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/common"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
sq "github.com/Masterminds/squirrel"
errors "golang.org/x/xerrors"

View File

@ -20,10 +20,10 @@ import (
"path"
"strings"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/common"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/common"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
sq "github.com/Masterminds/squirrel"
errors "golang.org/x/xerrors"

View File

@ -20,10 +20,10 @@ import (
"path"
"strings"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/common"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/common"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
sq "github.com/Masterminds/squirrel"
errors "golang.org/x/xerrors"

View File

@ -24,14 +24,14 @@ import (
"sync"
"time"
"github.com/sorintlab/agola/internal/datamanager"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/etcd"
"github.com/sorintlab/agola/internal/objectstorage"
ostypes "github.com/sorintlab/agola/internal/objectstorage/types"
"github.com/sorintlab/agola/internal/sequence"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/datamanager"
"agola.io/agola/internal/db"
"agola.io/agola/internal/etcd"
"agola.io/agola/internal/objectstorage"
ostypes "agola.io/agola/internal/objectstorage/types"
"agola.io/agola/internal/sequence"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
sq "github.com/Masterminds/squirrel"
"go.uber.org/zap"

View File

@ -18,10 +18,10 @@ import (
"database/sql"
"encoding/json"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/common"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/common"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
sq "github.com/Masterminds/squirrel"
errors "golang.org/x/xerrors"

View File

@ -17,9 +17,9 @@ package readdb
import (
"path"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
errors "golang.org/x/xerrors"
)

View File

@ -18,9 +18,9 @@ import (
"database/sql"
"encoding/json"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
sq "github.com/Masterminds/squirrel"
errors "golang.org/x/xerrors"

View File

@ -18,10 +18,10 @@ import (
"database/sql"
"encoding/json"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/configstore/common"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/configstore/common"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
sq "github.com/Masterminds/squirrel"
errors "golang.org/x/xerrors"

View File

@ -18,9 +18,9 @@ import (
"database/sql"
"encoding/json"
"github.com/sorintlab/agola/internal/db"
"github.com/sorintlab/agola/internal/services/types"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/db"
"agola.io/agola/internal/services/types"
"agola.io/agola/internal/util"
sq "github.com/Masterminds/squirrel"
errors "golang.org/x/xerrors"

View File

@ -23,7 +23,7 @@ import (
"strconv"
"time"
"github.com/sorintlab/agola/internal/services/runservice/types"
"agola.io/agola/internal/services/runservice/types"
"go.uber.org/zap"
errors "golang.org/x/xerrors"
)

View File

@ -28,8 +28,8 @@ import (
"strings"
"time"
"github.com/sorintlab/agola/internal/common"
"github.com/sorintlab/agola/internal/services/executor/registry"
"agola.io/agola/internal/common"
"agola.io/agola/internal/services/executor/registry"
errors "golang.org/x/xerrors"
"github.com/docker/docker/api/types"

View File

@ -27,9 +27,9 @@ import (
"time"
"unicode"
slog "agola.io/agola/internal/log"
"github.com/docker/docker/api/types"
uuid "github.com/satori/go.uuid"
slog "github.com/sorintlab/agola/internal/log"
"github.com/google/go-cmp/cmp"
"go.uber.org/zap"

View File

@ -21,8 +21,8 @@ import (
"os"
"path/filepath"
"github.com/sorintlab/agola/internal/common"
"github.com/sorintlab/agola/internal/services/executor/registry"
"agola.io/agola/internal/common"
"agola.io/agola/internal/services/executor/registry"
)
const (

View File

@ -24,12 +24,12 @@ import (
"strings"
"time"
"github.com/sorintlab/agola/internal/util"
"agola.io/agola/internal/common"
"agola.io/agola/internal/util"
"github.com/docker/docker/client"
"github.com/docker/docker/pkg/archive"
uuid "github.com/satori/go.uuid"
"github.com/sorintlab/agola/internal/common"
"go.uber.org/zap"
errors "golang.org/x/xerrors"
corev1 "k8s.io/api/core/v1"

Some files were not shown because too many files have changed in this diff Show More