Modify

Opened 9 years ago

Closed 9 years ago

#2485 closed defect (fixed)

Does not operate with trac 0.11

Reported by: adam@… Owned by: Kristian Kvilekval
Priority: normal Component: MoinToTracScript
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Looks like the script requireds the module trac.scripts.admin which doesnt seem to exist in 0.11 I assume it was removed when webadmin was integrated.

Attachments (1)

moin2trac.py (2.1 KB) - added by adam@… 9 years ago.
moin2trac.py for trac 0.11

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by adam@…

Attachment: moin2trac.py added

moin2trac.py for trac 0.11

comment:1 Changed 9 years ago by adrian@…

Thank you. I've tested this version with 0.11b1 + PostgreSQL and works fine.

  • Tips:
    • verify before using it: not to have MoinMoin page folders with zero files -> if that happens the macro stops and you'll have to restart after you had removed such folder (and executing this macro will insert new versins of the same page);
    • MoinMoin page names having non ASCII are stored on an uggly manner (see: #1996) -> then I suggest you repair page names before executing the macro

comment:2 Changed 9 years ago by adam@…

Actually there is still a problem with this script that I overlooked. It imports the pages but sets the first revision of the page to the current page in trac. New ticket has a later version which imports only the latest page from Moin to trac

comment:3 Changed 9 years ago by Kristian Kvilekval

Resolution: fixed
Status: newclosed

Added fixes for 0.11 in r3395

Modify Ticket

Action
as closed The owner will remain Kristian Kvilekval.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.