Skip to content

Packit-service post migration of dist-git: Clean up old, Pagure-specific code #3189

Open

Description

@betulependule

After the migration of dist-git, we can remove all old code pertaining to Pagure.

TODO:

  • Delete the packit-service/events/pagure directory entirely
  • Remove Pagure event parsing in parser.py
  • Remove Pagure logic and special cases in SteveJobs such as:
    if not isinstance(self.event, pagure.pr.Comment):
    self.event.comment_object.add_reaction(COMMENT_REACTION)
  • Remove Pagure event types (pagure.pr.Action, etc.) from EventData
  • Remove Pagure event types from Allowlist
  • Remove Pagure-specific code in worker/checker, worker/handlers, worker/reporting
  • Simplify isinstance() checks that include both ForgejoProject and PagureProject
  • Remove Pagure events from all @reacts_to_as_fedora_ci() and @reacts_to() decorators
  • Make sure old Pagure-related tests have Forgejo equivalents before deleting them as part of the next point
  • Remove old Pagure-related tests
  • Sweep docstrings for leftover Pagure mentions (unless still justified)

Activity

  1. added
    kind/internal
    on Sep 18, 2026
  2. fullsend-ai-triage commented on Sep 18, 2026

    @fullsend-ai-triage

    🤖 Triage · ⚠️ Cancelled · Started 12:35 PM UTC · Ended 12:35 PM UTC

    Commit: 12fcbb2 · View workflow run →

  3. fullsend-ai-triage commented on Sep 18, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 12:37 PM UTC · Completed 12:41 PM UTC

    Commit: 12fcbb2 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.03

  4. added
    blocked
    kind/technical-debt
    area/forgejo
    on Sep 18, 2026
  5. fullsend-ai-triage commented on Sep 18, 2026

    @fullsend-ai-triage

    This cleanup is blocked on the completion of the dist-git migration from Pagure to Forgejo. The Pagure-specific code paths (events, parsers, handlers, allowlist entries, tests) are still potentially active until the migration fully lands.

    The three prerequisite issues are all still open:

    This issue is a sub-task of #3187 (the cross-repo cleanup umbrella) and shares the same blockers. Once these prerequisites are resolved and Pagure dist-git events are no longer flowing, the 10 cleanup items listed here can proceed safely.

    This will be re-evaluated when the prerequisite issues make progress.

    Blocked by:


    Labels: Adding technical-debt, area/forgejo, and blocked labels to match conventions from the parent issue #3187, since this is a Pagure-to-Forgejo migration cleanup blocked on external dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/forgejoblockedkind/internalkind/technical-debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions