Page 2 of 4

Re: [FEEDBACK] New repository

Posted: Sun Mar 04, 2018 1:54 pm
by utzig
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

Re: [FEEDBACK] New repository

Posted: Sun Mar 04, 2018 2:49 pm
by Giovanni
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

Re: [FEEDBACK] New repository

Posted: Sun Mar 04, 2018 3:09 pm
by steved
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

Re: [FEEDBACK] New repository

Posted: Sun Mar 04, 2018 3:58 pm
by Giovanni
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

Re: [FEEDBACK] New repository

Posted: Mon Mar 05, 2018 9:16 am
by FXCoder
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.

Re: [FEEDBACK] New repository

Posted: Mon Mar 05, 2018 9:16 am
by FXCoder
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.

Re: [FEEDBACK] New repository

Posted: Mon Mar 05, 2018 6:17 pm
by Giovanni
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

Re: [FEEDBACK] New repository

Posted: Tue Mar 06, 2018 2:57 am
by FXCoder
This has been used in the past... http://svn2github.com/info/
Maybe a discussion with the developer will yield some options?

Re: [FEEDBACK] New repository

Posted: Tue Mar 06, 2018 7:47 am
by Giovanni
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

Re: [FEEDBACK] New repository

Posted: Tue Mar 06, 2018 11:46 am
by wurstnase
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