You are here
hi, i am a total noob in using such appliances, a bit of linux understanding, but strong win-developer background (no SVN etc), honestly I am lost without windows ;(.
I downloaded, installed and have the Redmine/SCM appliance running. ok.
I created a personal account on the machine for me using the webmin interface. ok.
Redmine is running and I can logon with my account, I created projects there, but I cannot assign a svm or hg repository, there is always a red asteric in front.
On a different machine (windows7) I have TortoiseSVN running, using the repo-browser on (svn://local-ip-address/svn; this is the SVN address the applicance console shows me) it tells me there are no repositories.
Can somebody tell me - in NOOB-understandable simple steps:
1) how to setup the repository in SVN? (I cannot follow the previous remine+SVN posting)
2) How to configure then Remine to have access to that Repository?
many thanks
ruphus
You must create the repo first
You will need putty to access to your redmine server console. Download putty and login to your server with root/your password. Then, to create the repos, you must go to /srv/repos with the command:
And then, issue the command to create the required repository. I'd recommend you subversion as is the easiest for a person with no experience, and you seem to already have the subversion client on your pc (tortoise). So, to create the repo, issue the following command:
Change myproject for the name you want for the repo. The close the connection.
Now, using tortoiseSVN repo browser, connect to svn://local-ip-address/svn/myproject, and you'll see the empty repo. Create a folder named "trunk" to follow svn best practices and import your source code into svn://local-ip-address/svn/myproject/trunk. Then config redmine and you should be fine. Point redmine to svn://local-ip-address/svn/myproject so you'll be able to see trunk and the future branches for your project.
Read a bit about subversion best practices to understand the concept behind the trunk folder I'm suggesting.
Hope it helps
still problems
Hi Adrian,
in fact meanwhile I tried something very similar. To be sure I redid your steps.
Tortoise on my DEV-machine then tells me "no repository found on svn://i-changed-this/svn/myproject". I cannot create 'truck' for that reason. Entering the repos in Redmine showing me as well 'The entry or revision was found in the repository', I am using 'root' user here?
With Tortoise I can easily and with no problems access a VisualSVN installation on a Windows machine, but I would really like to get a dedicated Linux machine running. So this is still not working.
Next questions, who to create a user, that can check-in to SVN and manage Issue via Redmine?
Many Thanks for helping ...
ruphus
some progress
I found the problems ;-)
cd /srv/repos/svn/myproject was working better ;-)
then the thing starts working ... I can configure Redmine ... WOW!!! Thanks
I also have now read access from tortoise.
But I cannot commit things, I get always an authentication failed.
So where is the configuration problem here? Tortoise isn't asking for any credentials as it does when it runs against my VisualSVN?
Thanks again.
Thanks for pointing the right path!
Now, you can create a user in svn with write permissions following standard svn procedures:
edit /srv/repos/svn/myproject/conf/svnserve.conf:
Uncomment (remove the #) the lines:
last question
Hi Adrian,
again this helped very much. Final question: As far as I can see, I have to do this for every Repos.
Is there a way to give general access? I am the only one working on the sources.
Nano is cool ... ;-)
Cheers,
ruphus
Sorry for the late response!
Yes, you could give general access simply configuring each of your repos with anon-access = write. That would give non authenticated users write permission, and you won't have to make the other changes in the file and add users. Just remember that if you can access this server from the internet, is a risk as anybody would be able to commit to the repo.
Add new comment