Closed ktdreyer closed 7 years ago
We could make the dist-git commit title simply the new NVR of the package at that point?
In other words:
%changelog
has a single entry, use that as the commit title (rdopkg's current behavior)%changelog
has multiple entries, simply title the commit with the package's NVRI like this idea and then along with issue #118 third option would be to specify a commit title on the command line
When I have two or more pending commits on my
-patches
branch, rdopkg will create a dist-git commit with a title that is the final commit's title.For example, when
rdopkg patch
generates three patches for me, the dist-git commit looks like this:The
Third nice commit
title there should be something more general, because it might have nothing to do with the first or second changes, and it's misleading when browsing quickly through the dist-git logs.I'm not sure how to make this idempotent with
rdopkg amend
, though. MaybeThird nice commit (and 2 others)
or something? I welcome other ideas!