Skip to content

Commit e6844c2

Browse files
authored
fix: replace whilp/git-urls with chainguard-dev/git-urls (#192)
1 parent 16a5ebb commit e6844c2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

envbuilder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import (
3333
"github.com/GoogleContainerTools/kaniko/pkg/creds"
3434
"github.com/GoogleContainerTools/kaniko/pkg/executor"
3535
"github.com/GoogleContainerTools/kaniko/pkg/util"
36+
giturls "github.com/chainguard-dev/git-urls"
3637
"github.com/coder/coder/v2/codersdk"
3738
"github.com/coder/envbuilder/devcontainer"
3839
"github.com/coder/envbuilder/internal/ebutil"
@@ -49,7 +50,6 @@ import (
4950
"github.com/google/go-containerregistry/pkg/v1/remote"
5051
"github.com/sirupsen/logrus"
5152
"github.com/tailscale/hujson"
52-
giturls "github.com/whilp/git-urls"
5353
"golang.org/x/xerrors"
5454
)
5555

git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"os"
1010
"strings"
1111

12+
giturls "github.com/chainguard-dev/git-urls"
1213
"github.com/coder/coder/v2/codersdk"
1314
"github.com/go-git/go-billy/v5"
1415
"github.com/go-git/go-git/v5"
@@ -21,7 +22,6 @@ import (
2122
gitssh "github.com/go-git/go-git/v5/plumbing/transport/ssh"
2223
"github.com/go-git/go-git/v5/storage/filesystem"
2324
"github.com/skeema/knownhosts"
24-
giturls "github.com/whilp/git-urls"
2525
"golang.org/x/crypto/ssh"
2626
gossh "golang.org/x/crypto/ssh"
2727
)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ require (
1919
cdr.dev/slog v1.6.2-0.20240126064726-20367d4aede6
2020
github.com/GoogleContainerTools/kaniko v1.9.2
2121
github.com/breml/rootcerts v0.2.10
22+
github.com/chainguard-dev/git-urls v1.0.2
2223
github.com/coder/coder/v2 v2.3.3
2324
github.com/coder/serpent v0.7.0
2425
github.com/containerd/containerd v1.7.11
@@ -40,7 +41,6 @@ require (
4041
github.com/skeema/knownhosts v1.2.2
4142
github.com/stretchr/testify v1.9.0
4243
github.com/tailscale/hujson v0.0.0-20221223112325-20486734a56a
43-
github.com/whilp/git-urls v1.0.0
4444
go.uber.org/mock v0.4.0
4545
golang.org/x/crypto v0.22.0
4646
golang.org/x/sync v0.7.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6
174174
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
175175
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
176176
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
177+
github.com/chainguard-dev/git-urls v1.0.2 h1:pSpT7ifrpc5X55n4aTTm7FFUE+ZQHKiqpiwNkJrVcKQ=
178+
github.com/chainguard-dev/git-urls v1.0.2/go.mod h1:rbGgj10OS7UgZlbzdUQIQpT0k/D4+An04HJY7Ol+Y/o=
177179
github.com/charmbracelet/glamour v0.6.0 h1:wi8fse3Y7nfcabbbDuwolqTqMQPMnVPeZhDM273bISc=
178180
github.com/charmbracelet/glamour v0.6.0/go.mod h1:taqWV4swIMMbWALc0m7AfE9JkPSU8om2538k9ITBxOc=
179181
github.com/charmbracelet/lipgloss v0.8.0 h1:IS00fk4XAHcf8uZKc3eHeMUTCxUH6NkaTrdyCQk84RU=
@@ -842,8 +844,6 @@ github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vb
842844
github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
843845
github.com/wagslane/go-password-validator v0.3.0 h1:vfxOPzGHkz5S146HDpavl0cw1DSVP061Ry2PX0/ON6I=
844846
github.com/wagslane/go-password-validator v0.3.0/go.mod h1:TI1XJ6T5fRdRnHqHt14pvy1tNVnrwe7m3/f1f2fDphQ=
845-
github.com/whilp/git-urls v1.0.0 h1:95f6UMWN5FKW71ECsXRUd3FVYiXdrE7aX4NZKcPmIjU=
846-
github.com/whilp/git-urls v1.0.0/go.mod h1:J16SAmobsqc3Qcy98brfl5f5+e0clUvg1krgwk/qCfE=
847847
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
848848
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
849849
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=

0 commit comments

Comments
 (0)