From 09bf909d8bd5c532545e7bdc1e8410a6043a56c6 Mon Sep 17 00:00:00 2001 From: David Davis Date: Thu, 16 Jul 2026 14:01:35 -0400 Subject: [PATCH] Update repository URLs to pulp org (#40) The repo moved to https://github.com/pulp/pulp_workflow and the CLI plugin to https://github.com/pulp/pulp-cli-workflow. Assisted-by: GitHub Copilot (Claude Opus 4.8) Co-authored-by: David Davis <86290+daviddavis@users.noreply.github.com> (cherry picked from commit adfb33940f3bd4b17c12b0fca184045d19babe22) --- .github/workflows/scripts/build_python_client.sh | 4 ++-- .github/workflows/scripts/update_backport_labels.py | 8 +++----- CHANGES.md | 8 ++++---- README.md | 6 +++--- pyproject.toml | 6 +++--- releasing.md | 8 ++++---- template_config.yml | 4 ++-- 7 files changed, 21 insertions(+), 23 deletions(-) diff --git a/.github/workflows/scripts/build_python_client.sh b/.github/workflows/scripts/build_python_client.sh index cf862ae..8e27b91 100755 --- a/.github/workflows/scripts/build_python_client.sh +++ b/.github/workflows/scripts/build_python_client.sh @@ -40,8 +40,8 @@ site_name: PulpWorkflow Client site_description: Workflow bindings site_author: Pulp Team site_url: https://docs.pulpproject.org/pulp_workflow_client/ -repo_name: daviddavis/pulp_workflow -repo_url: https://github.com/daviddavis/pulp_workflow +repo_name: pulp/pulp_workflow +repo_url: https://github.com/pulp/pulp_workflow theme: readthedocs DOCSYAML diff --git a/.github/workflows/scripts/update_backport_labels.py b/.github/workflows/scripts/update_backport_labels.py index d935693..25f94a0 100755 --- a/.github/workflows/scripts/update_backport_labels.py +++ b/.github/workflows/scripts/update_backport_labels.py @@ -29,9 +29,7 @@ def random_color(): session.headers.update(headers) # get all labels from the repository's current state -response = session.get( - "https://api.github.com/repos/daviddavis/pulp_workflow/labels", headers=headers -) +response = session.get("https://api.github.com/repos/pulp/pulp_workflow/labels", headers=headers) assert response.status_code == 200 old_labels = set([x["name"] for x in response.json() if x["name"].startswith("backport-")]) @@ -47,7 +45,7 @@ def random_color(): # delete old labels that are not in new labels for label in old_labels.difference(new_labels): response = session.delete( - f"https://api.github.com/repos/daviddavis/pulp_workflow/labels/{label}", headers=headers + f"https://api.github.com/repos/pulp/pulp_workflow/labels/{label}", headers=headers ) assert response.status_code == 204 @@ -55,7 +53,7 @@ def random_color(): for label in new_labels.difference(old_labels): color = random_color() response = session.post( - "https://api.github.com/repos/daviddavis/pulp_workflow/labels", + "https://api.github.com/repos/pulp/pulp_workflow/labels", headers=headers, json={"name": label, "color": color}, ) diff --git a/CHANGES.md b/CHANGES.md index 20e9520..baa3e21 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,9 +13,9 @@ #### Features {: #0.2.0-feature } - Added a `pulpcore-manager add-callback-service` management command for registering a `CallbackService` from the worker host (mirrors pulpcore's `add-signing-service`). Useful for image bootstrap scripts that need to register a callback before the API serves traffic. - [#30](https://github.com/daviddavis/pulp_workflow/issues/30) + [#30](https://github.com/pulp/pulp_workflow/issues/30) - Added `list-callback-services` and `remove-callback-service` management commands for inspecting and removing registered `CallbackService` rows, mirroring pulpcore's `list-signing-services` and `remove-signing-service`. - [#36](https://github.com/daviddavis/pulp_workflow/issues/36) + [#36](https://github.com/pulp/pulp_workflow/issues/36) --- @@ -33,13 +33,13 @@ No significant changes. ``{"state": "canceled"}`` now cancels in-flight child tasks and queued continuations via the workflow's ``TaskGroup``; canceling the ``TaskGroup`` directly also propagates ``CANCELED`` to the ``Workflow``. - [#4](https://github.com/daviddavis/pulp_workflow/issues/4) + [#4](https://github.com/pulp/pulp_workflow/issues/4) - Added user-registered callbacks that fire on `Workflow` lifecycle events. A new `CallbackService` resource (modeled after pulpcore's `SigningService`) points at an absolute path to an executable; it is attached to a workflow via a `WorkflowCallback` whose `callback_type` selects the event (`running`, `completed`, etc). The script runs as a Pulp task with workflow context available as environment variables. - [#10](https://github.com/daviddavis/pulp_workflow/issues/10) + [#10](https://github.com/pulp/pulp_workflow/issues/10) - Added support for ``pulp_labels`` on Workflows. Labels can be set at create time, updated via the ``set_label``/``unset_label`` actions, and used to filter the list endpoint with ``pulp_label_select``. diff --git a/README.md b/README.md index ee3d3c5..add7d5c 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,12 @@ workflow, cancel it (if it has not yet started) and create a new one. The demo walks through syncing and publishing a file repo via a Workflow, with a callback that notifies a messaging service (e.g. Discord/Slack) on completion. Watch the [YouTube demo](https://www.youtube.com/watch?v=Cqkh_DUPefY) -for a video walkthrough, or follow the [written demo guide](https://github.com/daviddavis/pulp_workflow/blob/main/docs/demo/README.md) +for a video walkthrough, or follow the [written demo guide](https://github.com/pulp/pulp_workflow/blob/main/docs/demo/README.md) to run it yourself end-to-end. ## CLI -If you're using the `pulp-cli`, be sure to check out [our pulp-workflow plugin](https://github.com/daviddavis/pulp-cli-workflow). +If you're using the `pulp-cli`, be sure to check out [our pulp-workflow plugin](https://github.com/pulp/pulp-cli-workflow). ## Endpoints @@ -72,4 +72,4 @@ an error if no such row exists. ## Design For details on how workflows execute, integrate with pulpcore `TaskGroup`s, -and handle cancellation, see the [design doc](https://github.com/daviddavis/pulp_workflow/blob/main/docs/design.md). +and handle cancellation, see the [design doc](https://github.com/pulp/pulp_workflow/blob/main/docs/design.md). diff --git a/pyproject.toml b/pyproject.toml index fb0b82a..c3031d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,8 +28,8 @@ dependencies = [ [project.urls] Homepage = "https://pulpproject.org" -Repository = "https://github.com/daviddavis/pulp_workflow" -"Bug Tracker" = "https://github.com/daviddavis/pulp_workflow/issues" +Repository = "https://github.com/pulp/pulp_workflow" +"Bug Tracker" = "https://github.com/pulp/pulp_workflow/issues" [project.entry-points."pulpcore.plugin"] pulp_workflow = "pulp_workflow:default_app_config" @@ -45,7 +45,7 @@ filename = "CHANGES.md" directory = "CHANGES/" title_format = "## {version} ({project_date}) {{: #{version} }}" template = "CHANGES/.TEMPLATE.md" -issue_format = "[#{issue}](https://github.com/daviddavis/pulp_workflow/issues/{issue})" +issue_format = "[#{issue}](https://github.com/pulp/pulp_workflow/issues/{issue})" start_string = "[//]: # (towncrier release notes start)\n" underlines = ["", "", ""] diff --git a/releasing.md b/releasing.md index 6506c9c..f14f79f 100644 --- a/releasing.md +++ b/releasing.md @@ -16,14 +16,14 @@ This document outlines the steps to perform a release. ``` ### Release a New Y-version (e.g., 3.23.0) -- If a new minor version (Y) is needed, trigger a [Create New Release Branch](https://github.com/daviddavis/pulp_workflow/actions/workflows/create-branch.yml) job from the main branch via the GitHub Actions. +- If a new minor version (Y) is needed, trigger a [Create New Release Branch](https://github.com/pulp/pulp_workflow/actions/workflows/create-branch.yml) job from the main branch via the GitHub Actions. - Look for the "Bump minor version" pull request and merge it. -- Trigger a [Release Pipeline](https://github.com/daviddavis/pulp_workflow/actions/workflows/release.yml) job by specifying the new release branch (X.**Y**) via the GitHub Actions. +- Trigger a [Release Pipeline](https://github.com/pulp/pulp_workflow/actions/workflows/release.yml) job by specifying the new release branch (X.**Y**) via the GitHub Actions. ### Release a New Z-version (Patch Release) (e.g., 3.23.1, 3.22.12) -- Trigger a [Release Pipeline](https://github.com/daviddavis/pulp_workflow/actions/workflows/release.yml) job by specifying the release branch (X.Y) via the GitHub Actions. +- Trigger a [Release Pipeline](https://github.com/pulp/pulp_workflow/actions/workflows/release.yml) job by specifying the release branch (X.Y) via the GitHub Actions. ## Final Steps -- Ensure the new version appears on PyPI (it should appear after [Publish Release](https://github.com/daviddavis/pulp_workflow/actions/workflows/publish.yml) workflow succeeds). +- Ensure the new version appears on PyPI (it should appear after [Publish Release](https://github.com/pulp/pulp_workflow/actions/workflows/publish.yml) workflow succeeds). - Verify that the changelog has been updated by looking for the "Update Changelog" pull request (A new PR should be available on the next day). - [optional] Post a brief announcement about the new release on the [Pulp Discourse](https://discourse.pulpproject.org/). diff --git a/template_config.yml b/template_config.yml index 5486af1..a27255d 100644 --- a/template_config.yml +++ b/template_config.yml @@ -21,8 +21,8 @@ deploy_to_pypi: true disabled_redis_runners: [] docker_fixtures: false extra_files: [] -github_org: "daviddavis" -latest_release_branch: null +github_org: "pulp" +latest_release_branch: "0.2" lint_ignore: [] lint_requirements: true os_required_packages: []