RFC: Move away from NuGet.org Packages Index #RFC2021-01 #1277
Replies: 2 comments 2 replies
-
As the 'other person' who has created Oqtane modules and posted at least one on NuGet :) :) These are valid points, but, I feel it is 'too late' because this would be a massive breaking change. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I do not agree with the title of this RFC - but I do agree with the concept. Oqtane does need its own "registry service" where package authors can identify their packages and provide additional metadata as described above. This registry service should be independent from Nuget.org and not dependent on the discovery services provided by Nuget.org. Rather than interacting with Nuget directly to obtain information about packages, the framework should interact with this registry service. I have already started creating the admin UI for this service a few months ago, as I would expect that it should live on oqtane.org ( ie. as the official package registry for Oqtane ). Note that the registry can still point to Nuget.org as the download source for the actual Nuget packages as Nuget.org provides a robust infrastructure for the distribution and consumption of Nuget packages. |
Beta Was this translation helpful? Give feedback.
-
We're one of the first people to actually create an Oqtane module and put it on NuGet: https://www.nuget.org/packages/ToSic.Imageflow.Oqtane/
From this limited experience I have a feeling that NuGet.org (the site) is not a good idea for distributing modules. That's what I would like to discuss here.
Some Requirements for Module Distribution
Some Nice-To-Haves
Clashes with NuGet.org Core Purpose
Recomendation
latest update to the recommendation: 2021-04-24
I believe that we need a custom index which is under our control. Ideally it would allow people to add 2-3 types of sources
The Index-server would then either automatically get metadata based on this - or the user that adds it must do it in a UI (more reliable). Minimal stewardship would ensure that there is a bit of control. And API would then allow Oqtane installations to query the index in an IFrame (specifying the system requirements) and the IFrame would then provide a UI which can be updated as needed without having to upgrade the Oqtane itself.
Beta Was this translation helpful? Give feedback.
All reactions