-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Provide web documentation for each error #99
Comments
This sounds great to me! I'd also be up for renaming the repository to |
Sounds good to me. I'm a fan of https://rust-lang.github.io/mdBook/ and was wondering if there's any interest in using that over GH wiki? |
I'm up for that! |
I also love mdBook also but picked the wiki for ease of editing like Shellcheck had. Making the thing easy to update means there's the power of everyone, not just the small portion of myself, Silvan, and you that this tool gets. 😄 |
I've opened #100 for the related rename. |
Silvan, could you enable the wiki for this repository? I'll get some initial stubs in there. |
Done, I could also allow anybody to edit pages instead of just us with push access? |
Let's keep it push access for now then widen once we have a release that references the particular error IDs that we publish and decide on. |
Wiki doesn't have a PR workflow right? |
Underneath the covers, it's a Git repo (naturally). https://github.com/NixOS/nixpkgs-vet.wiki.git But the editing is making commits sans a PR workflow mostly. |
Here's my proposal of the various error numbers and rough names
|
Still to do in order to complete this story:
|
There are now 28 different errors that
nixpkgs-check-by-name
can emit.Following shellcheck, we should give these errors stable names (NPVxxx?) and document them somewhere.
I propose the following scheme:
nixpkgs-vet
, the final name of this tool 😉). Three digits seems more than enough for us. The prefix is chosen for search-ability on the major search engines.This scheme is inspired by Shellcheck specifically. See for instance their page on error SC2034. Note that many other tools do similarly: Rust itself has an extensive index of errors.
Implementing this allows longer-form rationale and explanation than what can be done in the terminal, allowing that text to be more terse while not skipping out on good documentation.
The text was updated successfully, but these errors were encountered: