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

Fix link to Apache Airflow docs in webserver #13250

Merged
merged 1 commit into from Jan 24, 2021

Conversation

turbaszek
Copy link
Member

@turbaszek turbaszek commented Dec 22, 2020

Current link returns 404
https://airflow.apache.org/docs/2.0.0


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

self.assertEqual(expected_urk, get_docs_url(page))
self.assertEqual(expected_url, get_docs_url(page))
resp = requests.get(expected_url)
assert resp.status_code == 200
Copy link
Member Author

@turbaszek turbaszek Dec 22, 2020

Choose a reason for hiding this comment

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

Not sure about sending requests (in general it's not best practice) but I don't know other way to make sure what we use works - without this the test gives false positives.

Copy link
Member

Choose a reason for hiding this comment

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

It seems fine in this case, but we can speed up this code a bit if we use HEAD requests.

@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest master at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Dec 22, 2020
@turbaszek
Copy link
Member Author

@kaxil should we mark it as 2.0.1?

@kaxil kaxil added this to the Airflow 2.0.1 milestone Jan 6, 2021
@kaxil
Copy link
Member

kaxil commented Jan 6, 2021

@kaxil should we mark it as 2.0.1?

Yup, just marked

tests/utils/test_docs.py Outdated Show resolved Hide resolved
@github-actions
Copy link

The Workflow run is cancelling this PR. Building images for the PR has failed. Follow the the workflow link to check the reason.

@github-actions
Copy link

The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Backport packages$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*.

@kaxil
Copy link
Member

kaxil commented Jan 19, 2021

Conflicting files here @turbaszek

@kaxil kaxil added the priority:low Bug with a simple workaround that would not block a release label Jan 19, 2021
@turbaszek turbaszek requested a review from kaxil January 23, 2021 11:18
@github-actions
Copy link

The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Backport packages$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*.

@potiuk
Copy link
Member

potiuk commented Jan 24, 2021

The problems were temporary due to wrongly generated constraints (they were there generated from python3.8 in python 3.6 for about an hour by my mistake)

@potiuk potiuk merged commit c90485c into apache:master Jan 24, 2021
@potiuk potiuk deleted the fix-docs-link branch January 24, 2021 04:31
kaxil pushed a commit that referenced this pull request Jan 27, 2021
kaxil added a commit to astronomer/airflow that referenced this pull request Jan 30, 2021
apache#13250 missed a case to update
URL in `tests/www/test_views.py`.
@kaxil kaxil mentioned this pull request Jan 30, 2021
kaxil added a commit that referenced this pull request Jan 30, 2021
#13250 missed a case to update
URL in `tests/www/test_views.py`.

(cherry picked from commit 2a90473)
XD-DENG pushed a commit that referenced this pull request Jan 31, 2021
#13250 missed a case to update
URL in `tests/www/test_views.py`.
kaxil added a commit that referenced this pull request Feb 1, 2021
#13250 missed a case to update
URL in `tests/www/test_views.py`.

(cherry picked from commit 9840e40)
kaxil pushed a commit that referenced this pull request Feb 4, 2021
kaxil added a commit that referenced this pull request Feb 4, 2021
#13250 missed a case to update
URL in `tests/www/test_views.py`.

(cherry picked from commit 9840e40)
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 16, 2021
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

(cherry picked from commit 9840e406fd20b91959d603a42f381b014e86d2b3)

GitOrigin-RevId: 7c152906d55a98cca07ca81346f25d06fe578f1c
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 17, 2021
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 23, 2021
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Nov 27, 2021
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Mar 10, 2022
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 4, 2022
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 7, 2022
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

(cherry picked from commit 9840e406fd20b91959d603a42f381b014e86d2b3)

GitOrigin-RevId: 7c152906d55a98cca07ca81346f25d06fe578f1c
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jul 9, 2022
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Aug 27, 2022
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 4, 2022
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
aglipska pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 7, 2022
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Dec 7, 2022
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jan 27, 2023
apache/airflow#13250 missed a case to update
URL in `tests/www/test_views.py`.

GitOrigin-RevId: 9840e406fd20b91959d603a42f381b014e86d2b3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge priority:low Bug with a simple workaround that would not block a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants