From nobody@FreeBSD.org  Fri Jul 12 08:58:13 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id A9511C2D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 12 Jul 2013 08:58:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 9B2D217A2
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 12 Jul 2013 08:58:13 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6C8wDJk084904
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 12 Jul 2013 08:58:13 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6C8wDop084903;
	Fri, 12 Jul 2013 08:58:13 GMT
	(envelope-from nobody)
Message-Id: <201307120858.r6C8wDop084903@oldred.freebsd.org>
Date: Fri, 12 Jul 2013 08:58:13 GMT
From: Alexey Markov <redrat@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net/svnup: svn protocol doesn't work
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: jcm@visi.com

>Number:         180485
>Category:       ports
>Synopsis:       net/svnup: svn protocol doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jgh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 12 09:00:00 UTC 2013
>Closed-Date:    Tue Jul 23 07:53:37 UTC 2013
>Last-Modified:  Tue Jul 23 07:53:37 UTC 2013
>Originator:     Alexey Markov
>Release:        8.3-RELEASE-p7
>Organization:
JSC Complitex
>Environment:
FreeBSD host.redrat.ru 8.3-RELEASE-p7 FreeBSD 8.3-RELEASE-p7 #0: Thu Apr 4 14:15:05 MSK 2013 redrat@host.redrat.ru:/arc/obj/arc/src/sys/HOST amd64
>Description:
net/svnup can't fetch source tree using SVN protocol, while HTTP works like a charm.


>How-To-Repeat:
Try to fetch a source tree to an empty folder using SVN protocol.

svnup.conf:

[defaults]
work_directory=/var/db/svnup
host=svn.freebsd.org
protocol=svn
verbosity=1
trim_tree=0
extra_files=0

[releng]
branch=base/releng/8.4
target=/arc/home/redrat/src


host:svnup/svnup-0.97# ./svnup releng -k /tmp -l /arc/tst -p svn -v 3 > /tmp/rel8svn.txt
# Protocol: svn
# Address: svn.freebsd.org
# Port: 3690
# Branch: base/releng/8.4
# Target: /arc/tst
# Trim tree: No
# Show extra files: No
# Known files directory: /tmp

(exits immediately)


host:svnup/svnup-0.97# ./svnup releng -k /tmp -l /arc/tst -p http -v 3 > /tmp/rel8http.txt
Bytes read: 1771, Bytes expected: 1771, g:1, rg:2
# Protocol: http
# Address: svn.freebsd.org
# Port: 80
# Branch: base/releng/8.4
# Target: /arc/tst
# Trim tree: No
# Show extra files: No
# Known files directory: /tmp

(normally fetches source tree)


rel8svn.txt:

<< 0 bytes
==========
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jgh 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jul 12 09:00:14 UTC 2013 
Responsible-Changed-Why:  
jgh@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180485 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Jul 12 09:00:16 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180485 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: jcm@visi.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/180485: net/svnup: svn protocol doesn't work
Date: Fri, 12 Jul 2013 09:00:15 UT

 Maintainer of net/svnup,
 
 Please note that PR ports/180485 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/180485
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180485: commit references a PR
Date: Tue, 23 Jul 2013 07:47:09 +0000 (UTC)

 Author: jgh
 Date: Tue Jul 23 07:46:56 2013
 New Revision: 323518
 URL: http://svnweb.freebsd.org/changeset/ports/323518
 
 Log:
   - update to 0.98 [1]
   
   svnup-0.98 - 22 July 2013
   - Fixed a bug related to recent (v 1.8) updates to the svn protocol
     (pr ports/180485). [2]
   - Fixed a bug where version tags were inserted into files that did not
     have the FreeBSD=%H keyword associated with them (ports/180490). [3]
   
   PR:		180485 [2]
   PR:		180490 [3]
   Submitted by:	jcm@visi.com (maintainer) [1]
 
 Modified:
   head/net/svnup/Makefile
   head/net/svnup/distinfo
 
 Modified: head/net/svnup/Makefile
 ==============================================================================
 --- head/net/svnup/Makefile	Tue Jul 23 07:42:01 2013	(r323517)
 +++ head/net/svnup/Makefile	Tue Jul 23 07:46:56 2013	(r323518)
 @@ -1,7 +1,7 @@
  # $FreeBSD$
  
  PORTNAME=	svnup
 -PORTVERSION=	0.97
 +PORTVERSION=	0.98
  CATEGORIES=	net
  MASTER_SITES=	http://jcm.dsl.visi.com/freebsd/svnup/ \
  		LOCAL/jgh/net/${PORTNAME}/
 
 Modified: head/net/svnup/distinfo
 ==============================================================================
 --- head/net/svnup/distinfo	Tue Jul 23 07:42:01 2013	(r323517)
 +++ head/net/svnup/distinfo	Tue Jul 23 07:46:56 2013	(r323518)
 @@ -1,2 +1,2 @@
 -SHA256 (svnup-0.97.tar.xz) = 6c74b8850414047774731e5632dcc021ae9e56ad5df947d9853795248f05c9c9
 -SIZE (svnup-0.97.tar.xz) = 18336
 +SHA256 (svnup-0.98.tar.xz) = 23b028d4ae8ded79706fd8bcb4accde608b0ab899052b986c5811abfe0c9ee82
 +SIZE (svnup-0.98.tar.xz) = 18356
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: jgh 
State-Changed-When: Tue Jul 23 07:53:36 UTC 2013 
State-Changed-Why:  
fixed in r323518 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180485 
>Unformatted:
 >> Response:
 ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops depth log-revprops atomic-revprops partial-replay inherited-props ephemeral-txnprops
  file-revs-reverse ) ) )<< 173 bytes
 ( 2 ( edit-pipeline svndiff1 absent-entries commit-revprops depth log-revprops atomic-revprops partial-replay ) 37:svn://svn.freebsd.org/base/releng/8.4 10:svnup-0.97 ( ) )
 ==========
 >> Response:
 ( success ( ( ANONYMOUS ) 36:ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f ) )<< 21 bytes
 ( ANONYMOUS ( 0: ) )
 ==========
 >> Response:
 ( success ( ) )<< 23 bytes
 ( get-latest-rev ( ) )
 ==========
 >> Response:
 ( success ( ( ) 0: ) )<< 33 bytes
 ( check-path ( 0: ( 253255 ) ) )
 ==========
 >> Response:
 ( success ( ( ) 0: ) )# Revision: 253255
 << 55 bytes
 ( get-dir ( 0: ( 253255 ) false true ( kind size ) ) )
 ==========
 >> Response:
 ( success ( ( ) 0: ) )
 .[0K
 
 
 rel8http.txt:
 
 << 454 bytes
 OPTIONS /base/releng/8.4 HTTP/1.1
 
 Host: svn.freebsd.org
 
 User-Agent: svnup-0.97
 
 Content-Type: text/xml
 
 DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
 
 DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
 
 DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
 
 Transfer-Encoding: chunked
 
 
 83
 
 <?xml version="1.0" encoding="utf-8"?><D:options xmlns:D="DAV:"><D:activity-coll
 ection-set></D:activity-collection-set></D:options>
 
 0
 
 
 # Revision: 253255
 << 555 bytes
 REPORT /base/!svn/me HTTP/1.1
 
 Host: svn.freebsd.org
 
 User-Agent: svnup-0.97
 
 Content-Type: text/xml
 
 DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
 
 DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
 
 DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
 
 Transfer-Encoding: chunked
 
 
 ed
 
 <S:update-report xmlns:S="svn:">
 <S:src-path>/base/releng/8.4</S:src-path>
 <S:target-revision>253255</S:target-revision>
 <S:depth>unknown</S:depth>
 <S:entry rev="253255" depth="infinity" start-empty="true"></S:entry>
 </S:update-report>
 
 
 0
 
 
 << 9837 bytes
 PROPFIND /base/!svn/rvr/248810/releng/8.4/include/signal.h HTTP/1.1
 Depth: 1
 Host: svn.freebsd.org
 
 PROPFIND /base/!svn/rvr/248810/releng/8.4/include/fnmatch.h HTTP/1.1
 Depth: 1
 Host: svn.freebsd.org
 
 PROPFIND /base/!svn/rvr/248810/releng/8.4/include/glob.h HTTP/1.1
 Depth: 1
 Host: svn.freebsd.org
 
 PROPFIND /base/!svn/rvr/248810/releng/8.4/include/_ctype.h HTTP/1.1
 Depth: 1
 Host: svn.freebsd.org
 
 PROPFIND /base/!svn/rvr/248810/releng/8.4/include/ctype.h HTTP/1.1
 Depth: 1
 Host: svn.freebsd.org
 
 PROPFIND /base/!svn/rvr/248810/releng/8.4/include/timeconv.h HTTP/1.1
 Depth: 1
 Host: svn.freebsd.org
 
 (and so on...)
