~sircmpwn/sr.ht-discuss

1

using codeberg (forgejo) to mirror repositories to sourcehut

Details
Message ID
<46-6432c700-d-74b43280@71073785>
DKIM signature
missing
Download raw message
hello,

i am currently planning to mirror my repositories from codeberg to sourcehut to have them sync across two different platforms. the issue i am having is that codeberg/forgejo requires username+password authentication for syncing and i was wondering if there was any way to use that feature for sourcehut, although i am aware that git.sr.ht is usually ssh-key only.

https://docs.gitea.io/en-us/repo-mirror/ see these docs for reference.

thanks.
Details
Message ID
<CRSAZZ7V5X7Y.DLYRAS9RXSL6@hades.moritz.sh>
In-Reply-To
<46-6432c700-d-74b43280@71073785> (view parent)
DKIM signature
missing
Download raw message
Hi,

Instead of a push-sync you could make it a pull-sync. For this you would have
to setup a small dispatch.sr.ht somewhere and have it pull the commits using
sourcehut's CI.

-- 
Moritz Poldrack
https://moritz.sh
Reply to thread Export thread (mbox)