ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Support Trac 0.12 Migrations (Feature #484)


Added by Pedro Algarvio at 2011-06-18 05:15 pm. Updated at 2012-03-23 09:33 pm.


Status:Open Start date:2011-06-18
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Remote issue URL: Affected version:

Description

This task was based on the rake file present on Redmine Issue 5035.

The changes made were to support Trac 0.12 microseconds unixtimestamp's and other minor changes to make it work with ChiliProject.


migrate_from_trac12.rake (52.8 kB) Pedro Algarvio, 2011-06-18 05:15 pm

migrate_from_trac12.rake - Should also migrate registered accounts (54 kB) Pedro Algarvio, 2011-06-19 02:27 pm

migrate_from_trac12.rake (48.7 kB) Pedro Algarvio, 2011-06-19 04:23 pm

migrate_from_trac12.rake (49.9 kB) Pedro Algarvio, 2011-06-20 03:09 pm


History

Updated by Pedro Algarvio at 2011-06-18 05:15 pm

Forgot to say that this work is against CP 1.4

Updated by Pedro Algarvio at 2011-06-19 02:27 pm

  • File migrate_from_trac12.rake added

Updated by Pedro Algarvio at 2011-06-19 02:30 pm

The last rake added should be adding authenticated users but it's not. What might be wrong with it?

  • Target version set to 2.0.0
  • Assignee set to Eric Davis

Updated by Pedro Algarvio at 2011-06-19 04:23 pm

This last rake seems to be working fine, it might need a good review since I'm not a ruby coder.

Anyway, the default values for custom fields was solved, and the admin is given the option to also migrate authenticated accounts from the trac environment.

  • File migrate_from_trac12.rake added

Updated by Pedro Algarvio at 2011-06-20 03:09 pm

Last version of script, allows to only migrate accounts which have an email set except for tickets(so that migrated tickets don't end up without an issuer).

  • File migrate_from_trac12.rake added

Updated by Eric Davis at 2011-06-27 10:01 pm

We will need a trac 0.12 database in order to test this.

Also, please don't assign an issue to a person or version. We use those to track who is actually working on something and when it is done.

  • Target version deleted (2.0.0)
  • Assignee deleted (Eric Davis)
  • Tracker changed from Task to Feature
  • Status changed from Open to Needs more information

Updated by Pedro Algarvio at 2011-06-27 11:51 pm

Eric Davis wrote:

We will need a trac 0.12 database in order to test this.

I'll try to attach one of my trac sqlite db's in a day or two, as soon as I find the time for it.

Also, please don't assign an issue to a person or version. We use those to track who is actually working on something and when it is done.

Oops, Ok.

Updated by Eric Davis at 2011-06-29 09:26 pm

Pedro Algarvio sent me a copy of his database to use. It have private data so it shouldn't be posted here.

  • Assignee set to Eric Davis
  • Status changed from Needs more information to Open

Updated by Matthias Scholz at 2012-01-26 01:32 pm

Please have a look at Ticket #516
for a proposed solution.

  • Status changed from Open to Ready for review

Updated by Felix Schäfer at 2012-03-23 09:33 pm

Pedro, I've had a hard time grasping the changes you've done, do you have some history of it?

Anyway, See #516 for my current branch to get this working again, any help appreciated :-)

  • Assignee deleted (Eric Davis)
  • Status changed from Ready for review to Open

Also available in: Atom PDF