Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(newsfragment): add template for significant newsfragments #44378

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

Lee-W
Copy link
Member

@Lee-W Lee-W commented Nov 26, 2024

Closes: #44374

Why

make updating #41641 and https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+3+breaking+changes easier

What

Add a template and a command line to generate a file based on the description to the doc


^ 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 force-pushed the add-significant-newsfragements-template branch 2 times, most recently from cc83957 to 740d841 Compare November 26, 2024 10:51
@Lee-W Lee-W marked this pull request as ready for review November 26, 2024 10:54
@Lee-W
Copy link
Member Author

Lee-W commented Nov 26, 2024

I've conducted some research into towncrier. It appears that there isn't a clever way to generate news fragments via templates, and it doesn't verify the content either. I'm not sure whether we should implement a script to check these sigificant files. The best we can do is probably check whether the checkboxes exist.

Copy link
Member

@kaxil kaxil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah let's some validation via script if towncrier can't do it for us

@Lee-W Lee-W force-pushed the add-significant-newsfragements-template branch from 740d841 to 6e86092 Compare November 27, 2024 01:51
@Lee-W Lee-W requested a review from ashb as a code owner November 27, 2024 02:13
@Lee-W Lee-W force-pushed the add-significant-newsfragements-template branch from 4089e41 to 09368ca Compare November 27, 2024 05:58
@Lee-W
Copy link
Member Author

Lee-W commented Nov 27, 2024

I'll do some test on the script before merging it

@Lee-W Lee-W force-pushed the add-significant-newsfragements-template branch from 09368ca to e81c381 Compare November 27, 2024 06:00
@Lee-W Lee-W added the airflow3.0:breaking Candidates for Airflow 3.0 that contain breaking changes label Nov 27, 2024
@Lee-W Lee-W force-pushed the add-significant-newsfragements-template branch from 837e8ee to d010561 Compare November 27, 2024 06:40
@Lee-W Lee-W merged commit 93bcfc2 into apache:main Nov 27, 2024
95 checks passed
@Lee-W Lee-W deleted the add-significant-newsfragements-template branch November 27, 2024 07:48
ArshiaZr pushed a commit to ArshiaZr/airflow that referenced this pull request Nov 27, 2024
…e#44378)

* docs(newsfragment): add template for significant newsfragments

Closes: apache#44374

* docs(contributing-docs): add sigificant file template description

* ci(github-actions): add script to check the news fragment content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
airflow3.0:breaking Candidates for Airflow 3.0 that contain breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create news fragments template
3 participants