Skip to content

Commit

Permalink
build: Rename go module to github.com/crc-org/macadam
Browse files Browse the repository at this point in the history
Now that the repository has been moved to github.com/crc-org, it's
better to reflect that in the go module name.
  • Loading branch information
cfergeau committed Feb 28, 2025
1 parent d63eb53 commit 8133b43
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: all build check clean cross test

GIT_VERSION ?= $(shell git describe --always --dirty)
VERSION_LDFLAGS=-X github.com/cfergeau/macadam/pkg/cmdline.gitVersion=$(GIT_VERSION)
VERSION_LDFLAGS=-X github.com/crc-org/macadam/pkg/cmdline.gitVersion=$(GIT_VERSION)
# opengpg and btrfs support are used by github.com/containers/image and
# github.com/containers/storage when container images are fetched.
# These require external C libraries and their headers, it's simpler to disable
Expand Down
6 changes: 3 additions & 3 deletions cmd/macadam/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ package main
import (
"fmt"

"github.com/cfergeau/macadam/cmd/macadam/registry"
"github.com/cfergeau/macadam/pkg/imagepullers"
macadam "github.com/cfergeau/macadam/pkg/machinedriver"
"github.com/crc-org/macadam/cmd/macadam/registry"
"github.com/crc-org/macadam/pkg/imagepullers"
macadam "github.com/crc-org/macadam/pkg/machinedriver"
"github.com/containers/common/pkg/completion"
ldefine "github.com/containers/podman/v5/libpod/define"
"github.com/containers/podman/v5/pkg/machine/define"
Expand Down
4 changes: 2 additions & 2 deletions cmd/macadam/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strconv"
"time"

"github.com/cfergeau/macadam/cmd/macadam/registry"
macadam "github.com/cfergeau/macadam/pkg/machinedriver"
"github.com/crc-org/macadam/cmd/macadam/registry"
macadam "github.com/crc-org/macadam/pkg/machinedriver"
"github.com/containers/common/pkg/completion"
"github.com/crc-org/machine/libmachine/state"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/macadam/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/cfergeau/macadam/cmd/macadam/registry"
"github.com/crc-org/macadam/cmd/macadam/registry"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/macadam/rm.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/cfergeau/macadam/cmd/macadam/registry"
macadam "github.com/cfergeau/macadam/pkg/machinedriver"
"github.com/crc-org/macadam/cmd/macadam/registry"
macadam "github.com/crc-org/macadam/pkg/machinedriver"
"github.com/containers/podman/v5/pkg/machine"
"github.com/spf13/cobra"
)
Expand Down
6 changes: 3 additions & 3 deletions cmd/macadam/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"os"
"path/filepath"

"github.com/cfergeau/macadam/cmd/macadam/registry"
"github.com/cfergeau/macadam/pkg/cmdline"
"github.com/cfergeau/macadam/pkg/env"
"github.com/crc-org/macadam/cmd/macadam/registry"
"github.com/crc-org/macadam/pkg/cmdline"
"github.com/crc-org/macadam/pkg/env"
"github.com/containers/podman/v5/libpod/define"
"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/macadam/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package main
import (
"fmt"

"github.com/cfergeau/macadam/cmd/macadam/registry"
macadam "github.com/cfergeau/macadam/pkg/machinedriver"
"github.com/crc-org/macadam/cmd/macadam/registry"
macadam "github.com/crc-org/macadam/pkg/machinedriver"
ldefine "github.com/containers/podman/v5/libpod/define"
"github.com/containers/podman/v5/pkg/machine"
"github.com/containers/podman/v5/pkg/machine/provider"
Expand Down
4 changes: 2 additions & 2 deletions cmd/macadam/stop.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/cfergeau/macadam/cmd/macadam/registry"
macadam "github.com/cfergeau/macadam/pkg/machinedriver"
"github.com/crc-org/macadam/cmd/macadam/registry"
macadam "github.com/crc-org/macadam/pkg/machinedriver"
"github.com/spf13/cobra"
)

Expand Down
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/cfergeau/macadam
module github.com/crc-org/macadam

go 1.22.6

Expand Down
2 changes: 1 addition & 1 deletion pkg/cmdline/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

var (
// set using the '-X github.com/cfergeau/macadam/pkg/cmdline.gitVersion' linker flag
// set using the '-X github.com/crc-org/macadam/pkg/cmdline.gitVersion' linker flag
gitVersion = "unknown"

// set through .gitattributes when `git archive` is used
Expand Down

0 comments on commit 8133b43

Please sign in to comment.