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

Update links to example dags to point to the right github URL #610

Merged
merged 1 commit into from
Jun 9, 2022

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jun 9, 2022

The links to example DAGs from all versions of the providers
pointed to "main" version of the example DAGS. This was wrong
because it always shown the "latest" version of the examples,
and it got additionally broken by AIP-47 where example_dags
folder is essentially removed from all providers.

This change updates the links to the "right" version of
example dags for all providers, including cleaning up
and removing the links that were pointing to non-existing
example_dags folders (because example_dags were missing in
the specific version of the provider).

This is related to apache/airflow#24331

The links to example DAGs from all versions of the providers
pointed to "main" version of the example DAGS. This was wrong
because it always shown the "latest" version of the examples,
and it got additionally broken by AIP-47 where example_dags
folder is essentially removed from all providers.

This change updates the links to the "right" version of
example dags for all providers, including cleaning up
and removing the links that were pointing to non-existing
example_dags folders (because example_dags were missing in
the specific version of the provider).

This is related to apache/airflow#24331
@potiuk potiuk requested a review from josh-fell June 9, 2022 15:59
@potiuk
Copy link
Member Author

potiuk commented Jun 9, 2022

cc: @deeptansh

@potiuk potiuk merged commit 9816148 into main Jun 9, 2022
potiuk added a commit that referenced this pull request Jun 9, 2022
The #610 removed too many links because GitHub throttled checking
if URLS are available.

This PR is re-done with better checking for error code.
potiuk added a commit to potiuk/airflow that referenced this pull request Jun 9, 2022
The documentation generated used "main" in the URL of the
example DAGs.

The generation of the links have been fixed in the apache#24307, but this
PR adds a tool that has been used to fix existing links in generated
documentation resulting in apache/airflow-site#610

Fixes: apache#24331
potiuk added a commit that referenced this pull request Jun 9, 2022
The #610 removed too many links because GitHub throttled checking
if URLS are available.

This PR is re-done with better checking for error code.
potiuk added a commit to apache/airflow that referenced this pull request Jun 9, 2022
The documentation generated used "main" in the URL of the
example DAGs.

The generation of the links have been fixed in the #24307, but this
PR adds a tool that has been used to fix existing links in generated
documentation resulting in apache/airflow-site#610

Fixes: #24331
ephraimbuddy pushed a commit to apache/airflow that referenced this pull request Jun 30, 2022
The documentation generated used "main" in the URL of the
example DAGs.

The generation of the links have been fixed in the #24307, but this
PR adds a tool that has been used to fix existing links in generated
documentation resulting in apache/airflow-site#610

Fixes: #24331
(cherry picked from commit 85c247a)
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 4, 2022
The documentation generated used "main" in the URL of the
example DAGs.

The generation of the links have been fixed in the #24307, but this
PR adds a tool that has been used to fix existing links in generated
documentation resulting in apache/airflow-site#610

Fixes: #24331
(cherry picked from commit 85c247ae10da5ee93f26352d369f794ff4f2e47c)
GitOrigin-RevId: f5dd1f3f6b939b4cb60f092430894d2fe6b12243
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Dec 7, 2022
The documentation generated used "main" in the URL of the
example DAGs.

The generation of the links have been fixed in the #24307, but this
PR adds a tool that has been used to fix existing links in generated
documentation resulting in apache/airflow-site#610

Fixes: #24331
(cherry picked from commit 85c247ae10da5ee93f26352d369f794ff4f2e47c)
GitOrigin-RevId: f5dd1f3f6b939b4cb60f092430894d2fe6b12243
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jan 27, 2023
The documentation generated used "main" in the URL of the
example DAGs.

The generation of the links have been fixed in the #24307, but this
PR adds a tool that has been used to fix existing links in generated
documentation resulting in apache/airflow-site#610

Fixes: #24331
GitOrigin-RevId: 85c247ae10da5ee93f26352d369f794ff4f2e47c
potiuk added a commit that referenced this pull request Jun 17, 2023
The links to example DAGs from all versions of the providers
pointed to "main" version of the example DAGS. This was wrong
because it always shown the "latest" version of the examples,
and it got additionally broken by AIP-47 where example_dags
folder is essentially removed from all providers.

This change updates the links to the "right" version of
example dags for all providers, including cleaning up
and removing the links that were pointing to non-existing
example_dags folders (because example_dags were missing in
the specific version of the provider).

This is related to apache/airflow#24331
potiuk added a commit that referenced this pull request Jun 17, 2023
The #610 removed too many links because GitHub throttled checking
if URLS are available.

This PR is re-done with better checking for error code.
@potiuk potiuk deleted the fix-links-to-example-dags branch June 17, 2023 12:55
kosteev pushed a commit to kosteev/composer-airflow-test-copybara that referenced this pull request Sep 12, 2024
The documentation generated used "main" in the URL of the
example DAGs.

The generation of the links have been fixed in the #24307, but this
PR adds a tool that has been used to fix existing links in generated
documentation resulting in apache/airflow-site#610

Fixes: #24331
(cherry picked from commit 85c247ae10da5ee93f26352d369f794ff4f2e47c)
GitOrigin-RevId: f5dd1f3f6b939b4cb60f092430894d2fe6b12243
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 18, 2024
The documentation generated used "main" in the URL of the
example DAGs.

The generation of the links have been fixed in the #24307, but this
PR adds a tool that has been used to fix existing links in generated
documentation resulting in apache/airflow-site#610

Fixes: #24331
GitOrigin-RevId: 85c247ae10da5ee93f26352d369f794ff4f2e47c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants