Skip to content
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

Formalize a changelog process #245

Closed
esoterra opened this issue Jun 15, 2022 · 5 comments
Closed

Formalize a changelog process #245

esoterra opened this issue Jun 15, 2022 · 5 comments

Comments

@esoterra
Copy link
Contributor

We should decide on a workflow for generating changelogs as the need for a more robust release system grows.

Since wit-bindgen main is composed of commits made from PR descriptions and most changelog tools use commit messages, the simplest option will be to enforce some format on all PR titles + descriptions and then use a git-based automated tool in a GitHub Action.

Here are some options I've found, feel free to suggest others.

@willemneal
Copy link
Contributor

willemneal commented Jun 16, 2022

I second this. This is especially useful when making breaking changes. I know this project is still waiting for the upstream componen model to stabilize, but in the meantime using this will allow current users to use without fear of breaking changes.

I am also an advocate for publishing the project as is and using the same git conventions to auto publish as development continues.

@alexcrichton
Copy link
Member

Personally I'm not too enamored with automatic changelog generators so I don't have an opinion on which myself to use. That being said I'm not opposed if others would like to use one and I think it'd be best to pick one which isn't too much overhead to follow for contributors.

@esoterra esoterra changed the title Use a git-based changelog generator Formalize a changelog process Jun 17, 2022
@esoterra
Copy link
Contributor Author

We could also do something simpler and more manual like the keep a changelog guidelines if people prefer.

@ricochet
Copy link

Conventional commit's core benefit is that it enables auto-versioning of releases (feats bump minor, breaking major unless major is v0). The added benefit is that it can be used to generate a changelog.

The answer to how to manage a changelog is likely wrapped in other questions about how to create releases.

@alexcrichton
Copy link
Member

I'm going to close this as this repository isn't quite the central location for everything *.wit related it used to be. With the current refactoring big changes could come in from a number of places and as a result I don't think that necessarily keeping a formalized changelog in just this repository is going to improve things much.

What does need to happen, however, is overall documentation about working with components, *.wit, hosts, guests, etc. I don't think that's best done through a changelog here in this repository and I don't think it's necessarily too actionable to have an issue open for it as well. I expect that this sort of documentation and tutorial will grow over time as the component model stabilizes and finalizes. As a result I'm going to close this now, but this can be revisited once this repository has a more clear process of releasing things and what it's going to contain long-term.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants