[FEEDBACK] New repository

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.
User avatar
Giovanni
Site Admin
Posts: 13063
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 757 times
Been thanked: 636 times
Contact:

[FEEDBACK] New repository

Postby Giovanni » Fri Mar 02, 2018 5:54 pm

Hi,

I am working on setting up a repository on a2hosting. Their offering has a limitation, only SSH access and no public read-only access to repos. It is possible to setup SSH tunnels for each user, developers would have to create an SSH key, probably not an huge issue, most people already uses SSH.

The main problem is with public access, I have thought to several possible solutions:
1) A public private SSH key (...), everybody interested could install this key and have read-only access to the repository.
2) Pushing the repository on a git repository on github using a cron job. Public access would be on github, basically what we already have but automatic. Korken already experimented with this so it is doable.
3) Pushing also on SF the current repository would become just a mirror, when it works...
4) Update the hosting to a VPS with Linux, it is not much cost that worries me but having to admin the server, it is not like I have much time to spare for this.

Other possible solutions? ideas?

Giovanni

User avatar
Giovanni
Site Admin
Posts: 13063
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 757 times
Been thanked: 636 times
Contact:

Re: [FEEDBACK] New repository

Postby Giovanni » Fri Mar 02, 2018 5:55 pm

Just a note. It is possible to have multiple SSH keys, I created a ~/.ssh/config like this and it works:

Code: Select all

Host chibiforge.org chibifor.chibiforge.org
    HostName chibiforge.org
    IdentityFile ~/.ssh/id_rsa
    User chibifor

Host anonymous.chibiforge.org
    HostName chibiforge.org
    IdentityFile ~/.ssh/id_rsa_anonymous
    User chibifor


I can use both my personal key or the "anonymous" key with read-only access. There is no limit to the number of keys and aliases.

Giovanni

steved
Posts: 731
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 10 times
Been thanked: 106 times

Re: [FEEDBACK] New repository

Postby steved » Fri Mar 02, 2018 6:57 pm

I'm sure this will be OK for those who are already convinced by ChibiOs. However it is a minor obstacle to newcomers wanting to get the code to evaluate. Having public downloads of each release outside the repository structure would most likely remove that obstacle (as long as the explanations are clear!!!!)

User avatar
alex31
Posts: 299
Joined: Fri May 25, 2012 10:23 am
Location: toulouse, france
Has thanked: 26 times
Been thanked: 37 times
Contact:

Re: [FEEDBACK] New repository

Postby alex31 » Sat Mar 03, 2018 6:50 pm

Sorry for all the problems you meet for hosting our beloved ChibiOS ...

2) Pushing the repository on a git repository on github using a cron job. Public access would be on github, basically what we already have but automatic. Korken already experimented with this so it is doable.


I think that for the vast majority of users, it will be sufficient and .... a necessity.

Young devs have only known git in their life, and most of old one like me who have began with rcs (i'm still to young to have known sccs :-) ), then svn then mercurial, then ... etc etc, have switched to git since years and don't even remember the most basic svn command ...

for me, you can keep svn if it's your preferred revision control system , as long as there is a git read only repository copy somewhere.

courage to face the difficulties to set up all this machinery.

apmorton
Posts: 36
Joined: Fri Sep 29, 2017 10:26 am
Been thanked: 16 times

Re: [FEEDBACK] New repository

Postby apmorton » Sun Mar 04, 2018 3:59 am

Have you considered Savannah? https://savannah.gnu.org/

We host free projects that run on free operating systems and without any proprietary software dependencies.

New projects are added on a case by case basis, and I don't know exactly how strict they are about licensing terms, but it may be worth inquiring.

Edit:
one more note - GitHub "supports" accessing git repos with SVN clients: https://help.github.com/articles/suppor ... n-clients/
I don't use SVN myself, so I can't tell you if this is something that is feasible, but in theory you may be able to host everything on the existing github organization, but continue to use your familiar SVN clients.

User avatar
Giovanni
Site Admin
Posts: 13063
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 757 times
Been thanked: 636 times
Contact:

Re: [FEEDBACK] New repository

Postby Giovanni » Sun Mar 04, 2018 9:02 am

Hi,

I know about the subversion feature of github, we use it for the community repository. It does not support some fundamental SVN features, like externals, that cannot be emulated over git.

Giovanni

User avatar
Giovanni
Site Admin
Posts: 13063
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 757 times
Been thanked: 636 times
Contact:

Re: [FEEDBACK] New repository

Postby Giovanni » Sun Mar 04, 2018 9:10 am

Hi,

I ported the repository over chibiforge.org. The checkout URL is:

svn+ssh://chibifor@chibiforge.org/chibios/trunk

You need to install an ssh key in order access the repository (read only).

keys.zip
(1.92 KiB) Downloaded 54 times


In order to get write access developers will have to send me their PUBLIC SSH key. Note that it is possible to use multiple keys by configuring SSH, see my post above, I will write a guide about this later.

My first impression is that it is a lot faster than SF, I would appreciate feedback.

Giovanni

User avatar
alex31
Posts: 299
Joined: Fri May 25, 2012 10:23 am
Location: toulouse, france
Has thanked: 26 times
Been thanked: 37 times
Contact:

Re: [FEEDBACK] New repository

Postby alex31 » Sun Mar 04, 2018 11:26 am

Hi,



Don't know if it's just problem of DNS propagation, but from france :

Code: Select all

ping anonymous.chibiforge.org
ping: unknown host anonymous.chibiforge.org


Alexandre

User avatar
Giovanni
Site Admin
Posts: 13063
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 757 times
Been thanked: 636 times
Contact:

Re: [FEEDBACK] New repository

Postby Giovanni » Sun Mar 04, 2018 11:43 am

Hi,

I made an error, anonymous.chibiforge.org is an alias I created. Try svn+ssh://chibifor@chibiforge.org/chibios/trunk

You should be able to ping chibiforge.org.

Giovanni

steved
Posts: 731
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 10 times
Been thanked: 106 times

Re: [FEEDBACK] New repository

Postby steved » Sun Mar 04, 2018 1:25 pm

I can ping the site, but get "Connection Refused" when I try to connect.

I've used parts of these sites to set things up and test:
http://www.flickspin.com/en/software_de ... link_chaos
https://tortoisesvn.net/ssh_howto_logemann.html
https://kb.wisc.edu/education/page.php?id=45394

(Using TortoiseSVN on W7)


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 3 guests