Maintainer Guides
Merging a pull request
- Be sure that all CI checks are passing before merging the pull request.
- Review the code, ask for any necessary changes, and approve the pull request when it is ready.
- Click the
Squash and merge
button to merge the pull request. - Add the list of changes specified in the pull request description (if not already included) to the merge commit description. If the list of changes is not available, ask the author for it.
- Click
Confirm
to complete the merge. - If the user has not yet been added as a contributor, use the following command to add them:
@all-contributors please add @<username> for <contributions>
and then merge the created pull request. See the Emoji Key (Contribution Types Reference) for a list of validcontribution
types.
Tip
Your request to the bot doesn't need to be perfect. The bot will use basic Natural Language Parsing to determine your intent. For example, this will work too:
Jane you are crushing it in the documentation and your infrastructure work has been great too.
Let's add @jane.doe23 for her contributions. cc @all-contributors
The bot will work best in parsing your comment correctly if you precede the contributor's username with @ as shown above. Otherwise, the bot may not correctly identify the user.
Creating an release
To create a new release of wiki-tui, follow these steps:
- Make sure you have a clean working directory by running
git status
and ensuring that there are no uncommitted changes. If there are uncommitted changes, commit them or stash them usinggit stash
. - Check the codebase
- For any formatting issues or warnings using the following commands:
cargo clippy
cargo fmt
- For any formatting issues or warnings using the following commands:
- Run
cargo build
to build the project. - Bump the version number in
Cargo.toml
to the next release version. - Run
cargo build
again to build the project with the updated version number. Don't forget togit add Cargo.lock
so that the build stays reproducible. - Update the changelog using
auto changelog --from <old-version> --to <version>
, whereis the last version released and is the new release version. - Modify the Changelog:
- Remove any changes from bots
- Check that everything is correct
- Amend the
Cargo.toml
andCargo.lock
changes to the commitauto
generated and rename the commit tobump to <version>
, whereis the new release version using git commit --amend
For examplebump to v0.6.2
- Create a tag using
git tag <version>
, whereis the new release version. - Push the commit using
git push
. - Push the tag with
git push --tags
. - Create a new release manually and copy the changelog section of the new release into the body field
- Publish the release to crates.io using
cargo publish
- Wait for the continuous integration (CI) process to complete building the precompiled binaries.
- Finally, run
cargo install wiki-tui
to install the new release onto your local machine, and verify that it is working correctly.
Last update:
July 7, 2023
Created: January 2, 2023
Created: January 2, 2023