--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/7744dfd3-e94e-45ed-bb10-ca6d5c732550n%40googlegroups.com.
My library git_ops https://github.com/zachdaniel/git_ops is a native elixir solution for managing a change log with tags for releases. Im sure it could be improved, but it’s a solid foundation that a lot of people are using today. Plus, the conventional commit format is a well known already specified pattern: https://www.conventionalcommits.org/en/v1.0.0/It provides a mix task that automatically determines the next version based on the types of commits, and writes any relevant commits to a changelog file.In standardizing the changelog practices, you could also standardize the commit/next version practices.
Cool library, I definitely have to check that one out for some of the internal projects I'm working on.I did think about Conventional Commits when writing this proposal but decided to only include the publishing mechanism and not the contents of the changelog / release notes.The reason for this is, that something like Conventional Commits is a big change in the development / workflows of the affected projects.If all involved parties are open to this massive change, it would open the doors for a lot of pre-existing tooling like your library or Googles release please.I'm not convinced myself that Conventional Commits are the way to go for projects like those. The main issue I have with the convention is that commits don't necessarily describe the intention of changes well. One could for example make 5 commits about a specific topic but describe it as one change in the release notes.
On Friday, January 13, 2023 at 3:32:41 PM UTC+1 zachary....@gmail.com wrote:
Forgot the most relevant point: it can automatically include the generated release notes in the git tag that is generated which translates to release notes when pushed.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/603e9638-34bf-4cb6-ae75-c308322d6fbfn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/lcum3vai.3a0f4bc0-3666-4af2-90bc-8381592ba17b%40we.are.superhuman.com.
That sounds neat, but I *personally* have a problem with conventional commits. For those not familiar, the format is basically```<type>[optional scope]: <description>
[optional body]
[optional footer(s)]```The width of the title line of a commit is supposed to be ~52 characters, but `feat(scope): ` eats up 13 of those characters, meaning that the subject can’t exceed 39 characters. Even if you skip scopes, you’ve lost a minimum of five characters for a commit title line (`bug: `). I know that not everyone writes good commit messages (tpope and Chris Beams have excellent blog posts on these), but using the *title* line to help a program do something useful is the very definition of Doing The Wrong Thing.I’d support a *trailer* / *footer* like `commit-type: feat!` (feature with breaking change), but I’m already involved with one project that uses conventional commits and I hate writing commits there, because the title should be short but meaningful, and that’s hard in 52 characters.-a(Sorry. I’ve not really had a place to rant about this because I stopped blogging years ago, I’ve given up on Twitter, have no Mastodon presence, and no one on Facebook would care.)
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/7744dfd3-e94e-45ed-bb10-ca6d5c732550n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/lcum3vai.3a0f4bc0-3666-4af2-90bc-8381592ba17b%40we.are.superhuman.com.
--
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAJ4ekQs3%2BqXmiFhOiQkdZVX8sRob%3DFNw9agDH9jRy5J2UZmKgQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/603e9638-34bf-4cb6-ae75-c308322d6fbfn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/591D839A-C8EE-40F4-88AB-8B1E5AF59A71%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAJ4ekQsn8Akf8x%2Bam7oZ3s6d_4FJg_EuJnO%2BSUdog5vXjxgJ%3Dw%40mail.gmail.com.