amoghrajesh opened a new pull request, #38062:
URL: https://github.com/apache/airflow/pull/38062
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!--
Thank you for contributing! Please make sure that your code changes
are covered with tests. And in case of new features or big changes
remember to adjust the documentation.
Feel free to ping committers for the review!
In case of an existing issue, reference it using one of the following:
closes: #ISSUE
related: #ISSUE
How to write a good git commit message:
http://chris.beams.io/posts/git-commit/
-->
Offline chat with @eladkal revealed that there is an inconsistency between
how issues are generated for providers, helm-charts, and airflow. Initially I
had fixed #37891 and realised that a bigger effort is needed to move everything
to breeze. This PR moves issue generation from prepare_release_issue.py to
breeze release-management and introduces two new commands.
The usage looks like this:
```
breeze release-management generate-issue-content-core --previous-release
1.9.0 --current-release 1.10.0 --verbose
breeze release-management generate-issue-content-helm-chart
--previous-release 1.6.0 --current-release 1.8.0 --verbose
```
Tested for helm chart as well as airflow core.
Example output:
```
root@d4e667edbe5e:~/clone/airflow# ./dev/prepare_release_issue.py
generate-issue-content --previous-release 1.9.0 --current-release ${VERSION}
Retrieving PR#3701: https://github.com/apache/airflow/pull/3701
Retrieving PR#3720: https://github.com/apache/airflow/pull/3720
Retrieving PR#3708: https://github.com/apache/airflow/pull/3708
Retrieving PR#3700: https://github.com/apache/airflow/pull/3700
Retrieving PR#3703: https://github.com/apache/airflow/pull/3703
Retrieving PR#3660: https://github.com/apache/airflow/pull/3660
Retrieving PR#24: https://github.com/apache/airflow/pull/24
Retrieving 7 PRs ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
We are kindly requesting that contributors to [Apache Airflow RC
1.10.0](https://pypi.org/project/apache-airflow/1.10.0/) help test the RC.
Please let us know by commenting if the issue is addressed in the latest RC.
- [ ] [Fix run_unit_tests.sh
(#24)](https://github.com/apache/airflow/pull/24): @afarbos
- [ ] [[AIRFLOW-2817] Force explicit choice on GPL dependency
(#3660)](https://github.com/apache/airflow/pull/3660): @bolkedebruin
- [ ] [[AIRFLOW-2140] Don't require kubernetes for the SparkSubmit hook
(#3700)](https://github.com/apache/airflow/pull/3700): @ashb
- [ ] [[AIRFLOW-2856] Pass in SLUGIFY_USES_TEXT_UNIDECODE=yes ENV to docker
run (#3701)](https://github.com/apache/airflow/pull/3701): @andscoop
- [ ] [[AIRFLOW-2857] Fix broken RTD env
(#3703)](https://github.com/apache/airflow/pull/3703): @tedmiston
- [ ] [[AIRFLOW-2859] Implement own UtcDateTime
(#3708)](https://github.com/apache/airflow/pull/3708): @bolkedebruin
- [ ] [[AIRFLOW-2870] Use abstract TaskInstance for migration
(#3720)](https://github.com/apache/airflow/pull/3720): @bolkedebruin
Thanks to all who contributed to the release (probably not a complete list!):
@afarbos @andscoop @tedmiston @ashb @bolkedebruin
```
(new-env) ➜ airflow git:(issueContentToBreeze) ✗ breeze release-management
generate-issue-content-core --previous-release 1.9.0 --current-release 1.10.0
--verbose
/Users/adesai/.local/pipx/venvs/apache-airflow-breeze/lib/python3.9/site-packages/urllib3/__init__.py:34:
NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the
'ssl' module is compiled with 'LibreSSL 2.8.3'. See:
https://github.com/urllib3/urllib3/issues/3020
warnings.warn(
/Users/adesai/Documents/OSS/airflow/dev/breeze/src/airflow_breeze/commands
/Users/adesai/Documents/OSS/airflow
Command to run: 'git log --pretty=format:%H %h %cd %s --date=short
1.9.0...1.10.0 -- .'
Retrieving PR#3701: https://github.com/apache/airflow/pull/3701
Retrieving PR#3720: https://github.com/apache/airflow/pull/3720
Retrieving PR#3708: https://github.com/apache/airflow/pull/3708
Retrieving PR#3700: https://github.com/apache/airflow/pull/3700
Retrieving PR#3703: https://github.com/apache/airflow/pull/3703
Retrieving PR#3660: https://github.com/apache/airflow/pull/3660
Retrieving PR#24: https://github.com/apache/airflow/pull/24
Retrieving 7 PRs ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
We are kindly requesting that contributors to [Apache Airflow RC
1.10.0](https://pypi.org/project/apache-airflow/1.10.0/) help test the RC.
Please let us know by commenting if the issue is addressed in the latest RC.
- [ ] [Fix run_unit_tests.sh
(#24)](https://github.com/apache/airflow/pull/24): @afarbos
- [ ] [[AIRFLOW-2817] Force explicit choice on GPL dependency
(#3660)](https://github.com/apache/airflow/pull/3660): @bolkedebruin
- [ ] [[AIRFLOW-2140] Don't require kubernetes for the SparkSubmit hook
(#3700)](https://github.com/apache/airflow/pull/3700): @ashb
- [ ] [[AIRFLOW-2856] Pass in SLUGIFY_USES_TEXT_UNIDECODE=yes ENV to docker
run (#3701)](https://github.com/apache/airflow/pull/3701): @andscoop
- [ ] [[AIRFLOW-2857] Fix broken RTD env
(#3703)](https://github.com/apache/airflow/pull/3703): @tedmiston
- [ ] [[AIRFLOW-2859] Implement own UtcDateTime
(#3708)](https://github.com/apache/airflow/pull/3708): @bolkedebruin
- [ ] [[AIRFLOW-2870] Use abstract TaskInstance for migration
(#3720)](https://github.com/apache/airflow/pull/3720): @bolkedebruin
Thanks to all who contributed to the release (probably not a complete list!):
@bolkedebruin @afarbos @ashb @tedmiston @andscoop
```
<!-- Please keep an empty line above the dashes. -->
---
**^ Add meaningful description above**
Read the **[Pull Request
Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)**
for more information.
In case of fundamental code changes, an Airflow Improvement Proposal
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals))
is needed.
In case of a new dependency, check compliance with the [ASF 3rd Party
License Policy](https://www.apache.org/legal/resolved.html#category-x).
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](https://github.com/apache/airflow/tree/main/newsfragments).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]