From owner-freebsd-ports@FreeBSD.ORG Tue Dec 30 01:33:13 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3AA0EA39 for ; Tue, 30 Dec 2014 01:33:13 +0000 (UTC) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 90B36219D for ; Tue, 30 Dec 2014 01:33:10 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBF3B6.dip0.t-ipconnect.de [93.203.243.182]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id sBU1Vsfa083462; Tue, 30 Dec 2014 01:31:55 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id sBU1WkNF067534; Tue, 30 Dec 2014 02:32:46 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id sBU1WRk1086349; Tue, 30 Dec 2014 02:32:39 +0100 (CET) (envelope-from jhs@berklix.com) Message-Id: <201412300132.sBU1WRk1086349@fire.js.berklix.net> To: olli hauer Subject: Re: https://svnweb.freebsd.org/ Attic URLs, eg for ports/mail/demime ? From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Mon, 29 Dec 2014 21:43:43 +0100." <54A1BCFF.7050806@gmx.de> Date: Tue, 30 Dec 2014 02:32:26 +0100 Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2014 01:33:13 -0000 Hi Olli cc ports@ olli hauer wrote Mon, 29 Dec 2014 21:43:43 +0100 : > On 2014-12-29 17:19, Julian H. Stacey wrote: > > olli hauer wrote Sat, 27 Dec 2014 08:25:09 +0100: > > > >> On 2014-12-27 03:30, Julian H. Stacey wrote: > >>> Hi ports@ > >>> What URL(s) do I need under > >>> https://svnweb.freebsd.org/ > >>> to get to the Attic for last copy of eg ports/mail/demime ? > >>> > >>> How is one supposed to find URLs /svn rev nos ? > >>> (I have a local svn if it helps, but was looking on web) > >>> > >>> demime was removed after release date 2012-01 of 9.0.0 > >>> https://svnweb.freebsd.org/ports/tags/RELEASE_9_0_0/mail/demime/ > >>> > >>> I want to know not just URL but also How to find last URL/ svn > >>> revision numbers, as I'm trying to rescue & upgrade a few ports from oblivion. > >>> > >>> I presume there's some better way to search than binary search > >>> (repeated splitting & re-search in the middle between narowing dates) ? > >> > >> Hi Julian, > >> > >> with viewvc only it is not that easy, but with (svn) command line. > >> > >> $ grep demime /usr/ports/MOVED > >> mail/demime||2011-12-28|Has expired: No upstream development since 2007 > >> > >> $ svn log -qv -r '{2011-12-28}':'{2011-12-29}' > >> r288196 | rene | 2011-12-28 18:49:04 +0100 (Wed, 28 Dec 2011) > >> Changed paths: > >> ... > >> M /head/mail/Makefile > >> D /head/mail/demime > >> ... > >> > >> Setting 288195 as sticky revision in viewvc we get this URL > >> https://svnweb.freebsd.org/ports/head/mail/demime/?pathrev=288195 > > > > > > Thanks Olli, > > There's something I'm missing in my environent ? > > I have /usr/svn -> /pri/FreeBSD/development/FreeBSD-SVN > > With > > cd /pri/FreeBSD/development/FreeBSD-SVN/ports;ls > > # README.txt conf db format hooks locks > > svn log -qv -r '{2011-12-28}':'{2011-12-29}' > > I got > > svn: E155007: '/pri/FreeBSD/development/FreeBSD-SVN/ports' is not a working copy > > > > I suggest someone append to man svn: > > SEE ALSO https://www.freebsd.org/doc/en/books/handbook/svn.html > > non-optimal mini patches that do that are here: > > http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/devel/subversion/ > > > > I experimented some more: > > > > cd /usrb/tmp/svn; svn checkout -q file:///usr/svn/ports > > still running after 14 hours, so still waiting to try later. > > > > svn log -qv -r http://svn.freebsd.org/ports/head '{2011-12-28}':'{2011-12-29}' > > svn: E205000: Syntax error in revision argument 'http://svn.freebsd.org/ports/head' > > > > svn log http://svn.freebsd.org/ports/head '{2011-12-28}':'{2011-12-29}' > > svn: E160013: File not found: revision 375791, path '/head/{2011-12-28}:{2011-12-29}' > > > > svn log http://svn.freebsd.org/ports '{2011-12-28}':'{2011-12-29}' > > svn: E160013: File not found: revision 375791, path '/{2011-12-28}:{2011-12-29}' > > > > Questions: > > - what if anything do need to check with printenv ? (aka CVSROOT etc from the past) > > - which directory (/bin/pwd) I should be in to run that command "svn log ..." ? > > - what should the contents of that directory be ? (eg what does your ls show) ? > > > > Thanks ! > > > > Cheers, > > Julian > > Hi Julian, > > take the date as rev. parameter, see `svn help log' > > Time for a working practical example, pick a FreeBSD mirror from https://www.freebsd.org/doc/en/books/handbook/svn.html. > We will run the command in a fresh empty dir (not part of any existing svn workspace) > > $ mkdir /tmp/svnlogfoo && cd /tmp/svnlogfoo > $ svn log -qv -r '{2011-12-28}':'{2011-12-29}' http://svn0.eu.freebsd.org/ports ................................................ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I tried that & Svn finaly ran. Thanks :-) Your last post had no trailing URL, just: > svn log -qv -r '{2011-12-28}':'{2011-12-29}' I had been wrongly assuming svn would fetch from some assumed path, perhaps /usr/svn, perhaps with setenv environment variable over-ride (aka cvs & CVSROOT). I had also tried svn log -qv -r '{2011-12-28}':'{2011-12-29}' /usr/svn/ports but svn failed with useless error message: svn: E155007: '/usr/svn/ports' is not a working copy now I've tried with svn log -qv -r '{2011-12-28}':'{2011-12-29}' file:///usr/svn/ports & that too runs :-) It's late, I'll work through the rest of your example tomorrow. Thanks Olli ! Cheers, Julian -- Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com Indent previous with "> ". Interleave reply paragraphs like a play script. Send plain text, not quoted-printable, HTML, base64, or multipart/alternative.