Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  Images in 1.70 and 1.71 are broken

Guest
Posted: Sun Sep 16, 2007 6:35 pm Reply with quote
Guest
Hi!

Looking at yaws 1.70, I've noticed that images included into its
distribution are broken. Today I've found new 1.71 with fixed images
for wiki. But for other applications they are still broken (chat and
mail).

Cheers!
--
Sergei Golovan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Sun Sep 16, 2007 7:03 pm Reply with quote
Guest
Sergei Golovan wrote:
> Hi!
>
> Looking at yaws 1.70, I've noticed that images included into its
> distribution are broken. Today I've found new 1.71 with fixed images
> for wiki. But for other applications they are still broken (chat and
> mail).
>
> Cheers!


Hmmm, I thought I fixed all the images. I'll check again. And
yes - 1.70 did indeed have broken .png images in e.g. the wiki
application.

It was (is) svn keywords attached to .{gif,png} files

/klacke

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Sun Sep 16, 2007 7:24 pm Reply with quote
Guest
Claes Wikstrom wrote:
> Sergei Golovan wrote:
>> Hi!
>>
>> Looking at yaws 1.70, I've noticed that images included into its
>> distribution are broken. Today I've found new 1.71 with fixed images
>> for wiki. But for other applications they are still broken (chat and
>> mail).
>>
>> Cheers!
>
>
> Hmmm, I thought I fixed all the images. I'll check again. And
> yes - 1.70 did indeed have broken .png images in e.g. the wiki
> application.
>
> It was (is) svn keywords attached to .{gif,png} files
>
> /klacke
>

You should set svn:mime-type to application/octet-stream for all binary
files, I think.

Mikael

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Sun Sep 16, 2007 8:06 pm Reply with quote
Guest
Mikael Magnusson wrote:

> You should set svn:mime-type to application/octet-stream for all binary
> files, I think.
>

I thought it sufficed to just remove all svn props. Still think that.

/klacke


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Sun Sep 16, 2007 8:29 pm Reply with quote
Guest
Claes Wikstrom wrote:
> Mikael Magnusson wrote:
>
>> You should set svn:mime-type to application/octet-stream for all
>> binary files, I think.
>>
>
> I thought it sufficed to just remove all svn props. Still think that.
>
> /klacke
>

Yes, but svn:mime-type are also used for other purposes, for example
when running diff. Are you really interested in textual differences
between two revisions of for example a png image?

Subversion will also try to merge text files when necessary, which you
don't want to do on binary files.

http://svnbook.red-bean.com/en/1.2/svn.advanced.props.html

Changes to text files are also included in the commit mail.

Mikael


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Sun Sep 16, 2007 9:22 pm Reply with quote
Guest
> http://svnbook.red-bean.com/en/1.2/svn.advanced.props.html
>
> Changes to text files are also included in the commit mail.
>

thanks

/klacke

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Mon Sep 17, 2007 8:46 am Reply with quote
Guest
On 9/17/07, Claes Wikstrom <klacke@tail-f.com> wrote:
> Mikael Magnusson wrote:
>
> > You should set svn:mime-type to application/octet-stream for all binary
> > files, I think.
> >
>
> I thought it sufficed to just remove all svn props. Still think that.

Looks like you set svn:mime-type already. But all (at least many)
images still have svn:eol-style property which is certainly wrong
there.

Also, the checkouted images are still broken (I've checkouted the
repository using Linux). If removing svn:eol-style property will not
fix pictures I think it would be suffitient to reupload them.

--
Sergei Golovan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Wed Sep 19, 2007 6:12 am Reply with quote
Guest
As far as I can see, the images are still broken (after removing
svn:eol-style property). I'm afraid that the only way to fix them is
to replace them in working copy by correct ones (from backup or
earlier release tarball) and commit changes.

--
Sergei Golovan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum