Page 3 of 4

Re: [FEEDBACK] New repository

Posted: Wed Mar 07, 2018 12:25 pm
by networkfusion
In my opinion, Option 2 is a must:
a) personally, I am fed up with sourceforge, it ruined my last weekend trying to get a build script working with dependencies on projects hosted there.
b) A read only repo hidden behind ssh keys is not good enough if you want people to find this excellent project and contribute to it. GitHub offers the most visibility of any open source project nowadays.
c) As an earlier comment also said, I to have come through learning SVN, then Hg, and now only remember git commands. The younger generation have only known git.
d) A reliable git mirror is a must and would stop lots of unofficial forks (or at least be able to keep an eye on them)...
e) GitHub has features beyond just source control (which I guess you will not use other then a mirror), there issues system and ability to integrate with third party build systems (travis CI etc) is great and could benefit…

Re: [FEEDBACK] New repository

Posted: Wed Mar 07, 2018 1:04 pm
by josesimoes
Giovanni wrote:That would be perfect but it does not work for large repositories (read the blog post), would be possible to create a script that does exactly that? I could host it on the same SVN server. Apparently it is just matter of calling the appropriate git commands.

Giovanni


I beg to differ! :)
We (at nanoFramework) have been using svn2git for a long time now and have setup mirror repos for the last 2 branches and it's all there running smoothily.

Check the mirrors here:
https://github.com/svn2github/ChibiOS-17-6-x
https://github.com/svn2github/ChibiOS-18-2-x

Anyone can fork those.

Re: [FEEDBACK] New repository

Posted: Wed Mar 07, 2018 1:06 pm
by josesimoes
A git mirror is definitely a must have!

Re: [FEEDBACK] New repository

Posted: Wed Mar 07, 2018 1:08 pm
by utzig
How's the SVN situation settled? Is it stable and not going to change again next week? What's the new URL?

Re: [FEEDBACK] New repository

Posted: Wed Mar 07, 2018 2:05 pm
by Giovanni
It is stable now: https://svn.code.sf.net/p/chibios/svn2

There is also an automatic off=site mirror now, just in case.

Giovanni

Re: [FEEDBACK] New repository

Posted: Wed Mar 07, 2018 2:56 pm
by utzig
Ok, I will update the github mirror script tonight!

Re: [FEEDBACK] New repository

Posted: Thu Mar 08, 2018 9:16 am
by steved
I'm finding that a lot of what are presumably external repositories are coming up as 'not found'. Most, if not all, appear to relate to the SPC5. Is this right?

Here's an extract from the log (there's lots more!):

Code: Select all

D:\ChibiStudio\svn2\tags\spc5studio_components_3.5.0\SPC560Pxx\ChibiOS-RT_Demos_for_SPC560Pxx\resources
Unable to connect to a repository at URL
 'http://svn.code.sf.net/p/chibios/svn/branches/spc5studio_components_trunk/demos'
'/p/chibios/svn/branches/spc5studio_components_trunk/demos' path not found
Starting externals...
D:\ChibiStudio\svn2\branches\spc5studio_components_sprint9\SPC560Dxx\ChibiOS-RT_Demos_for_SPC560Dxx\resources
Unable to connect to a repository at URL
 'http://svn.code.sf.net/p/chibios/svn/branches/spc5studio_components_sprint9/demos'
'/p/chibios/svn/branches/spc5studio_components_sprint9/demos' path not found
D:\ChibiStudio\svn2\tags\spc5studio_components_3.6.0\SPC560Bxx\ChibiOS-RT_Demos_for_SPC560Bxx\resources
Unable to connect to a repository at URL
 'http://svn.code.sf.net/p/chibios/svn/branches/spc5studio_components_trunk/demos'
'/p/chibios/svn/branches/spc5studio_components_trunk/demos' path not found
D:\ChibiStudio\svn2\branches\spc5studio_components_sprint9\SPC560BCxx\ChibiOS-RT_Demos_for_SPC560BCxx\resources
Unable to connect to a repository at URL
 'http://svn.code.sf.net/p/chibios/svn/branches/spc5studio_components_sprint9/demos'
'/p/chibios/svn/branches/spc5studio_components_sprint9/demos' path not found
D:\ChibiStudio\svn2\branches\spc5studio_components_trunk\SPC56ECxx\ChibiOS-RT_Demos_for_SPC56ECxx\resources
Unable to connect to a repository at URL
 'http://svn.code.sf.net/p/chibios/svn/branches/spc5studio_components_trunk/demos'
'/p/chibios/svn/branches/spc5studio_components_trunk/demos' path not found
D:\ChibiStudio\svn2\tags\spc5studio_components_3.6.0\SPC560BCxx\ChibiOS-RT_Demos_for_SPC560BCxx\resources
Unable to connect to a repository at URL
 'http://svn.code.sf.net/p/chibios/svn/branches/spc5studio_components_trunk/demos'
'/p/chibios/svn/branches/spc5studio_components_trunk/demos' path not found
D:\ChibiStudio\svn2\tags\spc5studio_components_4.0.0\SPC56ECxx\ChibiOS-RT_Demos_for_SPC56ECxx\resources
Unable to connect to a repository at URL
 'http://svn.code.sf.net/p/chibios/svn/branches/spc5studio_components_trunk/demos'
'/p/chibios/svn/branches/spc5studio_components_trunk/demos' path not found
D:\ChibiStudio\svn2\tags\spc5studio_components_5.1.0\SPC56ECxx\ChibiOS-RT_Demos_for_SPC56ECxx\resources
Unable to connect to a repository at URL
 'http://svn.code.sf.net/p/chibios/svn/branches/spc5studio_components_sprint9/demos'
'/p/chibios/svn/branches/spc5studio_components_sprint9/demos' path not found
D:\ChibiStudio\svn2\tags\spc5studio_components_3.7.0\SPC56ECxx\ChibiOS-RT_Demos_for_SPC56ECxx\resources
Unable to connect to a repository at URL
 'http://svn.code.sf.net/p/chibios/svn/branches/spc5studio_components_trunk/demos'
'/p/chibios/svn/branches/spc5studio_components_trunk/demos' path not found

Re: [FEEDBACK] New repository

Posted: Thu Mar 08, 2018 9:28 am
by Giovanni
I need to update those externals or remove the branches entirely, the SPC5 stuff is now handled elsewhere.

Giovanni

Re: [FEEDBACK] New repository

Posted: Thu Mar 08, 2018 11:59 pm
by utzig
Done, https://github.com/ChibiOS/ChibiOS is now mirroring the new SVN repo.

Re: [FEEDBACK] New repository

Posted: Wed Mar 14, 2018 3:41 am
by apmorton
One other thing that would be really nice to have on the git mirror is tags for the released versions.

Right now we just have the release branches, which get continuously updated between official releases in the series.
This makes it difficult to specifically target a 17.6.4 (or any other specific release in the 17.6.x series) without going back searching for the corresponding commit that was tagged in svn.

It looks like on SVN this is being handled by creating a branch under a specific "path" (HEAD/tree/tags).
Is it possible to convert these branches to tags automatically when syncing to the git mirror?
If not, is this something that could be done manually whenever a release is tagged in svn?