[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Migrating our wiki to Confluence

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Fri, 26 Jan 2018 01:16:33 +0100

On Tue, Jan 9, 2018 at 1:20 AM, Johan Corveleyn <jcorvel_at_gmail.com> wrote:
> On Mon, Jan 8, 2018 at 11:53 PM, Johan Corveleyn <jcorvel_at_gmail.com> wrote:
>> On Mon, Jan 8, 2018 at 11:16 AM, Julian Foad <julianfoad_at_apache.org> wrote:
...
>>> Is there any more news, Johan?
>>
>> Yeah, sorry I went dark on that. I tried asking for the necessary
>> stuff on hipchat several times (even 2 days ago), was promised every
>> time that I would receive them, but haven't gotten anything :-(. I'll
>> keep trying.
>
> I talked again to gmcdonald on hipchat. He'll still send me the
> necessary tools / pages, but for tracking purposes I also created a
> JIRA issue specifically for this migration:
>
> https://issues.apache.org/jira/browse/INFRA-15813 (Migration of
> Subversion MoinMoin wiki to Confluence)
>
> This will probably entail some test wiki-space for experimenting with
> the migrated content.

Sorry it took so long, but I received the UWC tools (Universal Wiki
Converter) and a copy of the moinmoin files last week, and have been
experimenting with them.
I just want to report my progress here. I'm not quite there yet, but
am getting close to a good migration.

* Importing all revisions of the pages: works fine with UWC.

* Revision comments weren't transferred, but I have that fixed
(almost). Except for the first version (Confluence does not support a
revision comment when adding a new page, only when updating it). I
suppose that first revision comment is not important (it's usually
something like "initial version").

* There was a problem with inline attachments / images (a parsing bug
because of the "alt" text that was part of the link). That's fixed
too.

Remaining problems:

* Mapping users works, but only if there is a corresponding account on
cwiki.a.o. Out of the 24 users that edited pages on our Moin wiki, 17
don't have a confluence account (3 of which have only made a single
edit to add their gpg fingerprint to a hackathon page). See file
non-confluence-users.txt in attachment, sorted on the amount of edits.

  -> People reading this that are on the non-confluence-users list:
could you go over to cwiki.apache.org and create an account please?
Just click "Sign up here" on the login form, and fill in the details.
If you have an ASF id, you should use the same account name for your
confluence account.

  -> After that, I suppose I can send some individual mails for the
remaining people (I'll not bother the people that only had a moinmoin
account to add a gpg fingerprint to some hackathon page).

  -> What to do if I'm still missing some accounts? For the page
updates I could inject something in the revision comment ("originally
edited by X", while confluence shows some role user like "Confluence
Importer" as the real author). But for the initial version there's no
revision comment. I suppose I could add something into the body of the
page ("originally added by Y"). That's comparable to the way it was
done for the JIRA migration. I'm not looking forward to creating the
insert-in-body hack though ... (so I hope most people on the list will
create an account, and at least those people that have added new
pages).

* WikiNames aren't converted into links yet (Moinmoin considers
CamelCase names as links to other pages, unless they're escaped).
That's a must-have I think. I believe it's possible by tweaking the
config of the UWC tool.

* Some remaining formatting issues. I believe most can be fixed or at
least be made acceptable.

-- 
Johan

Received on 2018-01-26 01:17:04 CET

This is an archived mail posted to the Subversion Dev mailing list.