infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Corveleyn (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-15813) Migration of Subversion MoinMoin wiki to Confluence
Date Sat, 27 Jan 2018 10:31:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-15813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342074#comment-16342074
] 

Johan Corveleyn commented on INFRA-15813:
-----------------------------------------

Yes, that's fine, thanks. I'm experimenting with the migration now.
Here is a progress update:
* Importing all revisions of pages with UWC works fine.
* Problem with inline images (parsing bug because of the "alt text" that was part of the attachment
link): fixed in the uwc code.
* Problem with "{{{ (no format section) }}}" which didn't come through well. Fixed by converting
it into {noformat} via the converter.moinmoin.properties (was previously converted to {code},
but that didn't look good).
* WikiName (CamelCase) links weren't being set. Fixed by adding another regex mapping to the
converter.moinmoin.properties. There is a remaining problem with links to SubPages (e.g. TheParent/TheChild),
have to look into that.
* Problem with carriage returns coming through as a literal &#13; in noformat sections.
I figured out that's because I'm running the conversion on Windows, which makes the Java code
assume windows line termination for some api's (which probably has an effect when sending
the data to cwiki ... perhaps UWC uses some PrintWriter api incorrectly). Fixed by setting
the system property line.separator="\n".
* Revision comments weren't transferred, but I've got that almost fixed.
* Mapping users is possible, but the users have to exist as Confluence accounts first. I'm
currently asking around for the remaining authors we had on MoinMoin to create their account
on cwiki. The alternative for users not existing on cwiki is either having the user being
set to the "import user" (losing the original author info), or injecting the original author
name in the text body or in revision comments (not possible for the first revision, as that
has no revision comment in confluence). I'm not spending time on that because we don't have
that many authors, and I think I can track down most of them, so a mostly complete user mapping
will be possible.

There are still a couple of additional formatting issues I need to investigate. And I'm thinking
of converting links to author pages (like a link to JohanCorveleyn) into mention-type links
in confluence, creating a link to the author's profile page. If that's not too difficult.

> Migration of Subversion MoinMoin wiki to Confluence
> ---------------------------------------------------
>
>                 Key: INFRA-15813
>                 URL: https://issues.apache.org/jira/browse/INFRA-15813
>             Project: Infrastructure
>          Issue Type: Task
>          Components: Confluence, MoinMoin
>            Reporter: Johan Corveleyn
>            Assignee: Gavin
>            Priority: Major
>
> Some of us in the Subversion PMC would like to attempt a migration of our old MoinMoin
wiki pages to a new Confluence wiki. We are talking about around 100 pages on our MoinMoin
wiki. As far as is understood, the Universal Wiki Converter (UWC) tools can be used to partly
automate this (combined with some manual effort, TBD).
> To attempt this UWC conversion, we need the underlying MoinMoin pages from the moin backend.
Can we get these files (can be sent to jcorvel@apache.org)? And a test space in Confluence
to experiment with the migration?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message