[INFO] Moving repository to OSDN

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
0x3333
Posts: 57
Joined: Thu Mar 07, 2019 10:19 pm
Has thanked: 7 times
Been thanked: 6 times

Re: [INFO] Moving repository to OSDN

Post by 0x3333 »

@mobyfab, how often is the official mirror updated? Thanks
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: [INFO] Moving repository to OSDN

Post by mobyfab »

Every 30 minutes.

I am still syncing tags now so it will take a couple hours before I enable it. (I forgot how horribly slow SVN was...)

Plan is to have all release tags and last 3 stable release branches, basically the ones that are supported.
Last edited by mobyfab on Tue Jun 04, 2019 2:55 pm, edited 1 time in total.
0x3333
Posts: 57
Joined: Thu Mar 07, 2019 10:19 pm
Has thanked: 7 times
Been thanked: 6 times

Re: [INFO] Moving repository to OSDN

Post by 0x3333 »

Seems more than enough, I need the latest commits in a week fashion not more than that. Thanks for the clarification.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [INFO] Moving repository to OSDN

Post by Giovanni »

OSDN should be much faster, a rate of 30 minutes should not be a problem.

Giovanni
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: [INFO] Moving repository to OSDN

Post by mobyfab »

It took about 5 hours to clone all releases tags and 4 branches (all commits individually, to generate git commits) on a 300mb/s server in Paris.
SVN is very dependent on latency because of all the separate network requests for each commit.
I skipped chibistudio and old/deprecated branches because it took too long.

It takes around 14-16 seconds to clone the GIT repo with all branches and commits. (everything)

I've enabled sync every 30mn now that git is up to date.
Let me know if you need other branches or tags.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [INFO] Moving repository to OSDN

Post by Giovanni »

Does it clone the whole repository each time or just new revisions?

I sync the OSDN one with a private subversion every 4 hours for backup and it takes seconds.

Giovanni
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: [INFO] Moving repository to OSDN

Post by mobyfab »

It only get the newest revisions, then generate new git commits.
I don't expect the update to take more than a few seconds now.

Individual revisions don't take that much time to fetch, but when you have over 15000 of them to get on a server half across the planet...
ceremcem
Posts: 66
Joined: Mon Aug 10, 2015 6:57 am
Has thanked: 7 times
Been thanked: 6 times

Re: [INFO] Moving repository to OSDN

Post by ceremcem »

@mobyfab

I'm redirected here from viewtopic.php?p=35538. It's very surprising to come across with a completely new ChibiOS repo suddenly on Github. What is the rationale for this change? Can't we just keep using "old" repo?
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: [INFO] Moving repository to OSDN

Post by mobyfab »

ceremcem wrote:@mobyfab

I'm redirected here from viewtopic.php?p=35538. It's very surprising to come across with a completely new ChibiOS repo suddenly on Github. What is the rationale for this change? Can't we just keep using "old" repo?


We can't keep it because the official svn changed and git-svn uses the complete svn url + revision to build its history

old:
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12774 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

new:
git-svn-id: https://svn.osdn.net/svnroot/chibios/trunk@12774 27425a3e-05d8-49a3-a47f-9c15f0e5edd8


I'm trying to see what can be done to keep the old one but don't hold your breath ;)
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: [INFO] Moving repository to OSDN

Post by mobyfab »

After battling with git-svn for a few hours and a ton of shady hacks I've managed to update the original mirror, no need to re-fork.
Post Reply