Patch #933

import_from_trac imports some trac wiki pages

Added by Andreas Neuhaus over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:2008-03-26
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Importers
Target version:0.7

Description

rake redmine:import_from_trac imports some trac-related wiki pages. Here's a patch to extend the wiki importer blacklist to also exclude InterMapTxt, InterTrac, InterWiki, RecentChanges, SandBox and TracRevisionsLog:

Index: lib/tasks/migrate_from_trac.rake
===================================================================
--- lib/tasks/migrate_from_trac.rake    (revision 1291)
+++ lib/tasks/migrate_from_trac.rake    (working copy)
@@ -149,10 +164,10 @@
         def time; Time.at(read_attribute(:time)) end
       end

-      TRAC_WIKI_PAGES = %w(TracAccessibility TracAdmin TracBackup TracBrowser TracCgi TracChangeset \
+      TRAC_WIKI_PAGES = %w(InterMapTxt InterTrac InterWiki RecentChanges SandBox TracAccessibility TracAdmin TracBackup TracBrowser TracCgi TracChangeset \
                            TracEnvironment TracFastCgi TracGuide TracImport TracIni TracInstall TracInterfaceCustomization \
                            TracLinks TracLogging TracModPython TracNotification TracPermissions TracPlugins TracQuery \
-                           TracReports TracRoadmap TracRss TracSearch TracStandalone TracSupport TracSyntaxColoring TracTickets \
+                           TracReports TracRevisionLog TracRoadmap TracRss TracSearch TracStandalone TracSupport TracSyntaxColoring TracTickets \
                            TracTicketsCustomFields TracTimeline TracUnicode TracUpgrade TracWiki WikiDeletePage WikiFormatting \
                            WikiHtml WikiMacros WikiNewPage WikiPageNames WikiProcessors WikiRestructuredText WikiRestructuredTextLinks \
                            CamelCase TitleIndex)

Associated revisions

Revision 1297
Added by Jean-Philippe Lang over 9 years ago

Trac importer: exclude more Trac wiki pages (#933).

History

#1 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

Patch applied in r1297. Thanks.

Also available in: Atom PDF