Re: Checksum mismatch -- will transfer entire file

2009-12-29 Thread Dan Nelson
In the last episode (Dec 29), Victor Sudakov said:
 Nikos Vassiliadis wrote:
  Are you sure you understand me? I was talking about mirroring the whole
  repository with cvsup/cvsupd protocol, that's where the Checksum
  mismatch -- will transfer entire file error occurs.
  
  Sorry, I missed the part of conversation about cvs mode in cvsup.  I
  thought you were talking about cvs not working...
 
 If subversion could be used to mirror whole repositories I will consider
 switching to it.

You can use the svnsync command to fetch a local copy of the FreeBSD svn
repository, but that will only cover the base source tree.  The ports tree
and web pages are still CVS-only, so you would need to keep using cvsup for
them.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-28 Thread Nikos Vassiliadis

On 12/28/2009 7:46 AM, Victor Sudakov wrote:

To cut a long story short, I would rather continue using cvs, perhaps
until there is subversion-light in the base system.


I use successfully cvs for the same reasons. Most of the time I use the
French mirror and I have also used the two USA ones. I haven't bother
with Japan and Taiwan, since they're far away. Check this out:

http://www.freebsd.org/doc/en/books/handbook/anoncvs.html

Most of the time(99%) anoncvs.fr.FreeBSD.org seems to be in-sync
with the main repositories...

HTH, Nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-28 Thread Victor Sudakov
Nikos Vassiliadis wrote:
 To cut a long story short, I would rather continue using cvs, perhaps
 until there is subversion-light in the base system.
 
 I use successfully cvs for the same reasons. Most of the time I use the
 French mirror and I have also used the two USA ones. I haven't bother
 with Japan and Taiwan, since they're far away. Check this out:
 
 http://www.freebsd.org/doc/en/books/handbook/anoncvs.html
 
 Most of the time(99%) anoncvs.fr.FreeBSD.org seems to be in-sync
 with the main repositories...

Are you sure you understand me? I was talking about mirroring the
whole repository with cvsup/cvsupd protocol, that's where the 
Checksum mismatch -- will transfer entire file error occurs.

Actually I mirror the whole repository by cvsup from
cvsup?.ru.freebsd.org and then make it available over cvs to a bunch
of hosts at the local network. Updating every host in my network from
anoncvs.fr.FreeBSD.org or a similar server would be a waste of
bandwidth and resources.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-28 Thread perryh
Victor Sudakov v...@mpeks.tomsk.su wrote:
 ... [svn] needs python26, perl and tcl - all the three of them ...

It seems you may have discovered the significance of the name:
it subverts the sysadmin's sanity.  Maybe it can find practical
use as a meta-port for scripting languages, if someone cares to
add ruby to the mix ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-28 Thread Erik Trulsson
On Mon, Dec 28, 2009 at 11:46:37AM +0600, Victor Sudakov wrote:
 Victor Sudakov wrote:
 
 [dd]
 
   I would be happy to use svn as I do for my own projects.
  
  To run a cvs repository, you just need /usr/bin/cvs started from
  inetd. It is even in the base system. 
  
  To run a subversion repository, you need much more infrastructure and
  more overhead (lots of dependencies from ports, probably a Web server,
  a database backend etc).  Besides, cvs is conveniently integrated with
  Kerberos (we use :gserver: all the time) which I am not sure is
  possible with subversion.
 
 I have just built and installed ports/devel/subversion on a fresh box.
 The port installed 17 dependent ports:

Several of which are only build-dependencies. If you were to install
subversion as a package far fewer dependencies would be installed.

Of the ports you list autoconf/automake, libtool, help2man, perl, python, and
tcl (and possibly some more) are only needed when building the port.

 
 apr-ipv6-gdbm-1.3.8.1.3.9 Apache Portability Library
 autoconf-2.62   Automatically configure source code on many Un*x 
 platforms 
 autoconf-wrapper-20071109 Wrapper script for GNU autoconf
 automake-1.9.6_3GNU Standards-compliant Makefile generator (1.9)
 automake-wrapper-20071109 Wrapper script for GNU automake
 expat-2.0.1 XML 1.0 parser written in C
 gdbm-1.8.3_3The GNU database manager
 help2man-1.36.4_3   Automatically generating simple manual pages from program 
 o
 libiconv-1.13.1 A character set conversion library
 libtool-2.2.6b  Generic shared library support script
 m4-1.4.13,1 GNU m4
 neon28-0.28.6   An HTTP and WebDAV client library for Unix systems
 perl-5.8.9_3Practical Extraction and Report Language
 python26-2.6.4  An interpreted object-oriented programming language
 sqlite3-3.6.19  An SQL database engine in a C library
 subversion-1.6.6_1  Version control system
 tcl-8.5.8   Tool Command Language
 tcl-modules-8.5.8   Tcl common modules
 
 There could have been more but I had disabled some crap like the BDB
 backend.
 
 Please compare all this with a single /usr/bin/cvs binary and be
 horrified. Of course it needs python26, perl and tcl - all the three
 of them. I don't think I want all this on every server I plan to
 makeworld on. 
 
 To cut a long story short, I would rather continue using cvs, perhaps
 until there is subversion-light in the base system.
 
 -- 
 Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
 sip:suda...@sibptus.tomsk.ru
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-28 Thread Victor Sudakov
Erik Trulsson wrote:
  
I would be happy to use svn as I do for my own projects.
   
   To run a cvs repository, you just need /usr/bin/cvs started from
   inetd. It is even in the base system. 
   
   To run a subversion repository, you need much more infrastructure and
   more overhead (lots of dependencies from ports, probably a Web server,
   a database backend etc).  Besides, cvs is conveniently integrated with
   Kerberos (we use :gserver: all the time) which I am not sure is
   possible with subversion.
  
  I have just built and installed ports/devel/subversion on a fresh box.
  The port installed 17 dependent ports:
 
 Several of which are only build-dependencies. If you were to install
 subversion as a package far fewer dependencies would be installed.

I agree, but then it would be compiled with BDB support which I loathe.
(I have a reason to loathe BDB after using spamprobe with BDB backend
for some time).

(Of course, I always have the option to make my own package, I know
that). 

BTW, does svn allow mirroring the whole FreeBSD repository (like cvsup
in CVS mode), so that I can later checkout any branch from the local
repository?

 
 Of the ports you list autoconf/automake, libtool, help2man, perl, python, and
 tcl (and possibly some more) are only needed when building the port.

Sure, but even as a package it would depend on 

expat-2.0.1
neon28-0.28.6
sqlite3-3.6.19
gdbm-1.8.3_3
libiconv-1.13.1
apr-ipv6-gdbm-1.3.8.1.3.9


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-28 Thread Nikos Vassiliadis

On 12/28/2009 11:11 AM, Victor Sudakov wrote:

Are you sure you understand me? I was talking about mirroring the
whole repository with cvsup/cvsupd protocol, that's where the
Checksum mismatch -- will transfer entire file error occurs.


Sorry, I missed the part of conversation about cvs mode in cvsup.
I thought you were talking about cvs not working...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-28 Thread Dan Nelson
In the last episode (Dec 25), Victor Sudakov said:
  I cvsup the FreeBSD CVS repository daily from cvsup.ru.freebsd.org. 
  Both the client and the server run CVSup Software version: SNAP_16_1h,
  Protocol version: 17.0.
  
  Recently I noticed that there are lots of messages Checksum mismatch --
  will transfer entire file about all kinds of downloaded files.
  
  What could be the reason? Is my CVS repository corrupt or what? Is there
  a way to check the integrity of the entiry repository?
  
  I have read about there being a checksum mismatch problem in CVSup
  version before 15.4, but I am using SNAP_16_1h already.
  
  If this question is offtopic here, please direct me to a more relevant
  mailing list.  TIA.

 Am I the only one to have this problem?

I see this too.  Running cvsup -k and looking at the bad files shows that
the differences seem to be commit dates before 2000; one end has them as
99, and the other has 1999, which causes the checksum to change.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-28 Thread Victor Sudakov
Dan Nelson wrote:
 In the last episode (Dec 25), Victor Sudakov said:
   I cvsup the FreeBSD CVS repository daily from cvsup.ru.freebsd.org. 
   Both the client and the server run CVSup Software version: SNAP_16_1h,
   Protocol version: 17.0.
   
   Recently I noticed that there are lots of messages Checksum mismatch --
   will transfer entire file about all kinds of downloaded files.
   
   What could be the reason? Is my CVS repository corrupt or what? Is there
   a way to check the integrity of the entiry repository?
   
   I have read about there being a checksum mismatch problem in CVSup
   version before 15.4, but I am using SNAP_16_1h already.
   
   If this question is offtopic here, please direct me to a more relevant
   mailing list.  TIA.
 
  Am I the only one to have this problem?
 
 I see this too.  Running cvsup -k and looking at the bad files shows that
 the differences seem to be commit dates before 2000; one end has them as
 99, and the other has 1999, which causes the checksum to change.

This is interesting, but I observe different issues. Consider for
example the following diff:


*** #cvs.cvsup-20614.43 2009-12-29 08:56:31.0 +0600
--- cpucontrol.c,v  2009-12-29 04:58:12.0 +0600
***
*** 36,41 
--- 36,52 
  branches;
  next  ;
  
+ 1.3.2.1
+ date  2009.08.03.08.13.06;author kensmith;state Exp;
+ branches
+   1.3.2.1.2.1;
+ next  ;
+ 
+ 1.3.2.1.2.1
+ date  2009.10.25.01.10.29;author kensmith;state Exp;
+ branches;
+ next  ;
+ 
  1.2.2.1
  date  2009.01.12.15.48.22;author stas;state Exp;
  branches
***
*** 52,68 
  branches;
  next  ;
  
- 1.3.2.1
- date  2009.08.03.08.13.06;author kensmith;state Exp;
- branches
-   1.3.2.1.2.1;
- next  ;
- 
- 1.3.2.1.2.1
- date  2009.10.25.01.10.29;author kensmith;state Exp;
- branches;
- next  ;
- 
  
  desc
  @@
--- 63,68 
***
*** 815,817 
--- 815,818 
  a233 1
WARNX(0, error opening %s for reading, dev);
  @
+ 

We can observe the following:

1. There is an extra newline near the end of the file.

2. The changes in the file are the same but placed in different
positions in the file.

Any ideas?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-28 Thread Victor Sudakov
Nikos Vassiliadis wrote:
 Are you sure you understand me? I was talking about mirroring the
 whole repository with cvsup/cvsupd protocol, that's where the
 Checksum mismatch -- will transfer entire file error occurs.
 
 Sorry, I missed the part of conversation about cvs mode in cvsup.
 I thought you were talking about cvs not working...

If subversion could be used to mirror whole repositories I will
consider switching to it.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-27 Thread Victor Sudakov
David Kelly wrote:
 
 
  Colleagues,
  
  Am I the only one to have this problem? 
 
 
 No.
 
 Telling you more than I know: FreeBSD.org is moving (or has moved)
 from CVS to SVN. Is my guess that what we are seeing is an artifact
 of that move where data is hacked into cvs compatible format and all
 cvsup can do is pull down the entire file.

And nobody cares?

 
 I would be happy to use svn as I do for my own projects.

To run a cvs repository, you just need /usr/bin/cvs started from
inetd. It is even in the base system. 

To run a subversion repository, you need much more infrastructure and
more overhead (lots of dependencies from ports, probably a Web server,
a database backend etc).  Besides, cvs is conveniently integrated with
Kerberos (we use :gserver: all the time) which I am not sure is
possible with subversion.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-27 Thread Victor Sudakov
Victor Sudakov wrote:

[dd]

  I would be happy to use svn as I do for my own projects.
 
 To run a cvs repository, you just need /usr/bin/cvs started from
 inetd. It is even in the base system. 
 
 To run a subversion repository, you need much more infrastructure and
 more overhead (lots of dependencies from ports, probably a Web server,
 a database backend etc).  Besides, cvs is conveniently integrated with
 Kerberos (we use :gserver: all the time) which I am not sure is
 possible with subversion.

I have just built and installed ports/devel/subversion on a fresh box.
The port installed 17 dependent ports:

apr-ipv6-gdbm-1.3.8.1.3.9 Apache Portability Library
autoconf-2.62   Automatically configure source code on many Un*x platforms 
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.9.6_3GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20071109 Wrapper script for GNU automake
expat-2.0.1 XML 1.0 parser written in C
gdbm-1.8.3_3The GNU database manager
help2man-1.36.4_3   Automatically generating simple manual pages from program o
libiconv-1.13.1 A character set conversion library
libtool-2.2.6b  Generic shared library support script
m4-1.4.13,1 GNU m4
neon28-0.28.6   An HTTP and WebDAV client library for Unix systems
perl-5.8.9_3Practical Extraction and Report Language
python26-2.6.4  An interpreted object-oriented programming language
sqlite3-3.6.19  An SQL database engine in a C library
subversion-1.6.6_1  Version control system
tcl-8.5.8   Tool Command Language
tcl-modules-8.5.8   Tcl common modules

There could have been more but I had disabled some crap like the BDB
backend.

Please compare all this with a single /usr/bin/cvs binary and be
horrified. Of course it needs python26, perl and tcl - all the three
of them. I don't think I want all this on every server I plan to
makeworld on. 

To cut a long story short, I would rather continue using cvs, perhaps
until there is subversion-light in the base system.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-25 Thread David Kelly

On Dec 25, 2009, at 12:43 AM, Victor Sudakov wrote:

 Colleagues,
 
 Am I the only one to have this problem? 


No.

Telling you more than I know: FreeBSD.org is moving (or has moved) from CVS to 
SVN. Is my guess that what we are seeing is an artifact of that move where data 
is hacked into cvs compatible format and all cvsup can do is pull down the 
entire file.

I would be happy to use svn as I do for my own projects.

--
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatch -- will transfer entire file

2009-12-24 Thread Victor Sudakov
Colleagues,

Am I the only one to have this problem? 

Victor Sudakov wrote:
 
 I cvsup the FreeBSD CVS repository daily from cvsup.ru.freebsd.org.
 Both the client and the server run CVSup Software version: SNAP_16_1h,
 Protocol version: 17.0. 
 
 Recently I noticed that there are lots of messages
 Checksum mismatch -- will transfer entire file about all kinds of
 downloaded files. 
 
 What could be the reason? Is my CVS repository corrupt or what? Is
 there a way to check the integrity of the entiry repository?
 
 I have read about there being a checksum mismatch problem in CVSup
 version before 15.4, but I am using SNAP_16_1h already.
 
 If this question is offtopic here, please direct me to a more relevant
 mailing list. TIA.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Checksum mismatch -- will transfer entire file

2009-12-01 Thread Victor Sudakov
Colleagues,

I cvsup the FreeBSD CVS repository daily from cvsup.ru.freebsd.org.
Both the client and the server run CVSup Software version: SNAP_16_1h,
Protocol version: 17.0. 

Recently I noticed that there are lots of messages
Checksum mismatch -- will transfer entire file about all kinds of
downloaded files. 

What could be the reason? Is my CVS repository corrupt or what? Is
there a way to check the integrity of the entiry repository?

I have read about there being a checksum mismatch problem in CVSup
version before 15.4, but I am using SNAP_16_1h already.

If this question is offtopic here, please direct me to a more relevant
mailing list. TIA.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org