Git Migration
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Git Migration
by Goblin Hero » 23 Aug 2017, 07:14
How about this?
https://github.com/TheGoblinHero/Forge
It's even possible to map existing GitHub users to the old commits.
https://github.com/TheGoblinHero/Forge
It's even possible to map existing GitHub users to the old commits.
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-
Goblin Hero - Site Admin
- Posts: 1992
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 218 times
- Been thanked: 351 times
Re: Git Migration
by KrazyTheFox » 24 Aug 2017, 01:16
That's kind of impressive. How far back does the history go? It looks like it's a couple tens of thousands of commits short. I could convert a shortened version of the repository much more easily, but I was going for the entire history. I also wanted to host on our own GitLab instance instead of GitHub, as it opens the project more, but keeps the public visibility down.
As for keeping svn around, we'll need to for the time being, due to the fact that the migration has taken much longer than anticipated.
As for keeping svn around, we'll need to for the time being, due to the fact that the migration has taken much longer than anticipated.
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Re: Git Migration
by Goblin Hero » 24 Aug 2017, 06:50
It's an automatic GitHub importing. I do not know the details.KrazyTheFox wrote:That's kind of impressive. How far back does the history go?
Did you try this:
https://git-scm.com/docs/git-svn
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-
Goblin Hero - Site Admin
- Posts: 1992
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 218 times
- Been thanked: 351 times
Re: Git Migration
by Goblin Hero » 27 Aug 2017, 13:18
SVN is moved. You can access it as usual at
http://svn.slightlymagic.net/forge/
But I have problems with the old WebSVN http interface. Should I spend my time at fixing it or it's not needed?
http://svn.slightlymagic.net/forge/
But I have problems with the old WebSVN http interface. Should I spend my time at fixing it or it's not needed?
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-
Goblin Hero - Site Admin
- Posts: 1992
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 218 times
- Been thanked: 351 times
Re: Git Migration
by Agetian » 27 Aug 2017, 14:17
It could be useful if it's not too difficult to fix - I use it from time to time to track changes and whatnot, as well as view recent commit diffs from other users. It can be done via other means, of course, but it's quite convenient to do it from a browser, especially when away from home and when not having svn set up on a particular machine.Goblin Hero wrote:SVN is moved. You can access it as usual at
http://svn.slightlymagic.net/forge/
But I have problems with the old WebSVN http interface. Should I spend my time at fixing it or it's not needed?
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Git Migration
by Agetian » 27 Aug 2017, 14:20
Hmm, it looks like I can't commit anymore (it won't accept my credentials for commit).
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Git Migration
by Goblin Hero » 27 Aug 2017, 17:11
Looks like old auth module doesn not work properly with the new apache. Try to commit w/o login/pass now.Agetian wrote:Hmm, it looks like I can't commit anymore (it won't accept my credentials for commit).
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-
Goblin Hero - Site Admin
- Posts: 1992
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 218 times
- Been thanked: 351 times
Re: Git Migration
by Agetian » 27 Aug 2017, 17:15
Just tried it and it says this:Goblin Hero wrote:Looks like old auth module doesn not work properly with the new apache. Try to commit w/o login/pass now.Agetian wrote:Hmm, it looks like I can't commit anymore (it won't accept my credentials for commit).
svn: E170013: Unable to connect to a repository at URL 'http://svn.slightlymagic.net/forge/trunk'
svn: E000111: Error running context: Access denied
(this is before I have a chance to input any auth data whatsoever).
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Git Migration
by Goblin Hero » 27 Aug 2017, 17:35
I've just commited r35250 for testing purposes w/o password. May be you still has the old dns? Run `ping www.slightlymagic.net` It should resolve to 94.130.75.10
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-
Goblin Hero - Site Admin
- Posts: 1992
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 218 times
- Been thanked: 351 times
Re: Git Migration
by Agetian » 27 Aug 2017, 17:36
Hmm www.slightlymagic.net resolves to that, but svn.slightlymagic.net resolves to 78.46.39.100 :/Goblin Hero wrote:I've just commited r35250 for testing purposes w/o password. May be you still has the old dns? Run `ping http://www.slightlymagic.net` It should resolve to 94.130.75.10
How can I update that on my end?
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Git Migration
by Agetian » 27 Aug 2017, 17:47
For the record, trying a checkout operation directly by IP fails as well:
svn co http://94.130.75.10/forge/trunk
- Agetian
svn co http://94.130.75.10/forge/trunk
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Git Migration
by Goblin Hero » 27 Aug 2017, 17:55
Just wait. Full DNS propagation may takes up to 24 hours. Until then you can add a static dns entry to your hosts file.Agetian wrote:Hmm http://www.slightlymagic.net resolves to that, but svn.slightlymagic.net resolves to 78.46.39.100 :/
How can I update that on my end?
Auth is disabled now, but because of that commit author name is not registered. I've enabled the ability to edit the author after the commit to temporary fix the problem.
PS. Checkout by ip won't work, because one ip is used for several subdomains.
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-
Goblin Hero - Site Admin
- Posts: 1992
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 218 times
- Been thanked: 351 times
Re: Git Migration
by Agetian » 27 Aug 2017, 17:58
Ok, thanks! Is there any chance auth can be restored at a later point? I'm afraid the integrity of the repository might be at risk if anyone can commit with no limitations and with no special permission requirements...
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Git Migration
by Goblin Hero » 27 Aug 2017, 18:02
Sure. I will try to restore the old functionality (using passwords from the forum).Agetian wrote:Ok, thanks! Is there any chance auth can be restored at a later point?
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
-
Goblin Hero - Site Admin
- Posts: 1992
- Joined: 23 Oct 2005, 09:37
- Location: Russia
- Has thanked: 218 times
- Been thanked: 351 times
Who is online
Users browsing this forum: No registered users and 109 guests