Skip to content

Commit

Permalink
Merge pull request weaviate#2546 from weaviate/change-github-org-to-w…
Browse files Browse the repository at this point in the history
…eaviate

change go imports to new org name
  • Loading branch information
etiennedi authored Jan 18, 2023
2 parents 68f224f + 2310281 commit abf30ea
Show file tree
Hide file tree
Showing 1,614 changed files with 5,966 additions and 5,965 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@

# vi: ft=dockerfile


###############################################################################
# Base build image
FROM golang:1.19-alpine AS build_base
RUN apk add bash ca-certificates git gcc g++ libc-dev
WORKDIR /go/src/github.com/semi-technologies/weaviate
WORKDIR /go/src/github.com/weaviate/weaviate
ENV GO111MODULE=on
# Populate the module cache based on the go.{mod,sum} files.
COPY go.mod .
Expand All @@ -22,7 +23,7 @@ ARG GITHASH="unknown"
ARG EXTRA_BUILD_ARGS=""
COPY . .
RUN GOOS=linux GOARCH=$TARGETARCH go build $EXTRA_BUILD_ARGS \
-ldflags '-w -extldflags "-static" -X github.com/semi-technologies/weaviate/usecases/config.GitHash='"$GITHASH"'' \
-ldflags '-w -extldflags "-static" -X github.com/weaviate/weaviate/usecases/config.GitHash='"$GITHASH"'' \
-o /weaviate-server ./cmd/weaviate-server

###############################################################################
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2020-2022, SeMI Technologies B.V.
Copyright (c) 2020-2023, Weaviate B.V.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions adapters/clients/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package clients
Expand Down
6 changes: 3 additions & 3 deletions adapters/clients/cluster_backups.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package clients
Expand All @@ -20,7 +20,7 @@ import (
"net/http"
"net/url"

"github.com/semi-technologies/weaviate/usecases/backup"
"github.com/weaviate/weaviate/usecases/backup"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions adapters/clients/cluster_classifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package clients
Expand All @@ -20,7 +20,7 @@ import (
"net/url"

"github.com/pkg/errors"
"github.com/semi-technologies/weaviate/usecases/cluster"
"github.com/weaviate/weaviate/usecases/cluster"
)

type ClusterClassifications struct {
Expand Down
8 changes: 4 additions & 4 deletions adapters/clients/cluster_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package clients
Expand All @@ -18,8 +18,8 @@ import (
"net/http"
"net/url"

enterrors "github.com/semi-technologies/weaviate/entities/errors"
"github.com/semi-technologies/weaviate/entities/models"
enterrors "github.com/weaviate/weaviate/entities/errors"
"github.com/weaviate/weaviate/entities/models"
)

type RemoteNode struct {
Expand Down
6 changes: 3 additions & 3 deletions adapters/clients/cluster_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package clients
Expand All @@ -20,7 +20,7 @@ import (
"net/http"
"net/url"

"github.com/semi-technologies/weaviate/usecases/cluster"
"github.com/weaviate/weaviate/usecases/cluster"
)

type ClusterSchema struct {
Expand Down
6 changes: 3 additions & 3 deletions adapters/clients/cluster_schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package clients
Expand All @@ -21,9 +21,9 @@ import (
"testing"
"time"

"github.com/semi-technologies/weaviate/usecases/cluster"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/weaviate/weaviate/usecases/cluster"
)

func TestOpenTransactionNoReturnPayload(t *testing.T) {
Expand Down
22 changes: 11 additions & 11 deletions adapters/clients/remote_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package clients
Expand All @@ -23,15 +23,15 @@ import (

"github.com/go-openapi/strfmt"
"github.com/pkg/errors"
"github.com/semi-technologies/weaviate/adapters/handlers/rest/clusterapi"
"github.com/semi-technologies/weaviate/entities/additional"
"github.com/semi-technologies/weaviate/entities/aggregation"
"github.com/semi-technologies/weaviate/entities/filters"
"github.com/semi-technologies/weaviate/entities/search"
"github.com/semi-technologies/weaviate/entities/searchparams"
"github.com/semi-technologies/weaviate/entities/storobj"
"github.com/semi-technologies/weaviate/usecases/objects"
"github.com/semi-technologies/weaviate/usecases/scaler"
"github.com/weaviate/weaviate/adapters/handlers/rest/clusterapi"
"github.com/weaviate/weaviate/entities/additional"
"github.com/weaviate/weaviate/entities/aggregation"
"github.com/weaviate/weaviate/entities/filters"
"github.com/weaviate/weaviate/entities/search"
"github.com/weaviate/weaviate/entities/searchparams"
"github.com/weaviate/weaviate/entities/storobj"
"github.com/weaviate/weaviate/usecases/objects"
"github.com/weaviate/weaviate/usecases/scaler"
)

type RemoteIndex retryClient
Expand Down
12 changes: 6 additions & 6 deletions adapters/clients/remote_index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

// _ _
Expand All @@ -32,11 +32,11 @@ import (
"testing"
"time"

"github.com/semi-technologies/weaviate/adapters/handlers/rest/clusterapi"
"github.com/semi-technologies/weaviate/entities/additional"
"github.com/semi-technologies/weaviate/entities/search"
"github.com/semi-technologies/weaviate/entities/storobj"
"github.com/stretchr/testify/assert"
"github.com/weaviate/weaviate/adapters/handlers/rest/clusterapi"
"github.com/weaviate/weaviate/entities/additional"
"github.com/weaviate/weaviate/entities/search"
"github.com/weaviate/weaviate/entities/storobj"
)

func TestRemoteIndexGetObject(t *testing.T) {
Expand Down
12 changes: 6 additions & 6 deletions adapters/clients/replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package clients
Expand All @@ -23,10 +23,10 @@ import (
"time"

"github.com/go-openapi/strfmt"
"github.com/semi-technologies/weaviate/adapters/handlers/rest/clusterapi"
"github.com/semi-technologies/weaviate/entities/storobj"
"github.com/semi-technologies/weaviate/usecases/objects"
"github.com/semi-technologies/weaviate/usecases/replica"
"github.com/weaviate/weaviate/adapters/handlers/rest/clusterapi"
"github.com/weaviate/weaviate/entities/storobj"
"github.com/weaviate/weaviate/usecases/objects"
"github.com/weaviate/weaviate/usecases/replica"
)

// ReplicationClient is to coordinate operations among replicas
Expand Down
12 changes: 6 additions & 6 deletions adapters/clients/replication_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package clients
Expand All @@ -20,11 +20,11 @@ import (
"time"

"github.com/go-openapi/strfmt"
"github.com/semi-technologies/weaviate/entities/models"
"github.com/semi-technologies/weaviate/entities/storobj"
"github.com/semi-technologies/weaviate/usecases/objects"
"github.com/semi-technologies/weaviate/usecases/replica"
"github.com/stretchr/testify/assert"
"github.com/weaviate/weaviate/entities/models"
"github.com/weaviate/weaviate/entities/storobj"
"github.com/weaviate/weaviate/usecases/objects"
"github.com/weaviate/weaviate/usecases/replica"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions adapters/handlers/graphql/common/fetch/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package fetch

import (
"fmt"

"github.com/semi-technologies/weaviate/adapters/handlers/graphql/descriptions"
"github.com/semi-technologies/weaviate/adapters/handlers/graphql/local/common_filters"
"github.com/tailor-inc/graphql"
"github.com/weaviate/weaviate/adapters/handlers/graphql/descriptions"
"github.com/weaviate/weaviate/adapters/handlers/graphql/local/common_filters"
)

// FilterBuilder can build where filters for both local and
Expand Down
6 changes: 3 additions & 3 deletions adapters/handlers/graphql/common/json_number.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package common
Expand All @@ -15,8 +15,8 @@ import (
"encoding/json"
"fmt"

"github.com/semi-technologies/weaviate/entities/aggregation"
"github.com/tailor-inc/graphql"
"github.com/weaviate/weaviate/entities/aggregation"
)

// JSONNumberResolver turns json.Number types into number types usable by graphQL
Expand Down
6 changes: 3 additions & 3 deletions adapters/handlers/graphql/common/json_number_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

package common
Expand Down Expand Up @@ -67,7 +67,7 @@ func resolveParams(input interface{}) graphql.ResolveParams {
func TestNumberFieldNotPresent(t *testing.T) {
// shouldn't return anything, but also not error. This can otherwise lead to
// odd behavior when no entries are present, yet we asked for int props and
// type, see https://github.com/semi-technologies/weaviate/issues/775
// type, see https://github.com/weaviate/weaviate/issues/775
params := graphql.ResolveParams{
Source: map[string]interface{}{},
Info: graphql.ResolveInfo{FieldName: "myField"},
Expand Down
4 changes: 2 additions & 2 deletions adapters/handlers/graphql/descriptions/aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

// Package descriptions provides the descriptions as used by the graphql endpoint for Weaviate
Expand Down
4 changes: 2 additions & 2 deletions adapters/handlers/graphql/descriptions/explore.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

// Package descriptions provides the descriptions as used by the graphql endpoint for Weaviate
Expand Down
4 changes: 2 additions & 2 deletions adapters/handlers/graphql/descriptions/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

// Package descriptions provides the descriptions as used by the graphql endpoint for Weaviate
Expand Down
4 changes: 2 additions & 2 deletions adapters/handlers/graphql/descriptions/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

// Package descriptions provides the descriptions as used by the graphql endpoint for Weaviate
Expand Down
4 changes: 2 additions & 2 deletions adapters/handlers/graphql/descriptions/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// \ V V / __/ (_| |\ V /| | (_| | || __/
// \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
//
// Copyright © 2016 - 2022 SeMI Technologies B.V. All rights reserved.
// Copyright © 2016 - 2023 Weaviate B.V. All rights reserved.
//
// CONTACT: hello@semi.technology
// CONTACT: hello@weaviate.io
//

// Package descriptions provides the descriptions as used by the graphql endpoint for Weaviate
Expand Down
Loading

0 comments on commit abf30ea

Please sign in to comment.