Boost logo

Boost :

Subject: Re: [boost] Fwd: Line endings fixes
From: Vitaly Budovski (vbudovski+news_at_[hidden])
Date: 2013-08-10 07:46:21


On 10 August 2013 21:02, John Maddock <john_at_[hidden]> wrote:
>>> This program writes html and end of line as std::endl;.
>>>
>>
>> Regardless of the method, any text based formats should be checked
>> into SVN with mime-type text/plain and native eol.
>>
>>> These SVG files are used to generate the PDF version of Boost.Math docs
>>> (because using PNG produces
>>> very poor display).
>
>
> Except the svn-based browser doesn't then display them as images. Please
> don't say "fix the server" as I don't think we have control over that. If
> this issue is likely to go away when we convert to GIT shouldn't we just
> wait?
>
> John.
>

Except that it will *not* go away. As Dave mentioned, git has no
concept of mime-type in the repository unlike SVN. The bad files are
commited to SVN and git will simply fetch whatever it is told. It
makes no sense to hack around the problem by making a custom script to
fix broken files when it should just be done at the source, keeping
commit history accurate. Whoever is hosting the boost.org website can
fix the issue by setting the appropriate mime-type based on extension
in the web server.

Regards,

Vitaly


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk