I actually wrote CombineWiki for _exactly_ this reason (turning in for class milestones).
--Noah > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of schoenborno > Sent: Thursday, January 29, 2009 12:30 PM > To: Trac Users > Subject: [Trac] FYI: wget of whole wiki (tickets, reports, all) > > > Hello, just in case others ever need the same: > > We needed to dump the trac wiki to a folder as part of deliverable on > a project (together with a hotcopy of the trac environment itself, > etc). I didn't want to install the nice TracWikiToPdfPlugin since it > relies on htmldoc which on Windows is a pain to install. In a previous > project I used wget and it worked like a charm: you get everything, > wiki, tickets, reports, roadmap, comments, timeline, etc! (naturally, > you don't get the dynamic features like search, etc). > > But this time it didn't: our trac wiki (0.10) uses the trac account > manager with htdigest based authentication. I couldn't figure out the > right parameters for wget to get past the login page, couldn't remove > the need for login (could have eventually but was under time > pressure). > > I hit myself on the head when I realized that all I needed to do was > to *temporarily* give the "anonymous" user (the special username known > to trac) the TRAC_ADMIN privilege and wget then worked like a charm. > Here are the commands I used: > > trac-admin.py trac-env-name permissions add anonymous TRAC_ADMIN > cd wget > mkdir dump > cd dump > ..\wget -l3 -k -r -E http://hostname:port/trac-env-name > trac-admin.py trac-env-name permissions remove anonymous TRAC_ADMIN > cd hostname+port\trac > start trac-env-name.html > > You can download wget for windows as part of the gnuwin32 project. > > Next time I'll know where to find the info :) > > HTH, > Oliver > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
