Hi Chris,
My comments.
>> We could, however, mitigate this concern by downgrading subject length errors to warnings, which would give us some flexibility here.
I think this is a good compromise.
>> I'm open to suggestions on how we can deal with this efficiently.
I suggest we start a wiki page and ask all the maintainers and platform owners to sign off. I understand that everyone inside Arm is already aligned, but this will allow others to vote on the proposal. I would
like us to vote before you start pushing changes with the new scheme to avoid a cleanup later.
>> My view at present is that the biggest benefit comes from standardising how platform maintainers report their changes
This means we should try to get a buy in from all maintainers and platform owners before deploying the proposal.
>>
The alternative is that we ask maintainers to update the changelog themselves
We should ask maintainers to vote on this proposal too.
I think the best approach is to get a vote from maintainers within a finite time span (2 weeks?) - wiki page is better than email.
-Varun
From: Chris Kay <Chris.Kay@arm.com>
Sent: Wednesday, February 17, 2021 4:07 PM
To: Varun Wadekar <vwadekar@nvidia.com>
Cc: tf-a@lists.trustedfirmware.org
Subject: Re: Adoption of Conventional Commits
External email: Use caution opening links or attachments
|
Hi Varun,
Thanks for your feedback!
Hope that clarifies.
Regards,
Chris
From: Varun Wadekar <vwadekar@nvidia.com>
Sent: 17 February 2021 23:21
To: Chris Kay <Chris.Kay@arm.com>
Cc: tf-a@lists.trustedfirmware.org <tf-a@lists.trustedfirmware.org>
Subject: RE: Adoption of Conventional Commits
Hi Chris,
This seems like a good proposal to alleviate some of the pain around releases.
Some observations/questions.
I can see how #1 might be of concern to many, but we will have to implement some policy to see how many commits really fall in this category.
-Varun
From: TF-A <tf-a-bounces@lists.trustedfirmware.org>
On Behalf Of Chris Kay via TF-A
Sent: Thursday, February 11, 2021 5:59 AM
To: tf-a@lists.trustedfirmware.org
Subject: [TF-A] Adoption of Conventional Commits
External email: Use caution opening links or attachments
|
Hi all,
Recently we had an internal discussion on the merits of introducing semantics to commit messages pushed to the main TF-A repository, the conclusion being that we would look to adopting the
Conventional Commits specification in the near future. There was one major reason for this, which was to help us in automating the changelog in future releases, but it might also help us to dramatically
reduce the overall amount of work needed to make a formal release in the future.
This requires some buy-in (or buy-out, in this case) from maintainers because - even though it’s to only a relatively minor extent - it does involve an adjustment to everybody’s workflow. Notably, commit messages will
be expected to adopt the structure defined by the specification, which will be enforced by the CI. Most commits that go upstream today adhere to “something that looks like Conventional Commits”, so the change is not exactly sweeping, but any change has the
potential be an inconvenience.
With that in mind, I propose the following:
Installation of these tools will be optional, but I believe they can help with the transition. In the patches currently in review, they are installed as Git hooks automatically upon execution of
npm install, so it requires no manual installation or configuration (other than a relatively up-to-date Node.js installation).
You’ll find the patches
here, and specifically the changes to the prerequisites documentation
here. Feel free to review these changes if you have comments specifically on their implementation.
Let me know if you have any questions or concerns. If everybody’s on board, we can look to have this upstreamed shortly.
Chris