Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  image corruption in svn

Guest
Posted: Wed Mar 21, 2007 1:26 am Reply with quote
Guest
i took from the response to my make issue that this project was just
moved to svn. it would appear that some images were corrupted during
the transition.

for example:
http://erlyaws.svn.sourceforge.net/viewvc/erlyaws/trunk/yaws/www/
icons/yaws_head.gif?revision=2&view=markup
http://erlyaws.cvs.sourceforge.net/erlyaws/yaws/www/icons/
yaws_head.gif?revision=1.1.1.1&view=markup


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Wed Mar 21, 2007 7:44 am Reply with quote
Guest
Kordova wrote:
> i took from the response to my make issue that this project was just
> moved to svn. it would appear that some images were corrupted during
> the transition.
>
> for example:
> http://erlyaws.svn.sourceforge.net/viewvc/erlyaws/trunk/yaws/www/
> icons/yaws_head.gif?revision=2&view=markup
> http://erlyaws.cvs.sourceforge.net/erlyaws/yaws/www/icons/
> yaws_head.gif?revision=1.1.1.1&view=markup
>

The problem is that yaws_head.gif is treaded as a text file and it's
line endings has been converted to "native", and it's also subject to
keyword substitution. Binary files should have the svn:mime-type
property set but not svn:keywords and svn:eol-style.

Mikael

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Wed Mar 21, 2007 12:28 pm Reply with quote
Guest
On 21-Mar-07, at 4:43 AM, Mikael Magnusson wrote:

> Kordova wrote:
>> i took from the response to my make issue that this project was just
>> moved to svn. it would appear that some images were corrupted during
>> the transition.
>>
>> for example:
>> http://erlyaws.svn.sourceforge.net/viewvc/erlyaws/trunk/yaws/www/
>> icons/yaws_head.gif?revision=2&view=markup
>> http://erlyaws.cvs.sourceforge.net/erlyaws/yaws/www/icons/
>> yaws_head.gif?revision=1.1.1.1&view=markup
>>
>
> The problem is that yaws_head.gif is treaded as a text file and it's
> line endings has been converted to "native", and it's also subject to
> keyword substitution. Binary files should have the svn:mime-type
> property set but not svn:keywords and svn:eol-style.

Actually Subversion is very good at detecting binary files - unlike
CVS I've never seen it confuse a binary with text (I believe it
checks for any zero bytes).

So I'd also look at the possibility the imported file was corrupt
before Svn saw it.

--Toby


>
> Mikael
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Wed Mar 21, 2007 12:34 pm Reply with quote
Guest
Toby Thain wrote:
>
>
> So I'd also look at the possibility the imported file was corrupt
> before Svn saw it.
>

regardless - the thing is fixed by now.

Thanks

/klacke

--
Claes Wikstrom -- Caps lock is nowhere and
http://www.tail-f.com -- everything is under control
cellphone: +46 70 2097763

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Wed Mar 21, 2007 12:41 pm Reply with quote
Guest
Toby Thain wrote:
>
> On 21-Mar-07, at 4:43 AM, Mikael Magnusson wrote:
>

>>
>> The problem is that yaws_head.gif is treaded as a text file and it's
>> line endings has been converted to "native", and it's also subject to
>> keyword substitution. Binary files should have the svn:mime-type
>> property set but not svn:keywords and svn:eol-style.
>
> Actually Subversion is very good at detecting binary files - unlike CVS
> I've never seen it confuse a binary with text (I believe it checks for
> any zero bytes).
>
> So I'd also look at the possibility the imported file was corrupt before
> Svn saw it.
>
> --Toby
>

Refer to section "End-of-line translation" in cvs2svn Documentation[1]:

If you have been conscientious about marking files as binary in
CVS,
then cvs2svn shouldn't have any problem. But if you have been
sloppy, you need to do something now or you will have problems.

The files were not marked as binary in CVS, and that something wasn't
done which result in the problems.

Mikael

[1]http://cvs2svn.tigris.org/cvs2svn.html

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Wed Mar 21, 2007 12:46 pm Reply with quote
Guest
Mikael Magnusson wrote:

> Refer to section "End-of-line translation" in cvs2svn Documentation[1]:
>

case closed

> But if you have been
> sloppy,

Which I probably was.

> you need to do something now

Which I did.


>or you will have problems.
>

Which I/we had.


Thanks

/klacke


--
Claes Wikstrom -- Caps lock is nowhere and
http://www.tail-f.com -- everything is under control
cellphone: +46 70 2097763

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Wed Mar 21, 2007 12:47 pm Reply with quote
Guest
Claes Wikstr
Guest
Posted: Wed Mar 21, 2007 9:14 pm Reply with quote
Guest
thanks for taking care of this so quickly!

On Mar 21, 2007, at 8:34 AM, Claes Wikstr
Idon
Posted: Sun Apr 08, 2007 6:00 pm Reply with quote
Guest
Jessica Alba In *beep* Action Movie!
http://Jessica-Alba-In-*beep*-Action-Movie.info/WindowsMediaPlayer.php?movie=231891

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