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

Improve Quick Start instructions #30820

Merged
merged 2 commits into from
Apr 23, 2023
Merged

Improve Quick Start instructions #30820

merged 2 commits into from
Apr 23, 2023

Conversation

ZaneBartlett1
Copy link
Contributor

For context, I'm a pretty new developer, but I personally had a bit of a hard time parsing the Quick Start instructions with them in one giant code block and instead thought they were actually some sort of configuration file.

image

The four changes that I'm suggesting in this all relate to the instructions found in the code block, they are -

  1. Breaking the code block up by step

  2. Including a note about setting the AIRFLOW_HOME variable before installation. This is pretty small but I think was part of what contributed to me being confused that this is not a config file as I'm not too used to setting environment variables for an application I haven't installed before.

  3. On step two, making a note/more explicit how the URL and constraint file ties together. That language of "Install Airflow using the constraints file", once I understood what was happening made total sense, but having the text be a bit more verbose would have saved me some time. My understanding at this time, which could be wrong (in which case I think that text still needs to be updated) is that our URL being passed will determine what constraint file to use.

  4. Making a note that the PYTHON_VERSION is being extracted as well as setting it manually if the user is running python 3.11 on their machine.


^ 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.

@potiuk
Copy link
Member

potiuk commented Apr 23, 2023

Nice!

@potiuk potiuk added this to the Airflow 2.6.0 milestone Apr 23, 2023
@potiuk
Copy link
Member

potiuk commented Apr 23, 2023

Assuming tests pass, that would be yet ANOTHER doc-only candidate for 2.6.0 assuming we are not releasing now @ephraimbuddy @pierrejeambrun

@potiuk potiuk merged commit f5f35b3 into apache:main Apr 23, 2023
@boring-cyborg
Copy link

boring-cyborg bot commented Apr 23, 2023

Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions.

@potiuk
Copy link
Member

potiuk commented Apr 23, 2023

Thanks @ZaneBartlett1 !

@ZaneBartlett1 ZaneBartlett1 deleted the patch-2 branch April 23, 2023 23:10
@ZaneBartlett1
Copy link
Contributor Author

Happy to help!

@potiuk potiuk modified the milestones: Airflow 2.6.0, Airflow 2.6.1 Apr 24, 2023
@ephraimbuddy ephraimbuddy added the type:doc-only Changelog: Doc Only label May 8, 2023
ephraimbuddy pushed a commit that referenced this pull request May 8, 2023
Co-authored-by: Jarek Potiuk <[email protected]>
(cherry picked from commit f5f35b3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants