From bdce7166b87873f7822ad8a71da35a0d58e539d1 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 12 Feb 2025 09:06:53 -0300 Subject: [PATCH] docs: rust-unifier: Iterate over all pipelines to find latest gstreamer-rs docs Since the documentation job is manually triggered, the latest docs might not be in the most recent pipelines. Change the pipeline listing to iterate over all pipelines until we find the last successful documentation build. Part-of: --- subprojects/gst-docs/scripts/rust_doc_unifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-docs/scripts/rust_doc_unifier.py b/subprojects/gst-docs/scripts/rust_doc_unifier.py index 8d884146b4..abb057ab84 100755 --- a/subprojects/gst-docs/scripts/rust_doc_unifier.py +++ b/subprojects/gst-docs/scripts/rust_doc_unifier.py @@ -29,7 +29,7 @@ def get_documentation_artifact_url(project_name='gstreamer/gstreamer', """ gl = gitlab.Gitlab("https://gitlab.freedesktop.org/") project = gl.projects.get(project_name) - pipelines = project.pipelines.list(get_all=False) + pipelines = project.pipelines.list(iterator=True) for pipeline in pipelines: if pipeline.ref != branch: continue