Is there any way how to get system working similary to github regards
to readme files? It would be really great to use root's readme file as
project description
> Is there any way how to get system working similary to github regards > to readme files? It would be really great to use root's readme file as > project description
There is no automatism available; you can, however, embed a source file into your project description or any wiki page like this:
[[[README.mdtext]]]
If you want to pin the displayed file to a particular version, then use this syntax:
[[[README.mdtext, feature-branch-or-revision]]]
Thomas.
-- GPG-Key 0x160D1092 | tommyd3...@jabber.ccc.de | http://thomaskeller.biz Please note that according to the EU law on data retention, information on every electronic information exchange might be retained for a period of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
> > Is there any way how to get system working similary to github regards
> > to readme files? It would be really great to use root's readme file as
> > project description
> There is no automatism available; you can, however, embed a source file
> into your project description or any wiki page like this:
> [[[README.mdtext]]]
> If you want to pin the displayed file to a particular version, then use
> this syntax:
> [[[README.mdtext, feature-branch-or-revision]]]
> Thomas.
> --
> GPG-Key 0x160D1092 | tommyd3...@jabber.ccc.de |http://thomaskeller.biz > Please note that according to the EU law on data retention, information
> on every electronic information exchange might be retained for a period
> of six months or longer:http://www.vorratsdatenspeicherung.de/?lang=en
On Jan 2, 3:32 pm, Thomas Keller <m...@thomaskeller.biz> wrote:
> Am 02.01.12 14:20, schrieb Lubo Remplík:
> > Is there any way how to get system working similary to github regards
> > to readme files? It would be really great to use root's readme file as
> > project description
> There is no automatism available; you can, however, embed a source file
> into your project description or any wiki page like this:
> [[[README.mdtext]]]
That looks great, but it doesn't work for me. Does it have to be
*.mdtext Or are there any other constraints ?
I've tried:
[[[README.txt]]]
[[[README.txt,h:pl.reddix.tinfra]]]
[[[README.txt,pl.reddix.tinfra]]]
On Jan 23, 9:27 am, Zbigniew Zagórski <z.zagor...@gmail.com> wrote:
(...)
> > There is no automatism available; you can, however, embed a source file
> > into your project description or any wiki page like this:
> > [[[README.mdtext]]]
> That looks great, but it doesn't work for me. Does it have to be
> *.mdtext Or are there any other constraints ?
> I've tried:
> [[[README.txt]]]
> [[[README.txt,h:pl.reddix.tinfra]]]
> [[[README.txt,pl.reddix.tinfra]]]
Ok, i found the reason.
The markdown code that tries to embed file does two things
to fool up ;) poor users:
- first, on monotone it incorrectly resolves selector when
getting head revision it gets file from first revision of
that happens to be output of "automate select <project_main_branch>
instead of "automate select h:<project_main_branch>
so, one must specify revision selector by using comma syntax ..
- second, comma syntax is too strict, space after command is a
must:
-[[[README.txt,h:pl.reddix.tinfra]]]
+[[[README.txt, h:pl.reddix.tinfra]]]
I will try to prepare patch in free time (not soon)