Skip to content

New Feature: Issue Sync #75

Open
@tierra

Description

@tierra

I've only just barely started work on this, but thought I'd drop a note in case anyone was interested in helping out with it or has some early feedback, ideas, suggestions, or recommendations...

I'm already using this plugin to keep git mirrors on Trac in sync with our authoritative repos on GitHub, but have found the lack of any Trac plugins with the ability to sync GitHub pull requests over to Trac, or sync activity on Trac back over to the appropriate GitHub pull requests to be painful. I'm sure others like us find GitHub issues severely lacking where Trac excels, or have just been using Trac issues for so long that it wouldn't be cost effective to switch have also wished for this kind of functionality. Everyone wants an official repository on GitHub for visibility and collaboration, but finds it annoying that pull requests can't be disabled when you still want patches submitted to Trac.

I've decided to extend this plugin with the ability to sync issue activity between Trac and GitHub. At least initially, I'm aiming mostly just for creating new Trac tickets for every new pull request, and automatically attaching patches generated from those pull requests to them, along with any updates to those pull requests. That's my primary priority.

After that, I'm planning to look into syncing ticket updates to those issues back to their original GitHub pull requests (which will likely require a GitHub account to post on behalf of, involving API keys), so developers only need to update the ticket on Trac, and the original contributor will still be notified on GitHub, and can still leave comments and updates there.

Others might be interested in turning on GitHub issues, and also syncing new Trac tickets over to GitHub if the plan is to eventually just switch to GitHub issues, but I'm not planning on doing that at all myself for now. Also, that workflow can mostly be avoided by just removing the TICKET_CREATE permission from Trac users, and directing them to GitHub.

I'll be working on this within my issue-sync branch here:
master...tierra:issue-sync

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions