Skip to content

Commit

Permalink
refactoring: Move module path to github in-toto (#121)
Browse files Browse the repository at this point in the history
TestifySec donated Archivista recently to the in-toto Organization.

This commit updates the Go module path in Archivista from
github.com/testifysec/ to github.com/in-toto/

Signed-off-by: Kairo de Araujo <kairo.araujo@testifysec.com>
  • Loading branch information
kairoaraujo authored Dec 14, 2023
1 parent c6750e0 commit 0bd09ce
Show file tree
Hide file tree
Showing 84 changed files with 248 additions and 251 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ builds:
- "-s -w"
- "-extldflags=-zrelro"
- "-extldflags=-znow"
- "-extldflags -w -X 'github.com/testifysec/archivista/cmd.Version={{.Tag}}-{{.ShortCommit}}'"
- "-extldflags -w -X 'github.com/in-toto/archivista/cmd.Version={{.Tag}}-{{.ShortCommit}}'"
env:
- "CGO_ENABLED=0"
- "GO111MODULE=on"
Expand All @@ -37,7 +37,7 @@ builds:
- "-s -w"
- "-extldflags=-zrelro"
- "-extldflags=-znow"
- "-extldflags -w -X 'github.com/testifysec/archivistactl/cmd.Version={{.Tag}}-{{.ShortCommit}}'"
- "-extldflags -w -X 'github.com/in-toto/archivistactl/cmd.Version={{.Tag}}-{{.ShortCommit}}'"
env:
- "CGO_ENABLED=0"
- "GO111MODULE=on"
Expand Down
12 changes: 6 additions & 6 deletions cmd/archivista/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ import (
nested "github.com/antonfisher/nested-logrus-formatter"
"github.com/gorilla/handlers"
"github.com/gorilla/mux"
"github.com/in-toto/archivista"
"github.com/in-toto/archivista/internal/config"
"github.com/in-toto/archivista/internal/metadatastorage/sqlstore"
"github.com/in-toto/archivista/internal/objectstorage/blobstore"
"github.com/in-toto/archivista/internal/objectstorage/filestore"
"github.com/in-toto/archivista/internal/server"
"github.com/sirupsen/logrus"
"github.com/testifysec/archivista"
"github.com/testifysec/archivista/internal/config"
"github.com/testifysec/archivista/internal/metadatastorage/sqlstore"
"github.com/testifysec/archivista/internal/objectstorage/blobstore"
"github.com/testifysec/archivista/internal/objectstorage/filestore"
"github.com/testifysec/archivista/internal/server"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/archivistactl/cmd/retrieve.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"os"
"strings"

"github.com/in-toto/archivista/pkg/api"
"github.com/spf13/cobra"
"github.com/testifysec/archivista/pkg/api"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/archivistactl/cmd/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"fmt"
"strings"

"github.com/in-toto/archivista/pkg/api"
"github.com/spf13/cobra"
"github.com/testifysec/archivista/pkg/api"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/archivistactl/cmd/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"fmt"
"os"

"github.com/in-toto/archivista/pkg/api"
"github.com/spf13/cobra"
"github.com/testifysec/archivista/pkg/api"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/archivistactl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package main
import (
"os"

"github.com/testifysec/archivista/cmd/archivistactl/cmd"
"github.com/in-toto/archivista/cmd/archivistactl/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion ent.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ input DsseWhereInput {
An object with an ID.
Follows the [Relay Global Object Identification Specification](https://relay.dev/graphql/objectidentification.htm)
"""
interface Node @goModel(model: "github.com/testifysec/archivista/ent.Noder") {
interface Node @goModel(model: "github.com/in-toto/archivista/ent.Noder") {
"""The id of the object."""
id: ID!
}
Expand Down
2 changes: 1 addition & 1 deletion ent.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ent/attestation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ent/attestation/where.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ent/attestation_create.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ent/attestation_delete.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ent/attestation_query.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ent/attestation_update.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ent/attestationcollection.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ent/attestationcollection/where.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ent/attestationcollection_create.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ent/attestationcollection_delete.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ent/attestationcollection_query.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ent/attestationcollection_update.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions ent/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ent/dsse.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ent/dsse/where.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ent/dsse_create.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ent/dsse_delete.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions ent/dsse_query.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions ent/dsse_update.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions ent/ent.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ent/enttest/enttest.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0bd09ce

Please sign in to comment.