Adjust import names to new repository organisation

pull/5805/head
Fabian Reinartz 2017-04-04 11:27:26 +02:00
parent 767b88a3a5
commit 10c7c9acbe
13 changed files with 17 additions and 18 deletions

View File

@ -10,8 +10,8 @@ import (
"os" "os"
"github.com/coreos/etcd/pkg/fileutil" "github.com/coreos/etcd/pkg/fileutil"
"github.com/fabxc/tsdb/chunks"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/prometheus/tsdb/chunks"
) )
const ( const (

View File

@ -1,6 +1,6 @@
package tsdb package tsdb
import "github.com/fabxc/tsdb/chunks" import "github.com/prometheus/tsdb/chunks"
type mockChunkReader struct { type mockChunkReader struct {
chunk func(ref uint64) (chunks.Chunk, error) chunk func(ref uint64) (chunks.Chunk, error)

View File

@ -15,10 +15,10 @@ import (
"time" "time"
"unsafe" "unsafe"
"github.com/fabxc/tsdb"
"github.com/fabxc/tsdb/labels"
promlabels "github.com/prometheus/prometheus/pkg/labels" promlabels "github.com/prometheus/prometheus/pkg/labels"
"github.com/prometheus/prometheus/pkg/textparse" "github.com/prometheus/prometheus/pkg/textparse"
"github.com/prometheus/tsdb"
"github.com/prometheus/tsdb/labels"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -8,11 +8,11 @@ import (
"time" "time"
"github.com/coreos/etcd/pkg/fileutil" "github.com/coreos/etcd/pkg/fileutil"
"github.com/fabxc/tsdb/labels"
"github.com/go-kit/kit/log" "github.com/go-kit/kit/log"
"github.com/oklog/ulid" "github.com/oklog/ulid"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/tsdb/labels"
) )
// Compactor provides compaction against an underlying storage // Compactor provides compaction against an underlying storage

2
db.go
View File

@ -18,11 +18,11 @@ import (
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"
"github.com/coreos/etcd/pkg/fileutil" "github.com/coreos/etcd/pkg/fileutil"
"github.com/fabxc/tsdb/labels"
"github.com/go-kit/kit/log" "github.com/go-kit/kit/log"
"github.com/nightlyone/lockfile" "github.com/nightlyone/lockfile"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/tsdb/labels"
) )
// DefaultOptions used for the DB. They are sane for setups using // DefaultOptions used for the DB. They are sane for setups using

View File

@ -10,11 +10,11 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/fabxc/tsdb/chunks"
"github.com/fabxc/tsdb/labels"
"github.com/go-kit/kit/log" "github.com/go-kit/kit/log"
"github.com/oklog/ulid" "github.com/oklog/ulid"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/prometheus/tsdb/chunks"
"github.com/prometheus/tsdb/labels"
) )
var ( var (

View File

@ -6,8 +6,8 @@ import (
"testing" "testing"
"unsafe" "unsafe"
"github.com/fabxc/tsdb/labels"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/prometheus/tsdb/labels"
promlabels "github.com/prometheus/prometheus/pkg/labels" promlabels "github.com/prometheus/prometheus/pkg/labels"
"github.com/prometheus/prometheus/pkg/textparse" "github.com/prometheus/prometheus/pkg/textparse"

View File

@ -13,8 +13,8 @@ import (
"strings" "strings"
"github.com/coreos/etcd/pkg/fileutil" "github.com/coreos/etcd/pkg/fileutil"
"github.com/fabxc/tsdb/labels"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/prometheus/tsdb/labels"
) )
const ( const (

View File

@ -8,8 +8,8 @@ import (
"sort" "sort"
"testing" "testing"
"github.com/fabxc/tsdb/labels"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/prometheus/tsdb/labels"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

View File

@ -5,8 +5,8 @@ import (
"sort" "sort"
"strings" "strings"
"github.com/fabxc/tsdb/chunks" "github.com/prometheus/tsdb/chunks"
"github.com/fabxc/tsdb/labels" "github.com/prometheus/tsdb/labels"
) )
// Querier provides querying access over time series data of a fixed // Querier provides querying access over time series data of a fixed

View File

@ -4,7 +4,7 @@ import (
"sort" "sort"
"testing" "testing"
"github.com/fabxc/tsdb/labels" "github.com/prometheus/tsdb/labels"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )

2
wal.go
View File

@ -13,9 +13,9 @@ import (
"time" "time"
"github.com/coreos/etcd/pkg/fileutil" "github.com/coreos/etcd/pkg/fileutil"
"github.com/fabxc/tsdb/labels"
"github.com/go-kit/kit/log" "github.com/go-kit/kit/log"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/prometheus/tsdb/labels"
) )
// WALEntryType indicates what data a WAL entry contains. // WALEntryType indicates what data a WAL entry contains.

View File

@ -8,10 +8,9 @@ import (
"os" "os"
"testing" "testing"
"github.com/fabxc/tsdb/labels"
"github.com/go-kit/kit/log"
"github.com/coreos/etcd/pkg/fileutil" "github.com/coreos/etcd/pkg/fileutil"
"github.com/go-kit/kit/log"
"github.com/prometheus/tsdb/labels"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )