Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Displaying a repository file using WikiFormatting?

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


lorenzo.flueckiger at gmail

Nov 21, 2006, 11:05 AM

Post #1 of 6 (1089 views)
Permalink
Displaying a repository file using WikiFormatting?

Most project have INSTALL or README plain text files commited under the
svn repository.
I would like to reference them from the main Wiki and having them
displayed processed by the wiki engine.
Is there a way to force processing the file as a Wiki file when linking
to it with something like: source:trunk/INSTALL ?

Thanks,

Lorenzo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


kantrn at rpi

Nov 21, 2006, 11:35 AM

Post #2 of 6 (1070 views)
Permalink
Re: Displaying a repository file using WikiFormatting? [In reply to]

lorenzo.flueckiger [at] gmail wrote:
> Most project have INSTALL or README plain text files commited under the
> svn repository.
> I would like to reference them from the main Wiki and having them
> displayed processed by the wiki engine.
> Is there a way to force processing the file as a Wiki file when linking
> to it with something like: source:trunk/INSTALL ?

Use the MIME type text/x-trac-wiki.

--Noah


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


lorenzo.flueckiger at gmail

Nov 21, 2006, 12:03 PM

Post #3 of 6 (1062 views)
Permalink
Re: Displaying a repository file using WikiFormatting? [In reply to]

How do I use the mime setting?
I tried to insert the following text in my file, but it still does not
work...

{{{
#!text/x-trac-wiki

= How to install blah-blah
...
}}}

Note: we are using Trac 0.10.2

Lorenzo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


kantrn at rpi

Nov 21, 2006, 12:11 PM

Post #4 of 6 (1086 views)
Permalink
Re: Displaying a repository file using WikiFormatting? [In reply to]

lorenzo.flueckiger [at] gmail wrote:
> How do I use the mime setting?
> I tried to insert the following text in my file, but it still does not
> work...

Under Subversion, `svn ps svn:mime-type text/x-trac-wiki <file>`.

--Noah



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


me at mattgillen

Nov 21, 2006, 12:12 PM

Post #5 of 6 (1079 views)
Permalink
Re: Displaying a repository file using WikiFormatting? [In reply to]

lorenzo.flueckiger [at] gmail wrote:
> How do I use the mime setting?
> I tried to insert the following text in my file, but it still does not
> work...
>
> {{{
> #!text/x-trac-wiki
>
> = How to install blah-blah
> ...
> }}}
>
> Note: we are using Trac 0.10.2

You need to set the mime type in /subversion/:
svn propedit svn:mime-type INSTALL

Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


lorenzo.flueckiger at gmail

Nov 21, 2006, 12:36 PM

Post #6 of 6 (1063 views)
Permalink
Re: Displaying a repository file using WikiFormatting? [In reply to]

Works perfectly...
Thanks a lot guys!
Lorenzo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.