Stream: warg

Topic: federation namespacing


view this post on Zulip Lann Martin (Oct 04 2023 at 19:21):

re: the namespacing discussion at today's meeting: I think one of the thorniest problems that we might want to try to address quickly is the fact that package log IDs are derived from just the namespaced package name. If we both have a space:pkg package in our respective registries and I want to start mirroring yours "remapped" as your:space:pkg those two different packages will currently have the same log ID.

view this post on Zulip Lann Martin (Oct 04 2023 at 19:39):

I guess maybe that isn't actually a problem. I forgot that we dropped the log ID from the log init record.

view this post on Zulip Calvin Prewitt (Oct 04 2023 at 19:39):

Thinking that might be OK. The client CLI asks the registry about your:space namespace and the server replies that your:space is the space namespace in the registry registry.your-domain.com. When fetching the logs for your:space:pkg, the client will ask the registry for logs of the registry registry.your-domain.com with the logId that is created from space:pkg.

view this post on Zulip Lann Martin (Oct 04 2023 at 19:40):

Yeah I guess I just had it in my head that you would correlate logs between registries by log ID, but that doesn't have to be the case


Last updated: Dec 23 2024 at 12:05 UTC