Here's another way you could say it:
- A URL is routed directly unless you change the configuration, either by setting a mirror or setting an intermediate registry. This is the same as how things work now with external dependencies and mirrors.
- An opaque identifier is meaningless on its own; how that's routed is entirely dependent on configuration.
I agree that in both cases, configuration can confound expectations. To that end, I started to write up a swift package discover
command that would help end users understand how packages are resolved — as well as other useful information, like time spent downloading and size on disk.
Yes, correct.