You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2023/11/13 22:06:26 UTC
[PR] Add instructions on how to verify sources for PMC members [airflow-client-python]
potiuk opened a new pull request, #101:
URL: https://github.com/apache/airflow-client-python/pull/101
(no comment)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add instructions on how to verify sources for PMC members [airflow-client-python]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #101:
URL: https://github.com/apache/airflow-client-python/pull/101#issuecomment-1809238535
> Ultimately, this could be handled by breeze, like release-management, client release, create-rc. And we would not have to do anything else than running a simple comman, minimizing the risk of error.
Agree. And run it on CI to verify that it works - we kind-of-doing-it already, we have open-api-client generation - but it does not use breeze. but having both "build" and "verify-provenence" steps as a ready to run command in Breeze would be a nice thing to automate.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add instructions on how to verify sources for PMC members [airflow-client-python]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #101:
URL: https://github.com/apache/airflow-client-python/pull/101
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add instructions on how to verify sources for PMC members [airflow-client-python]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on PR #101:
URL: https://github.com/apache/airflow-client-python/pull/101#issuecomment-1809226890
Ultimately, this could be handled by breeze, like release-management, client release, create-rc. And we would not have to do anything else than running a simple command.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add instructions on how to verify sources for PMC members [airflow-client-python]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #101:
URL: https://github.com/apache/airflow-client-python/pull/101#issuecomment-1809241583
Of course there is always a risk of over-automating AKA "who checks the checks" and something to keep it running, but once we run it in CI and make some proper diagnostics ouput to show the steps being executed and output (diff) + something that I also just did - run it on WRONG version and see differences to make sure that it **actually** detects difference, should be good enough.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add instructions on how to verify sources for PMC members [airflow-client-python]
Posted by "hussein-awala (via GitHub)" <gi...@apache.org>.
hussein-awala commented on code in PR #101:
URL: https://github.com/apache/airflow-client-python/pull/101#discussion_r1391758573
##########
dev/README_RELEASE_CLIENT.md:
##########
@@ -283,6 +283,20 @@ See Airflow process documented [here](https://github.com/apache/airflow/blob/mas
## Signature check
See Airflow process documented [here](https://github.com/apache/airflow/blob/master/dev/README_RELEASE_AIRFLOW.md#signature-check).
+## Sources check
+
+The code of the Python Client is generated using Open API generator and the generated code is committed to
+the repository, therefore the Source code check should consist of two steps:
+
+1. Checkout the release tag of the "airflow-client-python"
+2. Follow the [Release process](#release-process) above and generate client's code above
+3. Run ``git diff`` to see the differences - review them. Generally the code generated should only contain
Review Comment:
```suggestion
3. Run ``git diff`` to see the differences - review them. Generally, the code generated should only contain
```
##########
dev/README_RELEASE_CLIENT.md:
##########
@@ -283,6 +283,20 @@ See Airflow process documented [here](https://github.com/apache/airflow/blob/mas
## Signature check
See Airflow process documented [here](https://github.com/apache/airflow/blob/master/dev/README_RELEASE_AIRFLOW.md#signature-check).
+## Sources check
+
+The code of the Python Client is generated using Open API generator and the generated code is committed to
+the repository, therefore the Source code check should consist of two steps:
+
+1. Checkout the release tag of the "airflow-client-python"
+2. Follow the [Release process](#release-process) above and generate client's code above
+3. Run ``git diff`` to see the differences - review them. Generally the code generated should only contain
+ small differences regarding authentication.
+4. git reset --hard <RELEASE_TAG>
+
+Compare the sources with the packaged sources following the process describd in Airflow:
Review Comment:
```suggestion
Compare the sources with the packaged sources following the process described in Airflow:
```
##########
dev/README_RELEASE_CLIENT.md:
##########
@@ -283,6 +283,20 @@ See Airflow process documented [here](https://github.com/apache/airflow/blob/mas
## Signature check
See Airflow process documented [here](https://github.com/apache/airflow/blob/master/dev/README_RELEASE_AIRFLOW.md#signature-check).
+## Sources check
+
+The code of the Python Client is generated using Open API generator and the generated code is committed to
Review Comment:
```suggestion
The code of the Python Client is generated using OpenAPII generator and the generated code is committed to
```
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add instructions on how to verify sources for PMC members [airflow-client-python]
Posted by "hussein-awala (via GitHub)" <gi...@apache.org>.
hussein-awala commented on code in PR #101:
URL: https://github.com/apache/airflow-client-python/pull/101#discussion_r1391758034
##########
dev/README_RELEASE_CLIENT.md:
##########
@@ -283,6 +283,20 @@ See Airflow process documented [here](https://github.com/apache/airflow/blob/mas
## Signature check
See Airflow process documented [here](https://github.com/apache/airflow/blob/master/dev/README_RELEASE_AIRFLOW.md#signature-check).
+## Sources check
+
+The code of the Python Client is generated using Open API generator and the generated code is committed to
Review Comment:
```suggestion
The code of the Python Client is generated using OpenAPI generator and the generated code is committed to
```
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org