Re: [Ksummit-discuss] Allowing something Change-Id (or something like it) in kernel commits

Thomas Gleixner
2019-08-26T22:19:24Z

On Mon, 26 Aug 2019, Doug Anderson wrote:
> 2. If, as I expect, Change-Id as part of the patch stays NAKed then I
> will modify the tools I use to post upstream (currently patman) to
> encode the Change-Id. My naive proposal would be:
>
> Message-Id: ChangeId-YYYY-MMDD-HHMMSS-PatchNum

Please use one of the library functions of your language of choice and do
not construct it yourself. My pain with malformatted email headers is
already big enough.

Python:

id = '%s.%s' %(changeid, email.utils.make_msgid())

id = email.utils.make_msgid(changeid)

Depending on where you want to have it positioned, which does not actually
matter :)

Thanks,

tglx