Replies: 6 comments
-
I have now made a change: removed the tags ![]() Will test the behaviour now. |
Beta Was this translation helpful? Give feedback.
-
It seems to work 🎉 With
The behaviour is as expected:
|
Beta Was this translation helpful? Give feedback.
-
See zetxek/adrianmoreno.info#272 for a "fix" for the versioning. |
Beta Was this translation helpful? Give feedback.
-
I had already noticed something strange because go modules was referring to |
Beta Was this translation helpful? Give feedback.
-
Have you seen this?
https://go.dev/blog/v2-go-modules
So they basically say vN+1 changes should only happen when major breaking
changes are introduced.
It reads like an excuse but they say that would justify
branches/direcrories …
Seems odd to me.
…On Sun, Jan 26, 2025 at 2:22 PM Adrián Moreno Peña ***@***.***> wrote:
I had already noticed something strange because go modules was referring
to v1.4.28, that doesn't exist:
https://github.com/zetxek/adritian-demo/pull/148/files
—
Reply to this email directly, view it on GitHub
<#171 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALQ3FBNBL2CB2N3TXZJAKL2MTOQVAVCNFSM6AAAAABV4NWKA6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJVHAYTSNY>
.
You are receiving this because you were mentioned.Message ID:
<zetxek/adritian-free-hugo-theme/repo-discussions/171/comments/11958197@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Yeah it sounds so far from the real world and so opinionated.
I don't want to deal with sub folders and all that unnecessary complexity,
so we'll stick with 1.x forever it seems 🤷♂️
|
Beta Was this translation helpful? Give feedback.
-
With the introduction of hugo modules, which are based on go modules, we are hitting a weird situation: the version 2.0.0 can't be found when trying to use it from a client.
The version is available both as a tag and as a release:
![image](https://private-user-images.githubusercontent.com/240085/406733195-8d7cf2a6-9e8a-4134-ba75-0b1a9f2bc2d8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTAwODEsIm5iZiI6MTczOTA4OTc4MSwicGF0aCI6Ii8yNDAwODUvNDA2NzMzMTk1LThkN2NmMmE2LTllOGEtNDEzNC1iYTc1LTBiMWE5ZjJiYzJkOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQwODI5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00NmZhODhlODczMzAxZmNhZjQ4Nzg2NzdjMjdhZTcwNTU2MGVhZDhkZTY2YTg0NjkxMTUwZmI3YTUyZjFiMDY2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.sN2yoGbaE49gNrbYkjPhQGBpUGnCTUI45x-SOxyL68I)
But it seems to lead to a version not found error...
When trying to use this as
go.mod
:This will raise a strange error:
Trying to use
Will also result in another weird error:
This seems to be caused by the strange versioning decisions made in go modules: https://go.dev/blog/v2-go-modules
Reading about the issue in hugo's forum (https://discourse.gohugo.io/t/update-module-to-v2/25843/2), the most pragmatic choice seems to be to stick to
v1.x
forever.I don't want to version the code in folders or have to program for this specific weird behaviour. So adopting a
v1.x.y
schema seems to be the most effective, simple path.Beta Was this translation helpful? Give feedback.
All reactions