Skip to content

Commit

Permalink
Renaming r4e config to iot
Browse files Browse the repository at this point in the history
since the configs will be used by both r4e and fedora-iot
generic name makes more sense here

Signed-off-by: Sayan Paul <[email protected]>
  • Loading branch information
say-paul committed Sep 6, 2023
1 parent 0244d31 commit f100629
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ import (
flatcar1_0 "github.com/coreos/butane/config/flatcar/v1_0"
flatcar1_1 "github.com/coreos/butane/config/flatcar/v1_1"
flatcar1_2_exp "github.com/coreos/butane/config/flatcar/v1_2_exp"
iot1_0 "github.com/coreos/butane/config/iot/v1_0"
iot1_1 "github.com/coreos/butane/config/iot/v1_1"
iot1_2_exp "github.com/coreos/butane/config/iot/v1_2_exp"
openshift4_10 "github.com/coreos/butane/config/openshift/v4_10"
openshift4_11 "github.com/coreos/butane/config/openshift/v4_11"
openshift4_12 "github.com/coreos/butane/config/openshift/v4_12"
openshift4_13 "github.com/coreos/butane/config/openshift/v4_13"
openshift4_14_exp "github.com/coreos/butane/config/openshift/v4_14_exp"
openshift4_8 "github.com/coreos/butane/config/openshift/v4_8"
openshift4_9 "github.com/coreos/butane/config/openshift/v4_9"
r4e1_0 "github.com/coreos/butane/config/r4e/v1_0"
r4e1_1 "github.com/coreos/butane/config/r4e/v1_1"
r4e1_2_exp "github.com/coreos/butane/config/r4e/v1_2_exp"

"github.com/coreos/go-semver/semver"
"github.com/coreos/vcontext/report"
Expand Down Expand Up @@ -72,9 +72,9 @@ func init() {
RegisterTranslator("openshift", "4.12.0", openshift4_12.ToConfigBytes)
RegisterTranslator("openshift", "4.13.0", openshift4_13.ToConfigBytes)
RegisterTranslator("openshift", "4.14.0-experimental", openshift4_14_exp.ToConfigBytes)
RegisterTranslator("r4e", "1.0.0", r4e1_0.ToIgn3_3Bytes)
RegisterTranslator("r4e", "1.1.0", r4e1_1.ToIgn3_4Bytes)
RegisterTranslator("r4e", "1.2.0-experimental", r4e1_2_exp.ToIgn3_5Bytes)
RegisterTranslator("r4e", "1.0.0", iot1_0.ToIgn3_3Bytes)
RegisterTranslator("r4e", "1.1.0", iot1_1.ToIgn3_4Bytes)
RegisterTranslator("r4e", "1.2.0-experimental", iot1_2_exp.ToIgn3_5Bytes)
RegisterTranslator("rhcos", "0.1.0", unsupportedRhcosVariant)
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions internal/doc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ import (
flatcar1_0 "github.com/coreos/butane/config/flatcar/v1_0"
flatcar1_1 "github.com/coreos/butane/config/flatcar/v1_1"
flatcar1_2_exp "github.com/coreos/butane/config/flatcar/v1_2_exp"
iot1_0 "github.com/coreos/butane/config/iot/v1_0"
iot1_1 "github.com/coreos/butane/config/iot/v1_1"
iot1_2_exp "github.com/coreos/butane/config/iot/v1_2_exp"
openshift4_10 "github.com/coreos/butane/config/openshift/v4_10"
openshift4_11 "github.com/coreos/butane/config/openshift/v4_11"
openshift4_12 "github.com/coreos/butane/config/openshift/v4_12"
openshift4_13 "github.com/coreos/butane/config/openshift/v4_13"
openshift4_14_exp "github.com/coreos/butane/config/openshift/v4_14_exp"
openshift4_8 "github.com/coreos/butane/config/openshift/v4_8"
openshift4_9 "github.com/coreos/butane/config/openshift/v4_9"
r4e1_0 "github.com/coreos/butane/config/r4e/v1_0"
r4e1_1 "github.com/coreos/butane/config/r4e/v1_1"
r4e1_2_exp "github.com/coreos/butane/config/r4e/v1_2_exp"
)

var (
Expand Down Expand Up @@ -134,9 +134,9 @@ func generate(dir string) error {
"r4e",
[]version{
// inverse order of website navbar
{"1.2.0-experimental", r4e1_2_exp.Config{}},
{"1.0.0", r4e1_0.Config{}},
{"1.1.0", r4e1_1.Config{}},
{"1.2.0-experimental", iot1_2_exp.Config{}},
{"1.0.0", iot1_0.Config{}},
{"1.1.0", iot1_1.Config{}},
},
},
}
Expand Down

0 comments on commit f100629

Please sign in to comment.