Modify

Opened 7 years ago

Closed 7 years ago

#2485 closed defect (fixed)

Does not operate with trac 0.11

Reported by: adam@… Owned by: kgk
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@… 7 years ago.
moin2trac.py for trac 0.11

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by adam@…

moin2trac.py for trac 0.11

comment:1 Changed 7 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 7 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 7 years ago by kgk

  • Resolution set to fixed
  • Status changed from new to closed

Added fixes for 0.11 in r3395

Add Comment

Modify Ticket

Action
as closed The owner will remain kgk.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.