svn hosting

classic Classic list List threaded Threaded
31 messages Options
12
Reply | Threaded
Open this post in threaded view
|

svn hosting

fschmidt
Administrator
We should have a set of recommended services and that should include subversion hosting.  And whatever we pick, we should have DigDB use that.  I looked at several subversion hosting services and the best I found is:

http://unfuddle.com/

What do you think?
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

Hugo <Nabble>
It works fine.
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
Can you copy a svn history into unfuddle using svnsync as described here:

http://unfuddle.com/support/docs/subversion

You could try digsite in nabble.  If that works, I will have Will make an account we can make move digsite into his account.
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

Hugo <Nabble>
fschmidt wrote
You could try digsite in nabble.
The problem is that digdb is mixed will all the Nabble code and there is no way to separate them. So we would have to import the entire Nabble repository and this means thousands of revisions and a few gigabytes of data. Why not import only the current luan code and the last java code (in an "old" folder) so that Will can have a reference?
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
What about this?

http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposadmin.maint.replication.svnsync-partial
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

Hugo <Nabble>
That tool is limited because it will ignore everything that doesn't match the specified path. So the history may be broken. What is the exact path that should be sync'ed? I need some days to do this because I will have to transfer the subversion dump to my machine and try it when I have a chance. Is this really worth doing when Will can still check the history through Nabble's repository?
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
It isn't worth spending a lot of time on this.  I thought you could just try it.  I don't understand why you need to use your machine.  Just sync from the current svn server to unfuddle and see what happens.  The URL is:

https://fschmidt@mwork.nabble.com/svn/rep/trunk/digsite

If this just gets the recent history, that is still better than nothing.
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

Hugo <Nabble>
You can do this from your computer. This is what I did:

(1) Create a new repository in unfuddle (e.g., digsite)

(2) Open the command line and run:

svnsync init --username hugo http://hugo.unfuddle.com/svn/hugo_digsite https://mwork.nabble.com/svn/rep/trunk/digsite

svnsync sync --username hugo http://hugo.unfuddle.com/svn/hugo_digsite

You have to replace my name with your unfuddle login in the URLs above. It is going to ask you the passwords, so you have to enter them for unfuddle and for nabble's repository.

Please note: It will go through ALL revisions in the Nabble repository, one by one, skipping those that don't match the path. Each revision takes 2 seconds to finish, so the entire process takes ~6 HOURS to finish. I didn't run it till the end, but I assume this will work. You can try it.
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
In reply to this post by fschmidt
Thinking about this more, I think subversion is just too much complexity for luanhost users.  I will see if I can find an alternative.
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
Dropbox looks like the right answer, so I am closing this thread for now.
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
In reply to this post by fschmidt
I looked at source control options again and Mercurial looks okay.  Git is an overcomplicated mess, but with Mercurial I can understand the appeal of distributed source control.  Mercurial is reasonably simple.

http://mercurial.selenic.com/
http://hgbook.red-bean.com/read/

You can assign this back to me and I will play with it.
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

Hugo <Nabble>
It looks fine. You can try this and let me know.
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
This post was updated on .
In reply to this post by fschmidt
Mercurial seems to be usable.  Here is a good tutorial:

http://hginit.com/

The best hosting service seems to be:

http://bitbucket.org/

I will look for a GUI tomorrow.
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
In reply to this post by fschmidt
While Mercurial seems good, the conversion tools from Subversion to Mercurial are the usual horrible Unix garbage which I wasted hours trying to get to work and failed.  Maybe you can look at this.
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
This post was updated on .
In reply to this post by fschmidt
Hugo, in case you are wondering about git:

http://jordi.inversethought.com/blog/enough-git/

It's clear why git is so popular, garbage products for garbage people.


Reading a little more, Linus Torvalds, the guy who cursed us with Linux and git, at least recognizes that GitHub is even worse than his own creations:

https://github.com/torvalds/linux/pull/17#issuecomment-5654674
https://github.com/torvalds/linux/pull/17#issuecomment-5659970
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

Hugo <Nabble>
In reply to this post by fschmidt
I tried to do what google code suggests here:
https://code.google.com/p/support/wiki/ConvertingSvnToHg

This is a pain. I am stuck with the swig-python bindings installation. I don't know how to make this thing work. I keep getting an error when I run the command below:
python -c "import svn.core; print svn.core.SVN_VER_MINOR"
Is this the issue you had?
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
Yes this is the issue I had.  If you give up, I will try again, but you have better tolerance for this kind of pain than I do.
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

Hugo <Nabble>
I was able to make the swig-py binding work. You should follow the "Build Subversion SWIG-py" section on this page:
http://www.dssw.co.uk/blog/2012-10-22-how-to-install-subversion-for-trac-on-mac-os-x/

Then I am back to this page: https://code.google.com/p/support/wiki/ConvertingSvnToHg
I am trying to convert the cn1socket project, but this doesn't work. When I run this:
hg convert http://cn1socket.googlecode.com/svn cn1socket
It says that the URL "http://cn1socket.googlecode.com/svn" doesn't seem to be a valid repository.

Can you please try it?
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

fschmidt
Administrator
Hugo <Nabble> wrote
I was able to make the swig-py binding work. You should follow the "Build Subversion SWIG-py" section on this page:
http://www.dssw.co.uk/blog/2012-10-22-how-to-install-subversion-for-trac-on-mac-os-x/
This didn't work for me.  We can discuss it on skype.
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: svn hosting

Hugo <Nabble>
We discussed this. Since the "hg convert" doesn't work, I will try the hgsubversion tool now:
http://mercurial.selenic.com/wiki/HgSubversion
12