Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change github.com/brimdata/zed to github.com/brimdata/super #5344

Merged
merged 11 commits into from
Oct 16, 2024
Merged
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ builds:
env:
- CGO_ENABLED=0
ldflags:
- -s -X github.com/brimdata/zed/cli.version={{ .Tag }}
- -s -X github.com/brimdata/super/cli.version={{ .Tag }}
goarch:
- amd64
- arm64
Expand All @@ -19,7 +19,7 @@ builds:
env:
- CGO_ENABLED=0
ldflags:
- -s -X github.com/brimdata/zed/cli.version={{ .Tag }}
- -s -X github.com/brimdata/super/cli.version={{ .Tag }}
goarch:
- amd64
- arm64
Expand All @@ -46,7 +46,7 @@ brews:
commit_author:
name: brim-bot
email: [email protected]
homepage: https://github.com/brimdata/zed
homepage: https://github.com/brimdata/super
description: |
A command-line tool for creating, configuring, ingesting into, querying,
and orchestrating Zed data lakes.
Expand All @@ -59,7 +59,7 @@ brews:
commit_author:
name: brim-bot
email: [email protected]
homepage: https://github.com/brimdata/zed
homepage: https://github.com/brimdata/super
description: |
A command-line tool for processing data in diverse input formats,
providing search, analytics, and extensive transormations using the Zed
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Add docs for the [`top` operator](docs/language/operators/top.md) (#5276)
* Add [`fluentd` integration docs](docs/integrations/fluentd.md) (#5190, #5195)
* Add a [`strftime` function](docs/language/functions/strftime.md) to format `time` values into strings (#5197, #5204)
* Add a `DATESTAMP_ISO8601` [pattern](https://raw.githubusercontent.com/brimdata/zed/main/pkg/grok/base.go) for use with the [`grok` function](docs/language/functions/grok.md) (#5232)
* Add a `DATESTAMP_ISO8601` [pattern](https://raw.githubusercontent.com/brimdata/super/main/pkg/grok/base.go) for use with the [`grok` function](docs/language/functions/grok.md) (#5232)
* Fix an issue where CSV files without a final newline could not be read (#5185)
* Fix an issue where comparisons against union values produced incorrect results (#5210)
* Fix an issue where concurrent Zed lake operations could cause a service crash (#5279)
Expand Down Expand Up @@ -515,7 +515,7 @@ questions.

## v0.28.0
**NOTE** - Beginning with this release, a subset of the source code in the
[github.com/brimdata/zed](https://github.com/brimdata/zed) GitHub repository is
[github.com/brimdata/super](https://github.com/brimdata/super) GitHub repository is
covered by a source-available style license, the
[Polyform Perimeter License (PPL)](https://polyformproject.org/licenses/perimeter/1.0.0/).
We've moved the PPL-covered code under a `ppl/` directory in the repository.
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Thank you for contributing to `zed`!

Per common practice, please [open an issue](https://github.com/brimdata/zed/issues)
Per common practice, please [open an issue](https://github.com/brimdata/super/issues)
before sending a pull request. If you think your ideas might benefit from some
refinement via Q&A, come talk to us on [Slack](https://www.brimdata.io/join-slack/) as well.

Expand All @@ -19,12 +19,12 @@ in [runtime/sam/expr/agg](runtime/sam/expr/agg).

`zed` requires Go 1.23 or later, and uses [Go modules](https://github.com/golang/go/wiki/Modules).
Compilation for 32-bit target environments is not currently supported
(see [zed/4044](https://github.com/brimdata/zed/issues/4044)).
(see [zed/4044](https://github.com/brimdata/super/issues/4044)).
nwt marked this conversation as resolved.
Show resolved Hide resolved
Dependencies are specified in the [`go.mod` file](./go.mod) and fetched
automatically by commands like `go build` and `go test`. No explicit
fetch commands are necessary. However, you must set the environment
variable `GO111MODULE=on` if your repo is at
`$GOPATH/src/github.com/brimdata/zed`.
`$GOPATH/src/github.com/brimdata/super`.

When `go.mod` or its companion `go.sum` are modified during development, run
`go mod tidy` and then commit the changes to both files.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export GO111MODULE=on

VERSION = $(shell git describe --tags --dirty --always)
LDFLAGS = -s -X github.com/brimdata/zed/cli.version=$(VERSION)
LDFLAGS = -s -X github.com/brimdata/super/cli.version=$(VERSION)
BUILD_COMMANDS = ./cmd/zed ./cmd/zq

ifeq "$(filter-out 386 arm mips mipsle, $(shell go env GOARCH))" ""
$(error 32-bit architectures are unsupported; see https://github.com/brimdata/zed/issues/4044)
$(error 32-bit architectures are unsupported; see https://github.com/brimdata/super/issues/4044)
endif

# This enables a shortcut to run a single test from the ./ztests suite, e.g.:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ We modeled this README after
Philip O'Toole's brilliantly succinct
[description of `rqlite`](https://github.com/rqlite/rqlite).

[tests-img]: https://github.com/brimdata/zed/workflows/Tests/badge.svg
[tests]: https://github.com/brimdata/zed/actions?query=workflow%3ATests
[gopkg-img]: https://pkg.go.dev/badge/github.com/brimdata/zed
[gopkg]: https://pkg.go.dev/github.com/brimdata/zed
[tests-img]: https://github.com/brimdata/super/workflows/Tests/badge.svg
[tests]: https://github.com/brimdata/super/actions?query=workflow%3ATests
[gopkg-img]: https://pkg.go.dev/badge/github.com/brimdata/super
[gopkg]: https://pkg.go.dev/github.com/brimdata/super
12 changes: 6 additions & 6 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package api
import (
"context"

"github.com/brimdata/zed/compiler/parser"
"github.com/brimdata/zed/lakeparse"
"github.com/brimdata/zed/order"
"github.com/brimdata/zed/pkg/field"
"github.com/brimdata/zed/pkg/nano"
"github.com/brimdata/zed/zbuf"
"github.com/brimdata/super/compiler/parser"
"github.com/brimdata/super/lakeparse"
"github.com/brimdata/super/order"
"github.com/brimdata/super/pkg/field"
"github.com/brimdata/super/pkg/nano"
"github.com/brimdata/super/zbuf"
"github.com/segmentio/ksuid"
)

Expand Down
2 changes: 1 addition & 1 deletion api/client/auth0/auth0.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"net/url"
"time"

"github.com/brimdata/zed/api"
"github.com/brimdata/super/api"
)

type Tokens struct {
Expand Down
4 changes: 2 additions & 2 deletions api/client/auth0/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"path/filepath"

zedfs "github.com/brimdata/zed/pkg/fs"
"github.com/brimdata/zed/pkg/storage"
zedfs "github.com/brimdata/super/pkg/fs"
"github.com/brimdata/super/pkg/storage"
)

const version = 1
Expand Down
20 changes: 10 additions & 10 deletions api/client/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ import (
"strings"
"time"

"github.com/brimdata/zed"
"github.com/brimdata/zed/api"
"github.com/brimdata/zed/api/client/auth0"
"github.com/brimdata/zed/compiler/parser"
"github.com/brimdata/zed/lake"
"github.com/brimdata/zed/lake/branches"
"github.com/brimdata/zed/lakeparse"
"github.com/brimdata/zed/runtime/exec"
"github.com/brimdata/zed/zio/zngio"
"github.com/brimdata/zed/zson"
"github.com/brimdata/super"
"github.com/brimdata/super/api"
"github.com/brimdata/super/api/client/auth0"
"github.com/brimdata/super/compiler/parser"
"github.com/brimdata/super/lake"
"github.com/brimdata/super/lake/branches"
"github.com/brimdata/super/lakeparse"
"github.com/brimdata/super/runtime/exec"
"github.com/brimdata/super/zio/zngio"
"github.com/brimdata/super/zson"
"github.com/segmentio/ksuid"
)

Expand Down
6 changes: 3 additions & 3 deletions api/client/connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strings"
"testing"

"github.com/brimdata/zed/api"
"github.com/brimdata/zed/api/client/auth0"
"github.com/brimdata/zed/zngbytes"
"github.com/brimdata/super/api"
"github.com/brimdata/super/api/client/auth0"
"github.com/brimdata/super/zngbytes"
"github.com/segmentio/ksuid"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
4 changes: 2 additions & 2 deletions api/client/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"io"

"github.com/brimdata/zed/api"
"github.com/brimdata/zed/zson"
"github.com/brimdata/super/api"
"github.com/brimdata/super/zson"
)

type EventsClient struct {
Expand Down
8 changes: 4 additions & 4 deletions api/client/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"net/http/httptrace"
"time"

"github.com/brimdata/zed/api"
"github.com/brimdata/zed/zio"
"github.com/brimdata/zed/zio/zngio"
"github.com/brimdata/zed/zson"
"github.com/brimdata/super/api"
"github.com/brimdata/super/zio"
"github.com/brimdata/super/zio/zngio"
"github.com/brimdata/super/zson"
)

type Request struct {
Expand Down
10 changes: 5 additions & 5 deletions api/queryio/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"fmt"
"io"

"github.com/brimdata/zed"
"github.com/brimdata/zed/api"
"github.com/brimdata/zed/zbuf"
"github.com/brimdata/zed/zio/zngio"
"github.com/brimdata/zed/zson"
"github.com/brimdata/super"
"github.com/brimdata/super/api"
"github.com/brimdata/super/zbuf"
"github.com/brimdata/super/zio/zngio"
"github.com/brimdata/super/zson"
)

type scanner struct {
Expand Down
4 changes: 2 additions & 2 deletions api/queryio/unmarshal.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package queryio

import (
"github.com/brimdata/zed/api"
"github.com/brimdata/zed/zson"
"github.com/brimdata/super/api"
"github.com/brimdata/super/zson"
)

var unmarshaler *zson.UnmarshalZNGContext
Expand Down
12 changes: 6 additions & 6 deletions api/queryio/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"io"
"net/http"

"github.com/brimdata/zed/api"
"github.com/brimdata/zed/pkg/nano"
"github.com/brimdata/zed/zbuf"
"github.com/brimdata/zed/zio"
"github.com/brimdata/zed/zio/anyio"
"github.com/brimdata/zed/zio/jsonio"
"github.com/brimdata/super/api"
"github.com/brimdata/super/pkg/nano"
"github.com/brimdata/super/zbuf"
"github.com/brimdata/super/zio"
"github.com/brimdata/super/zio/anyio"
"github.com/brimdata/super/zio/jsonio"
)

type controlWriter interface {
Expand Down
6 changes: 3 additions & 3 deletions api/queryio/zjson.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"io"
"reflect"

"github.com/brimdata/zed"
"github.com/brimdata/zed/zio"
"github.com/brimdata/zed/zio/zjsonio"
"github.com/brimdata/super"
"github.com/brimdata/super/zio"
"github.com/brimdata/super/zio/zjsonio"
)

type ZJSONWriter struct {
Expand Down
8 changes: 4 additions & 4 deletions api/queryio/zjson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"bytes"
"testing"

"github.com/brimdata/zed"
"github.com/brimdata/zed/api"
"github.com/brimdata/zed/api/queryio"
"github.com/brimdata/zed/zson"
"github.com/brimdata/super"
"github.com/brimdata/super/api"
"github.com/brimdata/super/api/queryio"
"github.com/brimdata/super/zson"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
8 changes: 4 additions & 4 deletions api/queryio/zng.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"bytes"
"io"

"github.com/brimdata/zed/zio"
"github.com/brimdata/zed/zio/zngio"
"github.com/brimdata/zed/zio/zsonio"
"github.com/brimdata/zed/zson"
"github.com/brimdata/super/zio"
"github.com/brimdata/super/zio/zngio"
"github.com/brimdata/super/zio/zsonio"
"github.com/brimdata/super/zson"
)

type ZNGWriter struct {
Expand Down
4 changes: 2 additions & 2 deletions cli/cacheflags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"flag"
"time"

"github.com/brimdata/zed/pkg/storage"
"github.com/brimdata/zed/pkg/storage/cache"
"github.com/brimdata/super/pkg/storage"
"github.com/brimdata/super/pkg/storage/cache"
"github.com/go-redis/redis/v8"
"github.com/prometheus/client_golang/prometheus"
)
Expand Down
2 changes: 1 addition & 1 deletion cli/commitflags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"os/user"

"github.com/brimdata/zed/api"
"github.com/brimdata/super/api"
)

func username() string {
Expand Down
14 changes: 7 additions & 7 deletions cli/inputflags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"fmt"
"os"

"github.com/brimdata/zed"
"github.com/brimdata/zed/cli/auto"
"github.com/brimdata/zed/compiler/optimizer/demand"
"github.com/brimdata/zed/pkg/storage"
"github.com/brimdata/zed/zio"
"github.com/brimdata/zed/zio/anyio"
"github.com/brimdata/zed/zio/zngio"
"github.com/brimdata/super"
"github.com/brimdata/super/cli/auto"
"github.com/brimdata/super/compiler/optimizer/demand"
"github.com/brimdata/super/pkg/storage"
"github.com/brimdata/super/zio"
"github.com/brimdata/super/zio/anyio"
"github.com/brimdata/super/zio/zngio"
)

type Flags struct {
Expand Down
10 changes: 5 additions & 5 deletions cli/lakeflags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"path/filepath"
"strings"

"github.com/brimdata/zed/api/client"
"github.com/brimdata/zed/api/client/auth0"
"github.com/brimdata/zed/lake"
"github.com/brimdata/zed/lake/api"
"github.com/brimdata/zed/pkg/storage"
"github.com/brimdata/super/api/client"
"github.com/brimdata/super/api/client/auth0"
"github.com/brimdata/super/lake"
"github.com/brimdata/super/lake/api"
"github.com/brimdata/super/pkg/storage"
"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/logflags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package logflags
import (
"flag"

"github.com/brimdata/zed/service/logger"
"github.com/brimdata/super/service/logger"
"go.uber.org/zap"
)

Expand Down
18 changes: 9 additions & 9 deletions cli/outputflags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import (
"os"
"regexp"

"github.com/brimdata/zed/cli/auto"
"github.com/brimdata/zed/pkg/storage"
"github.com/brimdata/zed/pkg/terminal"
"github.com/brimdata/zed/pkg/terminal/color"
"github.com/brimdata/zed/zbuf"
"github.com/brimdata/zed/zio"
"github.com/brimdata/zed/zio/anyio"
"github.com/brimdata/zed/zio/emitter"
"github.com/brimdata/zed/zio/zngio"
"github.com/brimdata/super/cli/auto"
"github.com/brimdata/super/pkg/storage"
"github.com/brimdata/super/pkg/terminal"
"github.com/brimdata/super/pkg/terminal/color"
"github.com/brimdata/super/zbuf"
"github.com/brimdata/super/zio"
"github.com/brimdata/super/zio/anyio"
"github.com/brimdata/super/zio/emitter"
"github.com/brimdata/super/zio/zngio"
)

type Flags struct {
Expand Down
2 changes: 1 addition & 1 deletion cli/poolflags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"flag"

"github.com/brimdata/zed/lakeparse"
"github.com/brimdata/super/lakeparse"
)

type Flags struct {
Expand Down
Loading