Re: Enabling changelog verifier

Ankit Jain <[email protected]>
Newsgroups gmane.comp.jakarta.lucene.devel
Message-ID <CAPE3qSc-=Kuo6cE0fCPkxynVFt8oibQCRjzCJqCgbhnTF0GTKw@mail.gmail.com>
Thanks Stefan for adding this very useful workflow. Few observations:

   - Instead of commenting, should it be a step in the approval workflow?
   Adding the skip label indicates explicit intent, and should make the
   approval step succeed.
   - Really minor: skip-changelog-check is slightly verbose. Wondering
if *skip-changelog
   *is good enough
   - Will be great to validate changelog entry against the target
   milestone. I was careless enough to miss that for one of the PRs -
   https://github.com/apache/lucene/pull/14609

With these changes, we don't need to worry about multiple changelog
comments in PR. For example - I don't want to skip-changelog, but not add
changelog until the PR is almost ready to be merged. Then, I need to add a
skip-changelog label first and then remove that later.


- Ankit

On Mon, May 12, 2025 at 4:55 AM Adrien Grand <[email protected]> wrote:

> Thank you Stefan!
>
> On Mon, May 12, 2025 at 11:09 AM Stefan Vodita <[email protected]>
> wrote:
>
>> Hi everyone,
>>
>> We've been working on a bot to look at PRs, check for a CHANGES entry (
>> #13898 <https://github.com/apache/lucene/issues/13898>), and determine
>> the milestone the PR belongs to (#14190
>> <https://github.com/apache/lucene/issues/14190>).
>>
>> I got a few approvals to enable this bot in #14644
>> <https://github.com/apache/lucene/pull/14644>, but I want to tell you
>> all what to expect. If you want to see an example, look at the PR I've
>> been testing on <https://github.com/stefanvodita/lucene/pull/9>.
>> 1. If a PR does not have a CHANGES entry, the bot should post a comment
>> reminding us to create one.
>> 2. If a PR has a CHANGES entry, the bot will try to find the release that
>> entry is under and add the corresponding milestone to the PR.
>>
>> I'll keep an eye out on the bot, but if this isn't the behaviour you're
>> seeing, it would be useful to know! It won't work perfectly from the start,
>> but I think at this stage the bot should be able to handle most PRs
>> correctly. I'm planning to enable the bot tomorrow.
>>
>> Stefan
>>
>>
>
> --
> Adrien
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.