-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Revising instructions to run back referencing scripts #32613
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
Conversation
|
@potiuk looks to me that this is the final PR to wind up the issue :) |
dev/README_RELEASE_AIRFLOW.md
Outdated
| cd post-docs | ||
| python add-back-references.py airflow | ||
| cd .. | ||
| breeze release-management add-back-references --airflow-site-director DIRECTORY --gen-type airflow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should not add the flag here. Those are real copy-pasteable instructions, it should just-work
You should remove the flags, and ENVVAR will kick in here. If you look up AIRLFOW_SITE_DIRECTORY is set few steps above , so just running it without the flag should work here (and in the other places).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay makes sense. Corrected it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I mean is to remove the flag altogether - this is how it works
| cd "${AIRFLOW_SITE_DIRECTORY}" | ||
| cd post-docs | ||
| python add-back-references.py providers | ||
| breeze release-management add-back-references --airflow-site-directory --gen-type providers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't work for me
➜ airflow-site git:(main) ✗ breeze release-management add-back-references --airflow-site-directory --gen-type providers
Usage: breeze release-management add-back-references [OPTIONS]
Try running the '--help' flag for more information.
╭─ Error ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Missing option '-g' / '--gen-type'. │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
To find out more, visit https://github.com/apache/airflow/blob/main/BREEZE.rst
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reporting
I will have a look at it and fix it soon if there's an issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you try without the --airflow-directory? What does it complain?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes --airflow-site-directory is a clear problem. It treats --gen-dir as value of the --airflow-site-directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, i have fixed this in a follow up PR
Revising the instructions on how to run the back referring scripts now that it is present with breeze