Skip to content
Snippets Groups Projects
Commit 4665ed6d authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

wrong format

parent 3b1edcc2
No related branches found
No related tags found
No related merge requests found
Perl script to sync individual projects to another Redmine instance.
h2. Status
My current goal is to synchronize one isolated project, which only
has Wiki pages and attachments, from one Redmine instance to another.
In the end, this project shall only be used on the destination instance.
This is more complicated than initially assumed, but still leaves out
the rather hairy problem of migrating issues or even issue numbers and
whatever embedded in Wiki text.
* Right now, migrating stuff that are related to users work.
* Wiki migration seems to work now too.
* Migrating attachments (using rsync'ed backup files) now work too.
* Migrating watchers works.
The next step: Maybe I should reconsider the core synchronization code,
but this will have to wait until the migration job at hand is completed.
h2. Notes
h3. Perl
Why Perl? I'm not fluent enough in Ruby to even consider it as the
tool of choice for this problem. The script directly talks with
the MySQL databases of the Redmine instances, it basically ignores
the API.
h3. To be improved
The project's entry in 'wikis' whould be added to syncs by hand
since Redmine creates the Wiki but the script currently doesn't
check for that, it only looks at the syncs table.
Also, the pre-configured trackers and roles need to be considered.
h2. TODOs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment