Skip to content

Commit 5fe3679

Browse files
committed
remove enterprise related terminology
1 parent b307fad commit 5fe3679

34 files changed

Lines changed: 32 additions & 522 deletions

File tree

.github/labeler.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,13 @@ area/testing/jepsen:
3232
- changed-files:
3333
- any-glob-to-any-file: contrib/jepsen/**
3434

35-
area/enterprise:
35+
area/backup:
3636
- changed-files:
37-
- any-glob-to-any-file: ee/**
37+
- any-glob-to-any-file: backup/**
3838

39-
area/enterprise/backup:
39+
area/acl:
4040
- changed-files:
41-
- any-glob-to-any-file: ee/backup/**
42-
43-
area/enterprise/acl:
44-
- changed-files:
45-
- any-glob-to-any-file: ee/acl/**
41+
- any-glob-to-any-file: acl/**
4642

4743
area/schema:
4844
- changed-files:

LICENSE.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
File renamed without changes.

dgraph/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ BUILD_FLAGS ?= -ldflags '-X ${lastCommitSHA}=${BUILD} -X "${lastCommitTime}=${
3737
# Insert build tags if specified
3838
ifneq ($(strip $(BUILD_TAGS)),)
3939
BUILD_FLAGS += -tags '$(BUILD_TAGS)'
40-
ifneq (,$(findstring oss,$(BUILD_TAGS)))
41-
BUILD_VERSION := $(BUILD_VERSION)-oss
42-
endif
4340
endif
4441

4542
# Build with compiler optimizations disabled, which will help debugging with dlv.

dgraph/cmd/alpha/http.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ func loginHandler(w http.ResponseWriter, r *http.Request) {
159159
jwt := &api.Jwt{}
160160
if err := proto.Unmarshal(resp.Json, jwt); err != nil {
161161
x.SetStatusWithData(w, x.Error, err.Error())
162+
return
162163
}
163164

164165
response := map[string]interface{}{}

dgraph/cmd/alpha/run.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,6 @@ func setupServer(closer *z.Closer) {
605605
// Therefore we wait for the cluster initialization to be done.
606606
for {
607607
if x.HealthCheck() == nil {
608-
// Audit is enterprise feature.
609608
x.Check(audit.InitAuditorIfNecessary(worker.Config.Audit))
610609
break
611610
}

dgraph/cmd/bulk/loader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ type options struct {
7171
shardOutputDirs []string
7272

7373
// ........... Badger options ..........
74-
// EncryptionKey is the key used for encryption. Enterprise only feature.
74+
// EncryptionKey is the key used for encryption.
7575
EncryptionKey x.Sensitive
7676
// Badger options.
7777
Badger badger.Options

dgraph/cmd/zero/run.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import (
3030
"github.com/dgraph-io/ristretto/v2/z"
3131
"github.com/hypermodeinc/dgraph/v24/conn"
3232
"github.com/hypermodeinc/dgraph/v24/ee/audit"
33-
"github.com/hypermodeinc/dgraph/v24/ee/enc"
3433
"github.com/hypermodeinc/dgraph/v24/protos/pb"
3534
"github.com/hypermodeinc/dgraph/v24/raftwal"
3635
"github.com/hypermodeinc/dgraph/v24/worker"
@@ -87,7 +86,7 @@ instances to achieve high-availability.
8786
flag.String("peer", "", "Address of another dgraphzero server.")
8887
flag.StringP("wal", "w", "zw", "Directory storing WAL.")
8988
flag.Duration("rebalance_interval", 8*time.Minute, "Interval for trying a predicate move.")
90-
flag.String("enterprise_license", "", "Path to the enterprise license file.")
89+
flag.String("enterprise_license", "", "(deprecated) Path to the enterprise license file.")
9190
flag.String("cid", "", "Cluster ID")
9291

9392
flag.String("limit", worker.ZeroLimitsDefaults, z.NewSuperFlagHelp(worker.ZeroLimitsDefaults).
@@ -236,10 +235,6 @@ func run() {
236235
glog.Infof("Setting Config to: %+v", opts)
237236
x.WorkerConfig.Parse(Zero.Conf)
238237

239-
if !enc.EeBuild && Zero.Conf.GetString("enterprise_license") != "" {
240-
log.Fatalf("ERROR: enterprise_license option cannot be applied to OSS builds. ")
241-
}
242-
243238
if opts.numReplicas < 0 || opts.numReplicas%2 == 0 {
244239
log.Fatalf("ERROR: Number of replicas must be odd for consensus. Found: %d",
245240
opts.numReplicas)
File renamed without changes.

dql/dql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: Hypermode Inc. <[email protected]>
2+
* SPDX-FileCopyrightText: © Hypermode Inc. <[email protected]>
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

0 commit comments

Comments
 (0)