On 22 November 2012 14:05, Richard Hipp <d...@sqlite.org> wrote:

> (3) Add a "use text/plain" mark to new check-in comments.  Check-in comments
> (and ticket text) are rendered in text/x-fossil-wiki by default but as
> text/plain if they contain the new mark.  There are a couple of possible
> ways to add the "use text/plain" mark:
>
> (3a) Extend the artifact format by adding optional mimetype fields to the
> end of C and J cards.  (See
> http://www.fossil-scm.org/fossil/doc/trunk/www/fileformat.wiki for
> background information on what C and J cards are.)  This is the cleanest
> approach, but it means that new check-ins could not be understood by older
> versions of Fossil.  It would force people to upgrade.

Another alternative is to treat cards without mimetype as
text/x-fossil-wiki and allow for creating cards without mimetype when
the text/x-fossil-wiki is set as default. You can then pick when
upgrade to new fossil is required to access a particular repository
and have the support for new formats available.

The problem is with syncing commits and/or tickets from other
repositories. Since there are no commit hooks yet it is not possible
to reject artifacts that do not conform to the repository policy.

Thanks

Michal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to