Skip to content

Conversation

@Lee-W
Copy link
Member

@Lee-W Lee-W commented Jan 24, 2025

Why

Since #45740, we further formalize the significant newsfragments format but have not yet added a script to check it in CI.

What

A script is added for checking whether the format is correct, allow us to export summarization of these newsfragments and list down undone migration rules


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@Lee-W Lee-W requested review from ashb and potiuk as code owners January 24, 2025 07:49
@Lee-W Lee-W self-assigned this Jan 24, 2025
@Lee-W Lee-W force-pushed the check-newsfragments branch from 047b0a7 to 21bf3c4 Compare January 24, 2025 09:09
@potiuk
Copy link
Member

potiuk commented Jan 27, 2025

Why not pre-commit ? you will be able to run it locally way before it even hits the CI.

@Lee-W Lee-W force-pushed the check-newsfragments branch from 21bf3c4 to 3eff24d Compare February 3, 2025 06:13
@Lee-W
Copy link
Member Author

Lee-W commented Feb 3, 2025

Why not pre-commit ? you will be able to run it locally way before it even hits the CI.

Yep, sounds like a great idea! I just updated it to use pre-commit. Will merge it once the CI pass so that we can ensure the format is correct for future newsfragments.

@Lee-W Lee-W force-pushed the check-newsfragments branch 2 times, most recently from 67aa17f to 637ed20 Compare February 3, 2025 06:44
@Lee-W Lee-W requested a review from jedcunningham as a code owner February 3, 2025 06:44
@Lee-W Lee-W force-pushed the check-newsfragments branch 2 times, most recently from 17ea46c to 0ee5f07 Compare February 3, 2025 08:36
@Lee-W Lee-W force-pushed the check-newsfragments branch from 0ee5f07 to 9db8814 Compare February 3, 2025 09:11
@Lee-W
Copy link
Member Author

Lee-W commented Feb 3, 2025

as the ci failure has nothing to do with it and will be fixed by #46368. I'll go ahead and merge this PR

@Lee-W Lee-W merged commit c60e139 into apache:main Feb 3, 2025
85 of 88 checks passed
@Lee-W Lee-W deleted the check-newsfragments branch February 3, 2025 11:02
dabla pushed a commit to dabla/airflow that referenced this pull request Feb 3, 2025
…pache#46007)

* ci(github-acitons): add script to check significant newsfragments

* docs(newsfragments): fix incorrect format

* docs(newsfragments): upgrade api-66.significant format

* ci(pre-commit): add x mod to significant_newsfragments_checker.py
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 4, 2025
…pache#46007)

* ci(github-acitons): add script to check significant newsfragments

* docs(newsfragments): fix incorrect format

* docs(newsfragments): upgrade api-66.significant format

* ci(pre-commit): add x mod to significant_newsfragments_checker.py
niklasr22 pushed a commit to niklasr22/airflow that referenced this pull request Feb 8, 2025
…pache#46007)

* ci(github-acitons): add script to check significant newsfragments

* docs(newsfragments): fix incorrect format

* docs(newsfragments): upgrade api-66.significant format

* ci(pre-commit): add x mod to significant_newsfragments_checker.py
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 17, 2025
…pache#46007)

* ci(github-acitons): add script to check significant newsfragments

* docs(newsfragments): fix incorrect format

* docs(newsfragments): upgrade api-66.significant format

* ci(pre-commit): add x mod to significant_newsfragments_checker.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants