How to import source into repository

Nelson
Nelson
I have downloaded uberSVN, installed it, created users, set teir permission, and created one repository. However, I could not find how to import my source files into the repository! As you can see that I am very new on subversion. Can someone help quickly? Thank you.:lol:

Last updated

andyl
andyl
You must read the manual. You can't just install it and "figure things out" because you'll surely get something wrong. [url]http://svnbook.red-bean.com/nightly/en/svn.tour.importing.html[/url]
John.Chambers
John.Chambers
Hello Nelson. Thanks for downloading and installing uberSVN. uberSVN has been designed to make the setup of a subversion server very easy, as I hope you have found. However it does not at present act as a client for subversion. Andyl is correct in saying that you should read the red bean book he links because it is a very good introduction and guide to using subversion. If after reading that guide you have any further questions then please post them here and we will try to help you. Once again thank you for trying out uberSVN.
ianwild
ianwild
And just to add to John's response, the basic steps you'll be following here to import your source is: - Install a Subversion Client like Tortoise SVN. You'll find a link to do that in the Quicklinks section of the uberSVN dashboard. - Use the options in Tortoise to Import your repository. There's a nice tutorial here: [url]http://wsmoak.net/subversion/demo/tsvn-import.html[/url] - For the URL of the Repository, press the Copy button on the repository you created from the Repository page of uberSVN. This will put the URL into your clipboard so you can paste into into TortoiseSVN. Just let us know if you need any more help. Ian
Nelson
Nelson
Thanks to John and Ian, I read the document (not all and not in detail because of time limit) and did the following: changed the owner and group of the uberSVN installation. Then I tried "svn import myrepository/full/linx/path [url]http://myhostIP:9880/myreponame[/url]. However, it had problem writing to the db lock file: "svn: Can't open file '/opt/uberSVN/repositories/prototype/db/txn-current-lock':permission denied. txn-current-lock file has 644 permission and the user is defined as the repository admin. I did not know Tortoise SVN is the client so I did not install it. However, If the problem is the permission settings, Tortoise SVN probably won't help either. I will give it a try anyway. Nelson
rbudas
rbudas
Nelson, Here's a couple of other suggestions to help you become acquainted with the Subversion client command set. There's a set of free training materials at: [url]http://www.polarion.com/downloads/subtrain.php[/url] The [I]User Training[/I] would be the appropriate set to start with. In addition, if you are using a Windows system as a client, you should download and install the TortoiseSVN, the most widely used Windows client. You can find that on our website at: [url]http://www.wandisco.com/subversion/download#tortoise[/url] Best of luck! - Rob
ianwild
ianwild
Nelson, can I suggest you change the owner and group back - Unless that's set to the same user as is running uberSVN you will get those sorts of permission errors. Ian
Nelson
Nelson
Ian, If I am just testing uberSVN, I have no problem changing the owner and group back. But, I am using it in our prototype effort. Using owner/group other than "legal" users/group of our team will be consider as a "no no" from manager's point of view. I thought I had found the best subvsersion to use. But if I can not straighten this permission problem soon, I may have to try other subversions. Thank you for your quick response. Nelson
ianwild
ianwild
Hi Nelson, It's no problem to change the ownership, but you will also need to change the user that Apache Subversion runs as so it has permission to write to those files. That's easy to do in uberSVN, but for your prototype I'd leave things as they are and I can tell you how to do that when you're ready to go into production. Does that work? Ian
Nelson
Nelson
Ian, Don't know what is "the user that Apache Subversion runs"? If it is something weasy to do, could you make my life easy? If we can not get things to work the way it shouldbe, we will never go production. Btw, prototype is not the "pre-life" of the production. Just to calrify in case that is what you were thingking. Nelson
ianwild
ianwild
Hi Nelson, Rather than try and explain how to do this within the limitations of a forum post, what I will do is ask our documentation team to put together some detailed instructions for changing the username Apache runs as and publish that within the uberSVN documentation. You will then just need to follow the instructions and make sure the permissions on the machine are all configured correctly as per your IT departments requirements. I'm sure we can get this done next week. I hope that will be timely enough for you. Best Wishes, Ian
Nelson
Nelson
Ian, I was in a haste and did not pay attention to your last reply on the second page. Please ignore my e-mail response. I copied the contents of my e-mail in below: Very appreciate that you are willing to do extra to help. I actually have a dead line to set up a usable subversion before our Bi-weekly meeting on next Tuesday. Is it possible to give me some help now so that I can continue my work over the weekend to make sure I can meet the deadline? It really does not have to be a "formal" document. Nelson
ianwild
ianwild
To add to this, If you need to change Apache I assume you will also want to change the user that the uberSVN portal itself runs as (this is also ubersvn by default)? I'd like to test this before providing any detailed instructions and as I'm currently travelling that's not quite as easy as it sounds. We can certainly get back to you on this before Tuesday and it should be a pretty quick process to make the change in any case. Ian
Nelson
Nelson
Mat, Thank you for the information. It is very helpful. Nelson
Nelson
Nelson
Ian, Thank you for willing to help out. I have set up a version of flat-file-only subversion so I am ready to show my boss both the flat file subvsersion and uberSVN. It will be up to him to decide if we want to wait for uberSVN coming up with the apache http user configuration capability. Personally I like uberSVN a lot better than other free subversions on the internet. Nelson
Nelson
Nelson
Ian, My lead took my recommandation and is willing to wait until Thursday for uberSVN. Hope I can have your Apache user/group configuration information before COB Wednesday. This is not a "demand", this is asking for a favor/a help. Thank you. Nelson
ianwild
ianwild
Hi Nelson, Thanks very much for that. We'll work to test and document this for you before COB Wednesday (UK Time). Ian
Nelson
Nelson
Ian, Great! COB Wednesday of UK should be something like 10:00AM DC time. That will give me time to get ready to show uberSVN to the team on Thursday morning. Thank you very much. Nelson
John.Chambers
John.Chambers
Nelson, We have updated the on-line uberSVN documentation to cover changing the user/group Apache and uberSVN are run as. [URL="http://docs.ubersvn.com/v1.0/#T14"]Here[/URL] is a link to the relevant section. Let us know if you require any further assistance. Cheers

1-20 of 32

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.

Post a reply
16998 views