summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJames O'Doherty <james@theodohertyfamily.com>2026-05-29 23:35:21 -0400
committerJames O'Doherty <james@theodohertyfamily.com>2026-05-29 23:35:21 -0400
commitda70b10fbd056f19d892acad542ce96c40c58389 (patch)
tree7d506e83c163234403237b195ebe9e079e515af4 /internal
parent328a42144fd54ac99d1bf231e6114147e48b820f (diff)
refactor: rename module to git.theodohertyfamily.com/wg-wrap and apply public domain license
- Update go.mod and all internal imports to reflect the new module path - Add LICENSE file with the Unlicense (public domain dedication) - Increase timeouts in e2e lifecycle tests to prevent flaky failures - Verify all tests, linting, and formatting pass with the new module name
Diffstat (limited to 'internal')
-rw-r--r--internal/cli/cli.go10
-rw-r--r--internal/namespace/lifecycle.go2
-rw-r--r--internal/namespace/lifecycle_test.go2
-rw-r--r--internal/namespace/lock_linux.go2
-rw-r--r--internal/namespace/lock_stub.go2
-rw-r--r--internal/namespace/namespace_stub.go2
-rw-r--r--internal/namespace/pinning.go2
-rw-r--r--internal/namespace/pinning_test.go2
-rw-r--r--internal/wireguard/wireguard.go2
-rw-r--r--internal/wireguard/wireguard_stub.go2
10 files changed, 14 insertions, 14 deletions
diff --git a/internal/cli/cli.go b/internal/cli/cli.go
index 0a2ec96..4d028a2 100644
--- a/internal/cli/cli.go
+++ b/internal/cli/cli.go
@@ -8,11 +8,11 @@ import (
"path/filepath"
"strings"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/config"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/namespace"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/paths"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/wireguard"
- "git.theodohertyfamily.com/tools/wg-wrap/pkg/wgconf"
+ "git.theodohertyfamily.com/wg-wrap/internal/config"
+ "git.theodohertyfamily.com/wg-wrap/internal/namespace"
+ "git.theodohertyfamily.com/wg-wrap/internal/paths"
+ "git.theodohertyfamily.com/wg-wrap/internal/wireguard"
+ "git.theodohertyfamily.com/wg-wrap/pkg/wgconf"
)
type App struct {
diff --git a/internal/namespace/lifecycle.go b/internal/namespace/lifecycle.go
index 9a3b567..3bd1753 100644
--- a/internal/namespace/lifecycle.go
+++ b/internal/namespace/lifecycle.go
@@ -9,7 +9,7 @@ import (
"syscall"
"time"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/paths"
+ "git.theodohertyfamily.com/wg-wrap/internal/paths"
)
// GetProfileNamespacePath returns the path to the pinned namespace file for a profile.
diff --git a/internal/namespace/lifecycle_test.go b/internal/namespace/lifecycle_test.go
index 230e93a..1fb0a13 100644
--- a/internal/namespace/lifecycle_test.go
+++ b/internal/namespace/lifecycle_test.go
@@ -6,7 +6,7 @@ import (
"strconv"
"testing"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/paths"
+ "git.theodohertyfamily.com/wg-wrap/internal/paths"
)
func TestLifecycleReferenceCounting(t *testing.T) {
diff --git a/internal/namespace/lock_linux.go b/internal/namespace/lock_linux.go
index 8da98f6..3197d95 100644
--- a/internal/namespace/lock_linux.go
+++ b/internal/namespace/lock_linux.go
@@ -7,7 +7,7 @@ import (
"os"
"path/filepath"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/paths"
+ "git.theodohertyfamily.com/wg-wrap/internal/paths"
"golang.org/x/sys/unix"
)
diff --git a/internal/namespace/lock_stub.go b/internal/namespace/lock_stub.go
index 2282852..881c64c 100644
--- a/internal/namespace/lock_stub.go
+++ b/internal/namespace/lock_stub.go
@@ -5,7 +5,7 @@ package namespace
import (
"os"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/paths"
+ "git.theodohertyfamily.com/wg-wrap/internal/paths"
)
// AcquireProfileLock is a stub for non-Linux platforms.
diff --git a/internal/namespace/namespace_stub.go b/internal/namespace/namespace_stub.go
index db0ec24..e9d55df 100644
--- a/internal/namespace/namespace_stub.go
+++ b/internal/namespace/namespace_stub.go
@@ -4,7 +4,7 @@ package namespace
import (
"fmt"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/paths"
+ "git.theodohertyfamily.com/wg-wrap/internal/paths"
)
// PinNamespace touches the namespace path to indicate it is pinned/active.
diff --git a/internal/namespace/pinning.go b/internal/namespace/pinning.go
index e257187..07f15f8 100644
--- a/internal/namespace/pinning.go
+++ b/internal/namespace/pinning.go
@@ -8,7 +8,7 @@ import (
"path/filepath"
"strconv"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/paths"
+ "git.theodohertyfamily.com/wg-wrap/internal/paths"
"golang.org/x/sys/unix"
)
diff --git a/internal/namespace/pinning_test.go b/internal/namespace/pinning_test.go
index 18aba00..1bb40da 100644
--- a/internal/namespace/pinning_test.go
+++ b/internal/namespace/pinning_test.go
@@ -7,7 +7,7 @@ import (
"path/filepath"
"testing"
- "git.theodohertyfamily.com/tools/wg-wrap/internal/paths"
+ "git.theodohertyfamily.com/wg-wrap/internal/paths"
)
func TestUnpinNamespace(t *testing.T) {
diff --git a/internal/wireguard/wireguard.go b/internal/wireguard/wireguard.go
index e250dab..8ac7e63 100644
--- a/internal/wireguard/wireguard.go
+++ b/internal/wireguard/wireguard.go
@@ -12,7 +12,7 @@ import (
"strconv"
"strings"
- "git.theodohertyfamily.com/tools/wg-wrap/pkg/wgconf"
+ "git.theodohertyfamily.com/wg-wrap/pkg/wgconf"
"github.com/vishvananda/netlink"
"golang.org/x/sys/unix"
"golang.zx2c4.com/wireguard/conn"
diff --git a/internal/wireguard/wireguard_stub.go b/internal/wireguard/wireguard_stub.go
index 47d7b41..88660bd 100644
--- a/internal/wireguard/wireguard_stub.go
+++ b/internal/wireguard/wireguard_stub.go
@@ -4,7 +4,7 @@ package wireguard
import (
"fmt"
- "git.theodohertyfamily.com/tools/wg-wrap/pkg/wgconf"
+ "git.theodohertyfamily.com/wg-wrap/pkg/wgconf"
)
type Tunnel struct{}