Open aplteam opened 9 months ago
The longer I ponder over this the more I think that this should default to https://tatin.dev if that's available.
If that's not available there should not be a default.
Making the highest one the default is a bit dangerous because when you change priorities the implicit default would potentially change as well. I don't want that!
Currently, when
ListPackages
andPublishPackage
are not provided with a target registry as in:and
then
[tatin]
is assumed as the target.It can well be argued that instead the Registry with the highest priority should be the target.
If there is only a single Registry with a priority greater than 0 (that's the default), then it does not make a difference.
But when the user builds up a chain of Registries, like:
then it does make a difference:
[private]
would then be the default target.