alexedwards / scs

HTTP Session Management for Go
MIT License
2.02k stars 165 forks source link

Submodules not being released with tags #203

Open pete-woods opened 3 months ago

pete-woods commented 3 months ago

Dependabot / renovate have trouble with the sub-modules in this module, seemingly because they are not released / tagged.

When you have submodules, usually it's easiest to follow some rules:

See an example of how the tagging is supposed to be done here: https://github.com/hbjydev/go-submods-example/tags

At the moment, the store submodules all appear to be v1 modues, and also not tagged, so it really confuses any tools that want to automatically update them, as those tools want to pull down the latest v1 SCS, which is v1.4.1, and things go wrong.

I don't know what strategy you prefer to employ here, but would really appreciate something being figured out. Also as I'm using this library I'm willing to help out in any way I can.

deltamualpha commented 2 months ago

Yeah, I had to just pull the redisstore module directly into my codebase because when go's module resolution tried to work out how to use github.com/alexedwards/scs/redisstore it always ended up trying to load github.com/alexedwards/scs v1.4.1, the packages of which are not compatible with github.com/alexedwards/scs/v2.