Hello everyone, as mentioned in the title i want to convert my trac
instance from sqlite to mysql (for several reasons, mainly to only to
only have one used database enviroment (easier to maintain and
backup), and to use trac data in other software)
my problem is, when i dump the data from trac it looks like this:
INSERT INTO "wiki" VALUES('TracNavigation',
1,1246964536000000,'trac','127.0.0.1','= Trac Navigation =
Starting with Trac 0.11, it is now possible to customize the main and
meta navigation entries in some basic ways.
The new `[mainnav]` and `[metanav]` configuration sections can now be
used to customize the text and link used for the navigation items, or
even to disable them.
`[mainnav]` corresponds to the ''''''main navigation bar'''''', the
one containing entries such as ''''Wiki'''', ''''Timeline'''',
''''Roadmap'''', ''''Browse Source'''' and so on. This navigation bar
is meant to access the default page of the main modules enabled in
Trac and accessible for the current user.
`[metanav]` corresponds to the ''''''meta navigation bar'''''', by
default positioned above the main navigation bar and below the
''''Search'''' box. It contains the ''''Log in'''', ''''Logout'''',
''''Help/Guide'''' etc. entries. This navigation bar is meant to
access some global information about the Trac project and the current
user.
Note that it is still not possible to customize the ''''''contextual
navigation bar'''''', i.e. the one usually placed below the main
navigation bar.
=== Example ===
In the following example, we rename the link to the Wiki start "Home",
and hide the "Help/Guide" link.
We also make the "View Tickets" entry link to a specific report.
Relevant excerpt from the TracIni:
{{{
[mainnav]
wiki.label = Home
tickets.href = /report/24
[metanav]
help = disabled
}}}
----
See also: TracInterfaceCustomization, and the [http://trac-hacks.org/
wiki/NavAddPlugin TracHacks:NavAddPlugin] or [http://trac-hacks.org/
wiki/MenusPlugin TracHacks:MenusPlugin] (still needed for adding
entries)
',NULL,NULL);
this won't import into mysql, not only because of the line endings
(which can be fixed by a script) but mainly because by the quotation
marks used by the trac wiki syntax, has anyone an idea how to fix this
easily ?
also, has anyone any experience with migrating from sqlite to mysql?
(i looked into thetrac wiki but the scripts mentioned here
http://trac.edgewall.org/wiki/SqLiteToMySql wont help me with my
problems)
Greetings,
nicolas
--
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.