-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Policy for inclusion in the flake search #486
Comments
I think the issue the registry faces is not one we have in the search. Only indexing the registry defeats in my opinion the purpose of the search. A) the search should make projects more discoverable, that includes small projects that are not yet popular enough to be in the registry. The registry also has to maintain a certain standard of quality and security as packages in there could be considered "officially approved". Regarding nixos-search, I think indexing more flakes (within limits) is not too much of an issue since most flakes are relatively small. I agree however that in the current state flakes are quite disorganized and should be addressed in the current redoing. These are my first thoughts on this |
Some points of todays discussion on the topic: Most indexes allow you to publish your work on your own account. Cargo, for instance is famously indifferent about the packages listed there. In contrast, we have a whole PR process for this which may be good to prevent spamming but also makes us discuss the same issues over again to the frustration of flake maintainers. So what are the reasons we reject/block packages?
Summarized that is:
In my option limits such as requiring the projects to be "non-profit" would make slightly more sense. Additionally, I think we can do a better job enabling others to spin up their own search for their respective target audience. Final note: nixos-search is not an advertisement platform, and if it was it did a very bad job. |
@ysndr lnbits-legend is not a cryptocurrency wallet. It is middleware like e-commerce plugins for wordpress, for facilitating transactions. |
Thanks @MatthewCroughan for correcting me.
|
Yeah, it's probably bad that they say that, rather than being more clear. I will try to get that changed to be more representative of what the software actually does in practice. It has only existed for a year, so their descriptions are not 100% accurate. It does provide the functionality of a wallet, but that's not the main reason to use it, or what it does. |
registry.json X manual.toml:My concern related to usability. The user expectation when both Index, one with WebUI other with CLI, but one has more things indexed. Also, the URL in the index page could be smaller if flake-registry is the source of truth, i.e.: # useless trick
nix run nix -- run nix -- run nix -- run nix -- run nix -- run nix -- run nix -- --help TIL. We do not index github:NixOS/nix. It is another issue, of having two different sources. Forget to add to both, making two PR, convincing two maintainers... flakes-registry only have the issue of namespace, because they're registering single pkg flake, instead of sub registry list (like NUR). Doing same here would reduce the toml size and hopefully reduce time to process it.
Agree, for both search and registry. Flakes-registry could be the official version of NUR.
We diminished the importance of usability for so many years that the first joke I learn about nix is about learning curve. Then we tag usability features as 'unnecessary'. Filtering by ideology
Paraphrasing: "I dont deny certain ideological concerns about Overall suggestionFlakes brings decentralization, it is good, but we cannot expect all 'nodes' of this new decentralized schema to have the same quality, like we never know the quality of a npm, docker or pypi before use it. I think we should blacklist offenders:
Related: https://discourse.nixos.org/t/call-for-volunteers-curating-official-projects/45382 |
Basically a mirror of NixOS/flake-registry#25, triggered by #482.
I think the policies should be somewhat similar between the two repos (if not tied together by only indexing flakes in the registry), and moreover I don't think nixos-search is currently ready to include every flake in the universe.
The text was updated successfully, but these errors were encountered: