Fedora: writing the update message… three times.

OK, trying to make a blog which actually shows up in planet.fedora. We’ll see…

Tired of writing the same update message when doing the git upstream commit, when editing the specfile changelog and when submitting the bodhi update request? Some pieces which might help:

  • If you are making an upstream git commit first, I have a script gitspec
    available at http://github.com/leamas/pkg-scripts. This can create a new specfile changelog and/or bump the release based on the upstream git commit.
  • When you have the proper changelog, it would be real nice if fedpkg used the changelog as the default update messages. I have submitted patches for this, and a patched fedpkg is available at http://leamas.fedorapeople.org/fedpkg (which is a valid yum repo).
  • Don’t forget fedpkg clog. Using this you will generate a file clog reflecting the spec changelog which you can inspect, edit and finally use as the git commit message with -F clog.
Advertisements

2 thoughts on “Fedora: writing the update message… three times.

  1. “Tired of writing the same update message when doing the git upstream commit, when editing the specfile changelog and when submitting the bodhi update request?”

    if you’re doing that, you’re almost certainly doing it wrong.

  2. Agreed. Really. The wording in the blog is leaves a certain room for improvements here 🙂

    That said, to use e. g. the specfile changelog as the default message in a “bodhi update” is a far better option than the current “Here you write the reasons for this update”. My blog is about improving the defaults, not about what should be the actual usage.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s