Skip to content

Commit fb50bf8

Browse files
authored
Merge pull request #172 from elezar/cncf
Use tags.cncf.io URL in module names
2 parents 61e4b15 + 7f593fc commit fb50bf8

30 files changed

+60
-60
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CDI - The Container Device Interface
22

3-
**NOTE:** The API for injecting CDI devices that existed at `github.com/container-orchestrated-devices/container-device-interface/pkg` has been removed. Users of this API should migrate to the one at `https://github.com/cncf-tags/container-device-interface/tree/main/pkg/cdi` as this is actively maintained.
3+
**NOTE:** The API for injecting CDI devices that existed at `container-device-interface/pkg` has been removed. Users of this API should migrate to the one at `container-device-interface/pkg/cdi` as this is actively maintained.
44

55
## What is CDI?
66

@@ -188,5 +188,5 @@ EOF
188188

189189
[Check out the Contributing document!](CONTRIBUTING.md)
190190

191-
* Please let us know by [filing a new issue](https://github.com/container-orchestrated-devices/container-device-interface/issues/new)
191+
* Please let us know by [filing a new issue](https://github.com/cncf-tags/container-device-interface/issues/new)
192192
* You can contribute by opening a [pull request](https://help.github.com/articles/using-pull-requests/)

cmd/cdi/cmd/cdi-api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import (
2222
"sort"
2323
"strings"
2424

25-
"github.com/container-orchestrated-devices/container-device-interface/pkg/cdi"
2625
oci "github.com/opencontainers/runtime-spec/specs-go"
2726
gen "github.com/opencontainers/runtime-tools/generate"
27+
"tags.cncf.io/container-device-interface/pkg/cdi"
2828
)
2929

3030
func cdiListVendors() {

cmd/cdi/cmd/monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"github.com/fsnotify/fsnotify"
2626
"github.com/spf13/cobra"
2727

28-
cdi "github.com/container-orchestrated-devices/container-device-interface/pkg/cdi"
28+
cdi "tags.cncf.io/container-device-interface/pkg/cdi"
2929
)
3030

3131
type monitorFlags struct {

cmd/cdi/cmd/root.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import (
2222

2323
"github.com/spf13/cobra"
2424

25-
"github.com/container-orchestrated-devices/container-device-interface/pkg/cdi"
26-
"github.com/container-orchestrated-devices/container-device-interface/pkg/cdi/validate"
27-
"github.com/container-orchestrated-devices/container-device-interface/schema"
25+
"tags.cncf.io/container-device-interface/pkg/cdi"
26+
"tags.cncf.io/container-device-interface/pkg/cdi/validate"
27+
"tags.cncf.io/container-device-interface/schema"
2828
)
2929

3030
var (

cmd/cdi/cmd/specs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
"fmt"
2121
"strings"
2222

23-
"github.com/container-orchestrated-devices/container-device-interface/pkg/cdi"
2423
"github.com/spf13/cobra"
24+
"tags.cncf.io/container-device-interface/pkg/cdi"
2525
)
2626

2727
type specFlags struct {

cmd/cdi/cmd/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
"github.com/spf13/cobra"
2525

26-
"github.com/container-orchestrated-devices/container-device-interface/pkg/cdi"
26+
"tags.cncf.io/container-device-interface/pkg/cdi"
2727
)
2828

2929
// validateCmd is our CDI command for validating CDI Spec files in the registry.

cmd/cdi/go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
module github.com/container-orchestrated-devices/container-device-interface/cmd/cdi
1+
module tags.cncf.io/container-device-interface/cmd/cdi
22

33
go 1.19
44

55
require (
6-
github.com/container-orchestrated-devices/container-device-interface v0.0.0
76
github.com/fsnotify/fsnotify v1.5.1
87
github.com/opencontainers/runtime-spec v1.1.0
98
github.com/opencontainers/runtime-tools v0.9.1-0.20221107090550-2e043c6bd626
109
github.com/spf13/cobra v1.6.0
1110
sigs.k8s.io/yaml v1.3.0
11+
tags.cncf.io/container-device-interface v0.0.0
1212
)
1313

1414
require (
15-
github.com/container-orchestrated-devices/container-device-interface/specs-go v0.6.0 // indirect
1615
github.com/inconshreveable/mousetrap v1.0.1 // indirect
1716
github.com/opencontainers/selinux v1.10.0 // indirect
1817
github.com/spf13/pflag v1.0.5 // indirect
@@ -23,8 +22,9 @@ require (
2322
golang.org/x/mod v0.4.2 // indirect
2423
golang.org/x/sys v0.1.0 // indirect
2524
gopkg.in/yaml.v2 v2.4.0 // indirect
25+
tags.cncf.io/container-device-interface/specs-go v0.6.0 // indirect
2626
)
2727

28-
replace github.com/container-orchestrated-devices/container-device-interface => ../..
28+
replace tags.cncf.io/container-device-interface => ../..
2929

30-
replace github.com/container-orchestrated-devices/container-device-interface/specs-go => ../../specs-go
30+
replace tags.cncf.io/container-device-interface/specs-go => ../../specs-go

cmd/cdi/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package main
1818

19-
import "github.com/container-orchestrated-devices/container-device-interface/cmd/cdi/cmd"
19+
import "tags.cncf.io/container-device-interface/cmd/cdi/cmd"
2020

2121
func main() {
2222
cmd.Execute()

cmd/validate/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
module github.com/container-orchestrated-devices/container-device-interface/cmd/validate
1+
module tags.cncf.io/container-device-interface/cmd/validate
22

33
go 1.19
44

5-
require github.com/container-orchestrated-devices/container-device-interface v0.0.0
5+
require tags.cncf.io/container-device-interface v0.0.0
66

77
require (
88
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
@@ -12,6 +12,6 @@ require (
1212
sigs.k8s.io/yaml v1.3.0 // indirect
1313
)
1414

15-
replace github.com/container-orchestrated-devices/container-device-interface => ../..
15+
replace tags.cncf.io/container-device-interface => ../..
1616

17-
replace github.com/container-orchestrated-devices/container-device-interface/specs-go => ../../specs-go
17+
replace tags.cncf.io/container-device-interface/specs-go => ../../specs-go

cmd/validate/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"io/ioutil"
2626
"os"
2727

28-
"github.com/container-orchestrated-devices/container-device-interface/schema"
28+
"tags.cncf.io/container-device-interface/schema"
2929
)
3030

3131
const usage = `Validate is used to check document with specified schema.

0 commit comments

Comments
 (0)