Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go.mod: update module name #1

Merged
merged 1 commit into from
May 27, 2024
Merged

go.mod: update module name #1

merged 1 commit into from
May 27, 2024

Conversation

flokli
Copy link
Contributor

@flokli flokli commented May 25, 2024

Otherwise, this fails for me with:

       > 2024/05/25 13:42:20 [INFO] exec (timeout=0s): /nix/store/6bvndddvxaypc42x6x4ari20gv3vfdgd-go-1.22.2/bin/go get -d -v github.com/WeidiDeng/caddy-socket-activation@2246ae4a7a00955926ebdf1d557c1530b327bf2f github.com/caddyserver/caddy/[email protected]
       > go: downloading github.com/WeidiDeng/caddy-socket-activation v0.0.0-20240508065503-2246ae4a7a00
       > go: github.com/WeidiDeng/[email protected] found: parsing go.mod:
       >         module declares its path as: caddy-socket-activation
       >                 but was required as: github.com/WeidiDeng/caddy-socket-activation
       > go: github.com/WeidiDeng/caddy-socket-activation@2246ae4a7a00955926ebdf1d557c1530b327bf2f (v0.0.0-20240508065503-2246ae4a7a00) requires github.com/WeidiDeng/[email protected]: parsing go.mod:
       >         module declares its path as: caddy-socket-activation
       >                 but was required as: github.com/WeidiDeng/caddy-socket-activation
       > 2024/05/25 13:42:34 [FATAL] exit status 1

I should note I'm using another custom build process, something similar to here. Though at least caddy-dns/acmedns' go.mod uses a github.com/owner/repo module name.

Otherwise, this fails for me with:

```
       > 2024/05/25 13:42:20 [INFO] exec (timeout=0s): /nix/store/6bvndddvxaypc42x6x4ari20gv3vfdgd-go-1.22.2/bin/go get -d -v github.com/WeidiDeng/caddy-socket-activation@2246ae4a7a00955926ebdf1d557c1530b327bf2f github.com/caddyserver/caddy/[email protected]
       > go: downloading github.com/WeidiDeng/caddy-socket-activation v0.0.0-20240508065503-2246ae4a7a00
       > go: github.com/WeidiDeng/[email protected] found: parsing go.mod:
       >         module declares its path as: caddy-socket-activation
       >                 but was required as: github.com/WeidiDeng/caddy-socket-activation
       > go: github.com/WeidiDeng/caddy-socket-activation@2246ae4a7a00955926ebdf1d557c1530b327bf2f (v0.0.0-20240508065503-2246ae4a7a00) requires github.com/WeidiDeng/[email protected]: parsing go.mod:
       >         module declares its path as: caddy-socket-activation
       >                 but was required as: github.com/WeidiDeng/caddy-socket-activation
       > 2024/05/25 13:42:34 [FATAL] exit status 1
```
@flokli
Copy link
Contributor Author

flokli commented May 25, 2024

I also spotted https://github.com/rilzbo/caddy-socket-activation in the forks of this repo, which also changed the same thing, so I'm probably not alone with this problem.

@WeidiDeng
Copy link
Owner

Thanks! I only tested with local development 😅 .

@WeidiDeng WeidiDeng merged commit 20b7d0e into WeidiDeng:main May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants