Maintaining open source
You maintain a project on GitHub. Issues come in, contributors open pull requests from their forks, and reviewers leave comments on yours. You want help with the reading and the first pass, and you want to stay the one who posts.
Set it up
- Install the GitHub CLI and run
gh auth login. Nolzu reads GitHub throughghwith that login and stores no GitHub token. - Open New project at
/newand add your repository by its URL. Nolzu makes a workspace around a clone of it. - Turn on the PR reviews board in the Boards box of Settings / Project. A new project starts with it off.
- Write your contribution rules on Settings / Phase instructions.
A rule for Implement, such as what a pull request description must hold,
goes into
.nolzu/phases/implement.md, and Plan turns it into a step and a check.
An issue, your fix and a contributor's pull request
- On the Delivery board, press Add card and paste the issue's link, or type
cook/recipes#57. Nolzu reads it withgh. The card isrecipes#57, with the issue's title and body. - Drag it through Refine, Plan, Implement and QA. In Review, Commit and push with the box ticked that opens GitHub's pull request page filled in from the card, and open the pull request there.
- Drag the card to Pull request. When reviewers comment, open the card's PRs tab and press Read comments. Run triage gives each comment a verdict and a drafted reply, which you copy and post yourself. Fix goes on in the card's Implement session for a comment that needs a code change, and you commit and push it from the Changes tab.
- A contributor opens a pull request from a fork. On the PR reviews board, press Add pull request and paste its link. The card lands in Incoming as
recipes#58. - Drag it to Agent pre-review. Nolzu reads the diff with
gh pr diff, so a pull request from a fork reads the same way, and the agent writes its findings as conventional comments. In My review, Copy all findings and post what you agree with on GitHub. - Drag the card to Awaiting author. When the contributor pushes, drag it back to Incoming for the next round. Once you approve on GitHub, drag it to Approved, and after the merge to Wrap-up.
Nolzu posts nothing to GitHub: no comment, no review and no approval. Every word is yours to post.
What does not fit yet
- Read pull requests on the PR reviews board adds a card only for an open pull
request that asks for your review, in each repository of the project with a GitHub remote. Add any
other pull request by link or as
owner/repo#number. The Compatibility page keeps the status of the board. - When you work from your own fork, your pull request lives in the upstream repository, and Read pull requests asks your fork. Attach the pull request on the card's PRs tab under Attach a pull request.
- All three engines have run whole cards on a real project on macOS. Linux and WSL 2 start with a warning.