Mirroring repos to other remotes (e.g. GitHub)

I saw this on https://todo.sr.ht/~sircmpwn/git.sr.ht/124 but couldn't see the reopened issue here so I'm opening.

I think this would be a great way to boost the sr.ht profile to other people too.

Assigned to
3 months ago
3 months ago
No labels applied.

~spacekookie 3 months ago

I'm wondering if this could be implemented via the webhooks feature. At least looking at the docs, you can get webhooks for repo update events (such as push, etc).

However the workflow feels a bit clumsy, having to first create an API key or authorising an application to access the events.

So I guess implementing this task by listening to events internally is probably a better solution.

I'd be curious in helping implement this. I haven't looked to extensively at the core source code yet so I don't know how I'd get access to an event listener in a dispatch task. Any help there would be appreciated.

~pwr REPORTED WONT_FIX 3 months ago

~spacekookie 3 months ago

Why did you mark this as wont_fix ~pwr?

Register here or Log in to comment, or comment via email.