
Hi all, With the decision and on-going process to migrate from gerrit to github, we do not anymore have a backup - github used to be a backup for gerrit, automatically synced. Do we want a backup for github? Some options: 1. Do nothing. github as-is might be good enough, and it also has an archive program [1]. AFAICT, right now none of the partners in this program allow 'git clone'. There are plans to allow that in the future. 2. Do something custom like we did so far with gerrit->github. 3. Find some service. Searching for 'github backup' finds lots of options. I didn't check any. Thoughts? [1] https://archiveprogram.github.com/ Best regards, -- Didi

It would be great if we can mirror it vice versa, to gerrit. It would help with some parts of our automation. But I'm not sure it's that easy to do...
On 29. 12. 2021, at 11:36, Yedidyah Bar David <didi@redhat.com> wrote:
Hi all,
With the decision and on-going process to migrate from gerrit to github, we do not anymore have a backup - github used to be a backup for gerrit, automatically synced.
Do we want a backup for github? Some options:
1. Do nothing. github as-is might be good enough, and it also has an archive program [1]. AFAICT, right now none of the partners in this program allow 'git clone'. There are plans to allow that in the future.
2. Do something custom like we did so far with gerrit->github.
3. Find some service. Searching for 'github backup' finds lots of options. I didn't check any.
Thoughts?
[1] https://archiveprogram.github.com/
Best regards, -- Didi _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/LP3IZ67IUERRWT...

On Tue, Jan 4, 2022 at 2:20 PM Michal Skrivanek <michal.skrivanek@redhat.com> wrote:
It would be great if we can mirror it vice versa, to gerrit. It would help with some parts of our automation. But I'm not sure it's that easy to do...
You mean gerrit.ovirt.org? Do we even intend to keep maintaining it going forward? I had a feeling we won't, or at most a read-only static copy, generated once when all projects finish migrating. Anyway, this will fall into my (2.) below, which is probably the most expensive work-wise, but is obviously any developer's instinctive first, or even only, reply... I think keeping gerrit.ovirt.org?'s content is an important item on its own.
On 29. 12. 2021, at 11:36, Yedidyah Bar David <didi@redhat.com> wrote:
Hi all,
With the decision and on-going process to migrate from gerrit to github, we do not anymore have a backup - github used to be a backup for gerrit, automatically synced.
Do we want a backup for github? Some options:
1. Do nothing. github as-is might be good enough, and it also has an archive program [1]. AFAICT, right now none of the partners in this program allow 'git clone'. There are plans to allow that in the future.
2. Do something custom like we did so far with gerrit->github.
3. Find some service. Searching for 'github backup' finds lots of options. I didn't check any.
Thoughts?
[1] https://archiveprogram.github.com/
Best regards, -- Didi _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/LP3IZ67IUERRWT...
-- Didi

On 4. 1. 2022, at 13:55, Yedidyah Bar David <didi@redhat.com> wrote:
On Tue, Jan 4, 2022 at 2:20 PM Michal Skrivanek <michal.skrivanek@redhat.com> wrote:
It would be great if we can mirror it vice versa, to gerrit. It would help with some parts of our automation. But I'm not sure it's that easy to do...
You mean gerrit.ovirt.org?
yes
Do we even intend to keep maintaining it going forward? I had a feeling we won't, or at most a read-only static copy, generated once when all projects finish migrating.
read-only would be ok, but the history there is important. With that I'm hoping it's possible to just sync merged commits from github
Anyway, this will fall into my (2.) below, which is probably the most expensive work-wise
well,the gerrit->github replication is almost for free, it's a "native" gerrit feature. Other way around....dunno, but if custom means setting up a cron job adding new commits...it would be worth it.
, but is obviously any developer's instinctive first, or even only, reply...
I think keeping gerrit.ovirt.org?'s content is an important item on its own.
On 29. 12. 2021, at 11:36, Yedidyah Bar David <didi@redhat.com> wrote:
Hi all,
With the decision and on-going process to migrate from gerrit to github, we do not anymore have a backup - github used to be a backup for gerrit, automatically synced.
Do we want a backup for github? Some options:
1. Do nothing. github as-is might be good enough, and it also has an archive program [1]. AFAICT, right now none of the partners in this program allow 'git clone'. There are plans to allow that in the future.
2. Do something custom like we did so far with gerrit->github.
3. Find some service. Searching for 'github backup' finds lots of options. I didn't check any.
Thoughts?
[1] https://archiveprogram.github.com/
Best regards, -- Didi _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/LP3IZ67IUERRWT...
-- Didi

Might a tool like this work? https://github.com/cooperspencer/gickup On the other hand I use gitea to host git repos and gitea has a feature to mirror github repos using a schedule. Joop

On Wed, Dec 29, 2021 at 12:37 PM Yedidyah Bar David <didi@redhat.com> wrote:
Hi all,
With the decision and on-going process to migrate from gerrit to github, we do not anymore have a backup - github used to be a backup for gerrit, automatically synced.
Do we want a backup for github? Some options:
1. Do nothing. github as-is might be good enough, and it also has an archive program [1]. AFAICT, right now none of the partners in this program allow 'git clone'. There are plans to allow that in the future.
2. Do something custom like we did so far with gerrit->github.
3. Find some service. Searching for 'github backup' finds lots of options. I didn't check any.
Thoughts?
When you use a service, you depend on the service provider to handle backups. For example, do we have a backup of our mail? But I think the ovirt project should not depend on a single provider and have a git mirror somewhere. I think the most attractive solution is gitlab, which has built-in support for pulling (and pushing) to/from remote repositories: https://docs.gitlab.com/ee/user/project/repository/mirror/index.html We can do this: 1. Create ovirt organization in gitlab 2. Import all projects from github 3. Set up a pull mirror for every project https://docs.gitlab.com/ee/user/project/repository/mirror/pull.html I tried this on my vdsm project in gitlab: https://gitlab.com/nirs/vdsm This repo mirrors my vdsm fork in github: https://github.com/nirs/vdsm Because it neds only read-only access, there is not authentication to set up. Nir
participants (4)
-
Joop van de Wege
-
Michal Skrivanek
-
Nir Soffer
-
Yedidyah Bar David