プロジェクト

全般

プロフィール

Vote #75852

未完了

Issues with migrate_from_trac.rake from trac 0.12/1.0 (possible solutions provided)

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Importers_15
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
15
version_id:
0
issue_org_id:
18658
author_id:
117575
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
81
ステータス-->[New]

説明

Hello,

First of all, I would like to thank all contributors on this very useful project.

I've have noticed a couple of issues while attempting to migrate a trac 1.0.1 project to redmine, all related to the wiki migration.

  1. Losing lines that contains "inline {{{...}}}" tags in them, like this ".. some text {{{some highlighted/formated text}}} and so on ...". Those lines would be replaced with "pre" tag in the output. I've modified the script so they remain as is, not pretty but at least we are not losing content.

  2. Images where not converted from "Image(abc.jpg)" to "!abc.jpg!", which makes for a lot of manual modifications in large wiki.

  3. PageOutline tags were not modified to "{{>toc}}" tags, which also makes for a lot of manual modifications in large wiki.

  4. File attachments were not migrated for issues and wiki pages.

Thanks to "migrate_trac2redmine":https://github.com/evfool/migrate_trac2redmine for the trac 1.0 attachments management code, I've adapted it for Redmine 2.6.

I have provided a patch file and the whole script, I hope that it's OK. The patch would break pre trac 1.0 migration, so maybe that two scripts is the way to go.

Regards,
Dominic

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0