Now that [RFC 166](https://github.com/NixOS/rfcs/pull/166) is accepted, let's commence with the implementation! Here's a very rough todo-list, most of which will be fairly quick. - [x] Update README to mention WIP state: https://github.com/serokell/nixfmt/pull/154 - [x] Create Nix formatting GitHub team: https://github.com/orgs/NixOS/teams/nix-formatting/members - [x] Add @Sereja313 to the team, couldn't do that myself since they're not already in the organisation. This was requested in the issue below - [x] Move repo under NixOS org: https://github.com/serokell/nixfmt/issues/155 - [x] Decide on merge rules: https://github.com/NixOS/nixfmt/rules/523613?ref=refs%2Fheads%2Fmaster - [x] Create a team page in the repo: https://github.com/serokell/nixfmt/pull/156 - <s>Create a GitHub project board</s> Let's only start using one if we feel the need for it - [x] Create a nixos.org page for the team: https://github.com/NixOS/nixos-homepage/pull/1337 - [x] Move the RFCs initial standard format into the repo: https://github.com/NixOS/nixfmt/pull/158 - [x] Merge https://github.com/serokell/nixfmt/pull/118 - [x] Set up automated testing - Run test suite in CI: NixOS/nixfmt#172 - Each PR needs to be tested on the entirety of Nixpkgs: https://github.com/NixOS/nixfmt/issues/163 - [ ] ~Fully review the code~ - ~Check that it conforms to the specification~ - ~Document sufficiently~ - ~Simplify if possible~ - [x] Tool documentation: https://github.com/NixOS/nixfmt/issues/314 - [x] Create a release and announce it: https://github.com/NixOS/nixfmt/issues/272 - Marketing, celebration, Discourse, blog post, NixCon talk, etc. - Update Nixpkgs and Nix docs, e.g. contributor guide, etc. - [ ] ~Update `nix fmt` to point to `nixfmt`: https://github.com/NixOS/nix/pull/11252~ Edit: This is not a priority for the formatting team, nor the nix team - [x] Reformat Nixpkgs: https://github.com/NixOS/nixpkgs/issues/322520 - Also on other repos - Also, Nix code in documentation and elsewhere Ping @piegamesde @tomberek @0x4A6F @Sereja313 @dasJ
Now that RFC 166 is accepted, let's commence with the implementation!
Here's a very rough todo-list, most of which will be fairly quick.
Create a GitHub project boardLet's only start using one if we feel the need for it
Fully review the codeCheck that it conforms to the specificationDocument sufficientlySimplify if possibleUpdateEdit: This is not a priority for the formatting team, nor the nix teamnix fmtto point tonixfmt:nix fmt: callnixfmt-rfc-stylenix#11252Ping @piegamesde @tomberek @0x4A6F @Sereja313 @dasJ