mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-02-11 00:54:34 +01:00
2.0 KiB
2.0 KiB
Contributors
Create a Feature
- (Optional) Describe the problem that the PR is solving in an issue first.
- Fork the repo and create your feature branch.
- Avoid having multiple features in one branch. See Separation of Concerns.
- Do not create feature branches in the main repository.
- Code your feature.
- Commits do NOT need to follow any convention.
- Create a PR when finished. Use Conventional Commits format as the PR title.
- PR title format:
type (module): Summary of the changes. Possible types are:BREAKING CHANGEFor changes that break the API.featFor new features.fixFor bug fixeschoreFor everything that is not covered in the above types.- The module is the workspace member name, for example
homeserver,client, ortestnet.
- Use the Draft feature in case you need an early review.
- Assign a reviewer. Every PR needs to be reviewed at least once. More reviews are possible on request.
- PR title format:
- Always squash the PR when merging. One commit == one feature/fix.
Versioning
- Merge all PRs in the main branch that you want to include in the next version.
- Update versions in the workspace Config.toml. Use SemVer.
- Update the member dependencies too.
- Create a PR with the title:
chore: vx.x.x. - Let the PR review and squash + merge.
- Publish each changed member with cargo publish
cargo publish -p http-relaycargo publish -p pkarr-republishercargo publish -p pubky-commoncargo publish -p pubky-homeservercargo publish -p pubkycargo publish -p pubky-testnet
- Create a new Github release.
- Tag:
vx.x.x - Title:
vx.x.x - Description: Changelog for the current version.
- Tag: