*: 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 # change to project dir so we can express all as relative paths
$(shell cd $(PROJDIR)) $(shell cd $(PROJDIR))
PROJ=agola REPO_PATH=agola.io/agola
ORG_PATH=github.com/sorintlab
REPO_PATH=$(ORG_PATH)/$(PROJ)
VERSION ?= $(shell scripts/git-version.sh) VERSION ?= $(shell scripts/git-version.sh)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

2
go.mod
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -26,13 +26,13 @@ import (
"testing" "testing"
"time" "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/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 { func setupEtcd(t *testing.T, dir string) *testutil.TestEmbeddedEtcd {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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