Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to modify repository settings in Redmine?

It might sound like a dumb question but I can't for the life of me find the answer to this one.

We have a project set up in Redmine and linked to an SVN repository. Everything is working fine, but we recently did a repository relocation and we needed to update its Redmine repository path setting to point to the new repo.

The problem is that the option is grayed out and I can't change it. I suppose you could click on "Delete" and create a new one, but that option really sounds scary to try (the URL has the word /destroy/ in it!!) and I don't want to wipe out the repo. There's no reference I could find about this in the Redmine manual. What should I do?

Also --related to this-- do you know if all ticket references in old commits will still be pointing at the right places?

like image 678
Danita Avatar asked Apr 13 '09 14:04

Danita


People also ask

How do I create a Redmine repository?

Create the bare repository Now go to your Redmine project settings, go to the repositories tab and choose git as the SCM, then put in the Path to repository (in our example this is /var/redmine/git_repositories/donebox. git/ ) and save the settings.

Where are Redmine attachments?

If you have installed it from source, the files go to the files directory in your Redmine directory.

How does Git integrate with Redmine?

From the project dashboard in Redmine, click the “Settings -> Repositories” tab and then click the “New repository” link. Select the “SCM” as “Git” and specify the path to the repository. In this example, the path will be /opt/bitnami/projects/test. Click “Create” to save your changes.


2 Answers

Ok, I figured out. I created a dummy project with a dummy svn repo to test, and finally clicked that dreaded "Delete" link. It turns out it only deletes a reference to the repository, not the repo itself.

It was an admittedly dumb question, but this should be documented on the Redmine manual :)

like image 130
Danita Avatar answered Oct 07 '22 05:10

Danita


Another option could be by changing the values in 'repository' table. It works pretty well in case of repository relocation.

like image 36
Vinod Singh Avatar answered Oct 07 '22 04:10

Vinod Singh