[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.
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

Postby 0x3333 » Tue Jun 04, 2019 12:39 pm

@mobyfab, how often is the official mirror updated? Thanks

mobyfab
Posts: 446
Joined: Sat Nov 19, 2011 6:47 pm
Location: Versailles, France
Has thanked: 8 times
Been thanked: 17 times

Re: [INFO] Moving repository to OSDN

Postby mobyfab » Tue Jun 04, 2019 2:49 pm

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

Postby 0x3333 » Tue Jun 04, 2019 2:52 pm

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: 12289
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 589 times
Been thanked: 502 times
Contact:

Re: [INFO] Moving repository to OSDN

Postby Giovanni » Tue Jun 04, 2019 3:30 pm

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

Giovanni

mobyfab
Posts: 446
Joined: Sat Nov 19, 2011 6:47 pm
Location: Versailles, France
Has thanked: 8 times
Been thanked: 17 times

Re: [INFO] Moving repository to OSDN

Postby mobyfab » Tue Jun 04, 2019 5:12 pm

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: 12289
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 589 times
Been thanked: 502 times
Contact:

Re: [INFO] Moving repository to OSDN

Postby Giovanni » Tue Jun 04, 2019 5:51 pm

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: 446
Joined: Sat Nov 19, 2011 6:47 pm
Location: Versailles, France
Has thanked: 8 times
Been thanked: 17 times

Re: [INFO] Moving repository to OSDN

Postby mobyfab » Tue Jun 04, 2019 6:03 pm

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: 48
Joined: Mon Aug 10, 2015 6:57 am
Has thanked: 4 times
Been thanked: 2 times

Re: [INFO] Moving repository to OSDN

Postby ceremcem » Wed Jun 05, 2019 1:39 pm

@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: 446
Joined: Sat Nov 19, 2011 6:47 pm
Location: Versailles, France
Has thanked: 8 times
Been thanked: 17 times

Re: [INFO] Moving repository to OSDN

Postby mobyfab » Wed Jun 05, 2019 6:42 pm

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: 446
Joined: Sat Nov 19, 2011 6:47 pm
Location: Versailles, France
Has thanked: 8 times
Been thanked: 17 times

Re: [INFO] Moving repository to OSDN

Postby mobyfab » Thu Jun 06, 2019 2:09 am

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.


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 1 guest