Add event-based mirror synchronization #779

Open
opened 4 weeks ago by illiliti · 7 comments

Instead of periodically pushing to mirror, is it possible to automatically trigger synchronization when new commit/tag/branch is made?

Instead of periodically pushing to mirror, is it possible to automatically trigger synchronization when new commit/tag/branch is made?
Owner

You are talking about push mirrors? I think this is done. There is a queue filled when event happens IIRC.

You are talking about push mirrors? I think this is done. There is a queue filled when event happens IIRC.
Poster

Yeah, push mirrors. Are you sure it's done already? I see no mention about queue or anything like that, only interval setting.

Yeah, push mirrors. Are you sure it's done already? I see no mention about queue or anything like that, only interval setting.
rwa added the
enhancement
s/Gitea
labels 4 weeks ago
Collaborator

No there's currently not such "event-based" mirror.

No there's currently not such "event-based" mirror.
Owner

Ah, but I think 6543 said it would come - in 1.18 then, I suppose?

Ah, but I think 6543 said it would come - in 1.18 then, I suppose?
Collaborator

I'm not able to see any changes regarding that.

I'm not able to see any changes regarding that.
Owner

#661 I took this from the response to my questions here.

https://codeberg.org/Codeberg/Community/issues/661#issuecomment-617440 I took this from the response to my questions here.
Collaborator

I think @6543 meant was related to the queue, Codeberg-Infrastructure/build-deploy-gitea#100. Which only influences how many push mirrors are being hanlded in the queue, each time the cron is being run.

So the cron is still the only one who can run the job to do the push mirror.

I think @6543 meant was related to the queue, https://codeberg.org/Codeberg-Infrastructure/build-deploy-gitea/pulls/100. Which only influences how many push mirrors are being hanlded in the queue, each time the cron is being run. So the cron is still the only one who can run the job to do the push mirror.
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: Codeberg/Community#779
Loading…
There is no content yet.