Modify ↓
      
        Opened 18 years ago
Closed 18 years ago
#2485 closed defect (fixed)
Does not operate with trac 0.11
| Reported by: | 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)
Change History (4)
Changed 18 years ago by
| Attachment: | moin2trac.py added | 
|---|
comment:1 Changed 18 years ago by
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 18 years ago by
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 18 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Added fixes for 0.11 in r3395
Note: See
        TracTickets for help on using
        tickets.
    


moin2trac.py for trac 0.11