How difficult is it to Extricate a Specific Project and port it into a Separate Redmine Instance(Install)?
I have been using redmine for some time now and I am really happy with it. It has helped us a lot in growing our own applications.
I am in the process of evaluating whether it is worth our while to release one of our internal applications (written in Python) as an Open Source project. The simple thing to do of course would be to click on the "public" setting in the administration panel and make that project public.
However, I am considering extricating this project and hosting it on a separate Redmine Instance. This is because my current Redmine instance hosts a bunch of other private and personal projects and I was thinking it is not such a good idea to have too much traffic hitting on a Redmine site that I want to keep as private as possible.
Can I know how difficult it would be to do extricate that 1 single project and place it in another Redmine Install and Virtualhost container? I am not worried about setting up the Redmine site or the Apache configuration as Thomas LeCavalier has taught me well sometime last year and I have put in sometime learning how to handle all these server side set-up issues. My only concern is regarding the DATA MIGRATION.... extricating all issues, notes etc related to that specific Project and inserting it into the new Redmine install.
Is there an easy way to do this?
RE: How difficult is it to Extricate a Specific Project and port it into a Separate Redmine Instance(Install)? - Added by Thomas Lecavelier about 14 years ago
Happy to see that you still are pleased with your redmine :)
Extraction is somewhat like a migration, but in the other way. Redmine is using ActiveRecord, which is an ORM: since a project is the "root" of the issues, news, etc. it's possible to extract every data "around" project X, and only these datas.
The only problem is to know what datas have to be extracted, and more precisely: in which order. Indeed, ORM maps to a relationnal database, so we have to extract in the precise opposite order we'll have to reinject datas in the targeted redmine. The possible problem is to have a too big bunch of datas to migrate, so we can't let it in RAM and we have to use an intermediate format (yml?) to store datas before reinject them. So to conclude:
- + It's possible
- + Not very difficult, but require rigorousness
- - Take time to identify right order to extract
- - May need time to create an intermediate format
The form of this migration should be similar to the migration script: a lib with a rake task.
Does that response suit you?
RE: How difficult is it to Extricate a Specific Project and port it into a Separate Redmine Instance(Install)? - Added by Calvin Cheng about 14 years ago
Ouch... so I have to learn about ActiveRecord and Rails after all. Heh....
Will go read up some books.
Thank you for the pointers, once again! :)