Skip to content

rename: supercontainers -> compspec #21

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

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cmd/compspec/compspec.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"os"

"github.com/akamensky/argparse"
"github.com/supercontainers/compspec-go/cmd/compspec/create"
"github.com/supercontainers/compspec-go/cmd/compspec/extract"
"github.com/supercontainers/compspec-go/cmd/compspec/list"
"github.com/supercontainers/compspec-go/cmd/compspec/match"
"github.com/supercontainers/compspec-go/pkg/types"
"github.com/compspec/compspec-go/cmd/compspec/create"
"github.com/compspec/compspec-go/cmd/compspec/extract"
"github.com/compspec/compspec-go/cmd/compspec/list"
"github.com/compspec/compspec-go/cmd/compspec/match"
"github.com/compspec/compspec-go/pkg/types"
)

// I know this text is terrible, just having fun for now
Expand Down
4 changes: 2 additions & 2 deletions cmd/compspec/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"os"

"github.com/supercontainers/compspec-go/pkg/types"
p "github.com/supercontainers/compspec-go/plugins"
"github.com/compspec/compspec-go/pkg/types"
p "github.com/compspec/compspec-go/plugins"
"sigs.k8s.io/yaml"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/compspec/extract/extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"runtime"

p "github.com/supercontainers/compspec-go/plugins"
p "github.com/compspec/compspec-go/plugins"
)

// Run will run an extraction of host metadata
Expand Down
2 changes: 1 addition & 1 deletion cmd/compspec/list/list.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package list

import (
p "github.com/supercontainers/compspec-go/plugins"
p "github.com/compspec/compspec-go/plugins"
)

// Run will list the extractor names and sections known
Expand Down
10 changes: 5 additions & 5 deletions cmd/compspec/match/match.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (
"fmt"
"os"

"github.com/supercontainers/compspec-go/pkg/graph"
"github.com/supercontainers/compspec-go/pkg/oras"
"github.com/supercontainers/compspec-go/pkg/types"
"github.com/supercontainers/compspec-go/pkg/utils"
"github.com/compspec/compspec-go/pkg/graph"
"github.com/compspec/compspec-go/pkg/oras"
"github.com/compspec/compspec-go/pkg/types"
"github.com/compspec/compspec-go/pkg/utils"
"sigs.k8s.io/yaml"
)

var (
defaultMediaType = "application/org.supercontainers.compspec"
defaultMediaType = "application/org.compspec"
)

// loadManifest loads the manifest into a ManifestList
Expand Down
Empty file modified examples/check-lammps/extract.sh
100755 → 100644
Empty file.
Empty file modified examples/check-lammps/generate-artifact.sh
100755 → 100644
Empty file.
Empty file modified examples/check-lammps/install-and-generate.sh
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/supercontainers/compspec-go
module github.com/compspec/compspec-go

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion pkg/graph/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"os"
"strings"

"github.com/compspec/compspec-go/pkg/utils"
"github.com/converged-computing/jsongraph-go/jsongraph/v2/graph"
jgf "github.com/converged-computing/jsongraph-go/jsongraph/v2/graph"
"github.com/supercontainers/compspec-go/pkg/utils"

"github.com/scylladb/go-set/strset"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/oras/oras.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"path/filepath"
"strings"

"github.com/compspec/compspec-go/pkg/types"
"github.com/compspec/compspec-go/pkg/utils"
oci "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/supercontainers/compspec-go/pkg/types"
"github.com/supercontainers/compspec-go/pkg/utils"
"oras.land/oras-go/v2/content"
"oras.land/oras-go/v2/registry/remote"
"sigs.k8s.io/yaml"
Expand Down
4 changes: 2 additions & 2 deletions plugins/extractors/kernel/extractors.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"os"
"strings"

"github.com/compspec/compspec-go/pkg/extractor"
"github.com/compspec/compspec-go/pkg/utils"
kernelParser "github.com/moby/moby/pkg/parsers/kernel"
"github.com/supercontainers/compspec-go/pkg/extractor"
"github.com/supercontainers/compspec-go/pkg/utils"
)

// Locations to get information about the kernel
Expand Down
4 changes: 2 additions & 2 deletions plugins/extractors/kernel/kernel.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package kernel
import (
"fmt"

"github.com/supercontainers/compspec-go/pkg/extractor"
"github.com/supercontainers/compspec-go/pkg/utils"
"github.com/compspec/compspec-go/pkg/extractor"
"github.com/compspec/compspec-go/pkg/utils"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions plugins/extractors/library/extractors.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"regexp"
"strings"

"github.com/supercontainers/compspec-go/pkg/extractor"
"github.com/supercontainers/compspec-go/pkg/utils"
"github.com/compspec/compspec-go/pkg/extractor"
"github.com/compspec/compspec-go/pkg/utils"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions plugins/extractors/library/library.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package library
import (
"fmt"

"github.com/supercontainers/compspec-go/pkg/extractor"
"github.com/supercontainers/compspec-go/pkg/utils"
"github.com/compspec/compspec-go/pkg/extractor"
"github.com/compspec/compspec-go/pkg/utils"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions plugins/extractors/nfd/nfd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
_ "sigs.k8s.io/node-feature-discovery/source/system"
_ "sigs.k8s.io/node-feature-discovery/source/usb"

"github.com/supercontainers/compspec-go/pkg/extractor"
"github.com/supercontainers/compspec-go/pkg/utils"
"github.com/compspec/compspec-go/pkg/extractor"
"github.com/compspec/compspec-go/pkg/utils"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions plugins/extractors/system/arch.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"os/exec"

"github.com/supercontainers/compspec-go/pkg/extractor"
"github.com/supercontainers/compspec-go/pkg/utils"
"github.com/compspec/compspec-go/pkg/extractor"
"github.com/compspec/compspec-go/pkg/utils"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions plugins/extractors/system/extractors.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"os"
"strings"

"github.com/supercontainers/compspec-go/pkg/extractor"
"github.com/supercontainers/compspec-go/pkg/utils"
"github.com/compspec/compspec-go/pkg/extractor"
"github.com/compspec/compspec-go/pkg/utils"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion plugins/extractors/system/os.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"regexp"
"strings"

"github.com/supercontainers/compspec-go/pkg/extractor"
"github.com/compspec/compspec-go/pkg/extractor"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions plugins/extractors/system/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package system
import (
"fmt"

"github.com/supercontainers/compspec-go/pkg/extractor"
"github.com/supercontainers/compspec-go/pkg/utils"
"github.com/compspec/compspec-go/pkg/extractor"
"github.com/compspec/compspec-go/pkg/utils"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions plugins/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package plugins
import (
"strings"

"github.com/supercontainers/compspec-go/plugins/extractors/kernel"
"github.com/supercontainers/compspec-go/plugins/extractors/library"
"github.com/supercontainers/compspec-go/plugins/extractors/nfd"
"github.com/supercontainers/compspec-go/plugins/extractors/system"
"github.com/compspec/compspec-go/plugins/extractors/kernel"
"github.com/compspec/compspec-go/plugins/extractors/library"
"github.com/compspec/compspec-go/plugins/extractors/nfd"
"github.com/compspec/compspec-go/plugins/extractors/system"
)

// Add new plugin names here. They should correspond with the package name, then NewPlugin()
Expand Down
2 changes: 1 addition & 1 deletion plugins/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"github.com/supercontainers/compspec-go/pkg/extractor"
"github.com/compspec/compspec-go/pkg/extractor"
)

// A plugin request has a Name and sections
Expand Down