Replies: 4 comments 5 replies
-
Our release notes live in https://github.com/martinvonz/jj/blob/main/CHANGELOG.md. Everything under the "[Unreleased]" heading there is going to go into the next release. We try to keep that up to date as we make changes; we don't leave it for the person cutting the release to do all at once (the way the Mercurial project mostly does it, for example).
|
Beta Was this translation helpful? Give feedback.
-
Oh, I definitely was not asking about this project's releases. I was asking about
That's fine, but are there hooks or something about the workflow so that making a release catches things before release (or before commit)? |
Beta Was this translation helpful? Give feedback.
-
Again, I am not asking about this project, but looking at how |
Beta Was this translation helpful? Give feedback.
-
OK, it seems that you are referring to something else that I'm not aware of. My example was not a typo; it was an actual project that has tests and is built for several different targets. They had to do a quick fix because some of the keys in the UI didn't work. This wasn't caught before the release. Yet all of the advice out there is to have a main branch and a release branch and do all the tests before merging into the main for the release. Perhaps instead of looking at what And if the |
Beta Was this translation helpful? Give feedback.
-
In regards to releasing a version of code in a repo, are there commands (or maybe templates?) that help with that? An example is to make release notes by retrieving all the descriptions of a range of commits, either a branch, or since a tag or date.
Would this be a command or a flag on
log
, or something in config that runs on a hook?Related is something I've wondered about concerning the difference in Bazaar vs. Git regarding the hooks on commit. Bazaar
merge
is combining two versions, and it's not "saved" until you usecommit
. This lets you resolve conflicts and run tests before the commit. Git, is the opposite, where the merge generates a commit, and doesn't complete if there are conflicts, and you have to run tests on a pre-commit hook or something.I'm not sure I understand how
jj
does this, with all the rebasing.My interest is in facilitating good practices for releasing code. (Just today, I saw a project release 0.8.0 and very quickly have to release 0.8.1 for a quick fix that should have been caught prior to the release.)
Beta Was this translation helpful? Give feedback.
All reactions