Finally, I'm generally opposed to letting the same package version ever be published twice, but if we do need full deletion that enables re-publishing I think I want this tracked somehow with a "generation" index so that a given combination of (package-name, generation, version)
does immutably map to a single piece of content.
What if the Log ID was derived from name and generation? Then per-package generation monotonicity would be a registry log invariant
Interesting, you'd have to know the latest generation somehow.
Actually, what if generation went in the package init message?
I guess that sort of breaks decoupling from the package name
More broadly, it makes the package internally the authority about things we haven't previously let it
There's a lot of ways of incorporating generation numbers into the system and it's a big design question I want us to think carefully about.
I think there's also some overlap here between generations, package transfer, and rolling up state that we should think about.
8 messages were moved here from #warg > package namespacing by Kyle Brown.
Last updated: Nov 22 2024 at 17:03 UTC