Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
redmine-sync
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gerhard Gonter
redmine-sync
Commits
4665ed6d
Commit
4665ed6d
authored
9 years ago
by
Gerhard Gonter
Browse files
Options
Downloads
Patches
Plain Diff
wrong format
parent
3b1edcc2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.textile
+38
-0
38 additions, 0 deletions
README.textile
with
38 additions
and
0 deletions
README.textile
0 → 100644
+
38
−
0
View file @
4665ed6d
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment