This is an automated email from the ASF dual-hosted git repository.
jscheffl pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new b89bd5dc194 [v2-10-test] Bugfix some Doc urls in repo (#45007) (#45010)
b89bd5dc194 is described below
commit b89bd5dc194def841789055852ac75d874a5aa2a
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Dec 18 18:03:08 2024 +0100
[v2-10-test] Bugfix some Doc urls in repo (#45007) (#45010)
* Fix pre-commit doc URL
* Fix other broken URLs to GIT in docs
(cherry picked from commit 947c25d5e9d7bdfaf82bccf5bca58bac8c38daed)
Co-authored-by: Jens Scheffler <[email protected]>
---
dev/breeze/src/airflow_breeze/commands/ci_image_commands.py | 2 +-
docs/docker-stack/README.md | 2 +-
docs/docker-stack/index.rst | 2 +-
scripts/ci/pre_commit/new_session_in_provide_session.py | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
index cc6274775f4..1c424d9e2d3 100644
--- a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
@@ -726,7 +726,7 @@ def should_we_run_the_build(build_ci_params: BuildCiParams)
-> bool:
get_console().print(
f"[info]Please rebase your code to latest
{build_ci_params.airflow_branch} "
"before continuing.[/]\nCheck this link to find out
how "
-
"https://github.com/apache/airflow/blob/main/contributing-docs/11_working_with_git.rst\n"
+
"https://github.com/apache/airflow/blob/main/contributing-docs/10_working_with_git.rst\n"
)
get_console().print("[error]Exiting the process[/]\n")
sys.exit(1)
diff --git a/docs/docker-stack/README.md b/docs/docker-stack/README.md
index 63c7e80d343..9369660e2cc 100644
--- a/docs/docker-stack/README.md
+++ b/docs/docker-stack/README.md
@@ -63,7 +63,7 @@ packages or even custom providers. You can learn how to do it
in [Building the i
The production images are build in DockerHub from released version and release
candidates. There
are also images published from branches but they are used mainly for
development and testing purpose.
-See [Airflow Git
Branching](https://github.com/apache/airflow/blob/main/contributing-docs/working-with-git#airflow-git-branches)
+See [Airflow Git
Branching](https://github.com/apache/airflow/blob/main/contributing-docs/10_working_with_git.rst#airflow-git-branches)
for details.
## Usage
diff --git a/docs/docker-stack/index.rst b/docs/docker-stack/index.rst
index 80f899aca9d..12ffa94ecae 100644
--- a/docs/docker-stack/index.rst
+++ b/docs/docker-stack/index.rst
@@ -80,7 +80,7 @@ packages or even custom providers. You can learn how to do it
in :ref:`Building
The production images are build in DockerHub from released version and release
candidates. There
are also images published from branches but they are used mainly for
development and testing purpose.
-See `Airflow Git Branching
<https://github.com/apache/airflow/blob/main/contributing-docs/working-with-git#airflow-git-branches>`_
+See `Airflow Git Branching
<https://github.com/apache/airflow/blob/main/contributing-docs/10_working_with_git.rst#airflow-git-branches>`_
for details.
Fixing images at release time
diff --git a/scripts/ci/pre_commit/new_session_in_provide_session.py
b/scripts/ci/pre_commit/new_session_in_provide_session.py
index b6ba24cccff..badef094489 100755
--- a/scripts/ci/pre_commit/new_session_in_provide_session.py
+++ b/scripts/ci/pre_commit/new_session_in_provide_session.py
@@ -119,7 +119,7 @@ def main(argv: list[str]) -> int:
print("Only function decorated with @provide_session should use
'session: Session = NEW_SESSION'.")
print(
"See: https://github.com/apache/airflow/blob/main/"
-
"contributing-docs/creating_issues_and_pull_requests#database-session-handling"
+ "contributing-docs/05_pull_requests.rst#database-session-handling"
)
return len(errors)