Skip to content
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

Additional meta-information conventions #57833

Open
deliciouslytyped opened this issue Mar 17, 2019 · 14 comments
Open

Additional meta-information conventions #57833

deliciouslytyped opened this issue Mar 17, 2019 · 14 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 9.needs: community feedback

Comments

@deliciouslytyped
Copy link
Contributor

deliciouslytyped commented Mar 17, 2019

I've had ideas for additional fields that would be nice to have in the meta attribute, but I forgot to make an issue at the time, I'll update this if I can remember anything. I tried to find if there were any RFCs or existing issues for such things but I didn't find any, please crosslink!

Currently I'm thinking it would be nice if there was a field where I could put URLs to references (or a description string, or whatever) for packagers that have information on packaging something. For example compilation/installation instructions, etc.

Another thing would be an attribute for linking to the official documentation of a package. This could also be nice in that when looking at something on https://nixos.org/nixos/packages.html there could be a directly clickable link for accessing documentation.

@deliciouslytyped
Copy link
Contributor Author

deliciouslytyped commented Mar 24, 2019

I'm currently reading the Unix Haters Handbook.

  • Information about incomplete packaging, hasmanpages, etc (would also allow for some automated todo lists)

@deliciouslytyped
Copy link
Contributor Author

@infinisil had some ideas about tagging for handling nixpkgs categories.

@deliciouslytyped
Copy link
Contributor Author

#45269 something something "possible" dependencies

@deliciouslytyped
Copy link
Contributor Author

CVE information

@deliciouslytyped
Copy link
Contributor Author

deliciouslytyped commented Jan 21, 2020

Path(s) to the main executable(s?) if there are any? Would allow a shorthand for something like nix-shell -p python --run python for example.

Additional "usage" information similarly?

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/concepts-for-attaching-metadata-to-nixpkgs/5632/1

@deliciouslytyped
Copy link
Contributor Author

deliciouslytyped commented Mar 5, 2020

Pointing to packages that "obsolete" "old" "unmaintained" packages, but are not blessed forks, or something like that; e.g. scantailor-advanced seems to be a version of scantailor that's more actively developed.

@deliciouslytyped
Copy link
Contributor Author

NixOS/rfcs#51 (comment)
Volunteer testers for packages

@timokau
Copy link
Member

timokau commented Jun 8, 2020

This goes back to another idea I've floated a couple of times: Extending the maintainers field to include support levels. This could reach from "I wrote this, use this, test this and will immediately respond to issues" to "I want to be notified of changes".

That could then also be used to segregate nixpkgs into "core" (everything with sufficient maintainer commitment) and "rest" ("AUR") without actually splitting up the repo. People might be more willing to add themselves to the maintainers list when the commitment is clearly defined.

@deliciouslytyped
Copy link
Contributor Author

when the commitment is clearly defined.

  • or lack thereof

@deliciouslytyped
Copy link
Contributor Author

There should be an attribute where NixOS configuration attributes that belong to a package can be specified.
This would be good because currently there is no way to create a relationship from a nixpkgs package to services that depend on it, or conversely to hint to users that using some packages may require enabling a service or changing system security configuration. Examples of these would be some of the appname.enable settings.

@stale
Copy link

stale bot commented Apr 7, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Apr 7, 2021
@deliciouslytyped
Copy link
Contributor Author

deliciouslytyped commented Jun 21, 2021

#120692 has mainProgram at least.

I think this should have been a list, with the first item being the "main" program, or otherwise some data structure that can have all the relevant runnables listed, with a special field for the main one.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 21, 2021
@stale
Copy link

stale bot commented Jan 9, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 9.needs: community feedback
Projects
None yet
Development

No branches or pull requests

4 participants