[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.
utzig
Posts: 359
Joined: Sat Jan 07, 2012 6:22 pm
Location: Brazil
Has thanked: 1 time
Been thanked: 20 times
Contact:

Re: [FEEDBACK] New repository

Postby utzig » Sun Mar 04, 2018 1:54 pm

Btw, also this:

Code: Select all

# nmap chibiforge.org
...
PORT     STATE SERVICE
21/tcp   open  ftp
53/tcp   open  domain
80/tcp   open  http
110/tcp  open  pop3
143/tcp  open  imap
443/tcp  open  https
465/tcp  open  smtps
587/tcp  open  submission
993/tcp  open  imaps
995/tcp  open  pop3s
2525/tcp open  ms-v-worlds
3306/tcp open  mysql
5432/tcp open  postgresql

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

Re: [FEEDBACK] New repository

Postby Giovanni » Sun Mar 04, 2018 2:49 pm

I used Tortoise and the command line but this SSH stuff looks too complex... and support intensive :)

Anyway, SF is up let's use that repository again, I am setting up an automatic mirror for peace of mind.

I wish to setup a git mirror too but I lack knowledge. Is it possible to update a git repository from remote?

Giovanni

steved
Posts: 823
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: [FEEDBACK] New repository

Postby steved » Sun Mar 04, 2018 3:09 pm

Giovanni wrote:I used Tortoise and the command line but this SSH stuff looks too complex... and support intensive :)

In theory a simple 'howto' should resolve most of the support issues once we've got things going; but I do agree that the SSH stuff is an unnecessary complication for most users.

Giovanni wrote:Anyway, SF is up let's use that repository again, I am setting up an automatic mirror for peace of mind.

I usually have a reasonably up to date clone of the repository as a further backup

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

Re: [FEEDBACK] New repository

Postby Giovanni » Sun Mar 04, 2018 3:58 pm

steved wrote:I usually have a reasonably up to date clone of the repository as a further backup


Me too, I wanted something readily accessible by public, we have been stuck for a week now.

Giovanni

User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Re: [FEEDBACK] New repository

Postby FXCoder » Mon Mar 05, 2018 9:16 am

I wish to setup a git mirror too but I lack knowledge. Is it possible to update a git repository from remote?


Certainly is.
And in Eclipse using Egit makes things relatively straightforward for a variety of operations.

User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Re: [FEEDBACK] New repository

Postby FXCoder » Mon Mar 05, 2018 9:16 am

I wish to setup a git mirror too but I lack knowledge. Is it possible to update a git repository from remote?


Certainly is.
In Eclipse using Egit makes things relatively straightforward if you don't care to use the GIT CLI or UI.

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

Re: [FEEDBACK] New repository

Postby Giovanni » Mon Mar 05, 2018 6:17 pm

I need to update a git repository from the svn repository using a cron job on the svn server. It has to be an automatic thing running in background.

SF is back apparently, I am proceeding with the subversion mirror setup.

Giovanni

User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Re: [FEEDBACK] New repository

Postby FXCoder » Tue Mar 06, 2018 2:57 am

This has been used in the past... http://svn2github.com/info/
Maybe a discussion with the developer will yield some options?

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

Re: [FEEDBACK] New repository

Postby Giovanni » Tue Mar 06, 2018 7:47 am

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

User avatar
wurstnase
Posts: 121
Joined: Tue Oct 17, 2017 2:24 pm
Has thanked: 43 times
Been thanked: 30 times
Contact:

Re: [FEEDBACK] New repository

Postby wurstnase » Tue Mar 06, 2018 11:46 am

Shouldn't be so complicated.

viewtopic.php?f=35&t=4390#p31528

After first init of this you may need a job which will rebase all the branches.
Something like this:

Code: Select all

git svn fetch
git checkout branch1
git svn rebase
git checkout branch2
git svn rebase --local
git checkout branch3
git svn rebase --local
git push --all origin
\o/ Nico


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 9 guests