https://svnweb.freebsd.org/ Attic URLs, eg for ports/mail/demime ?
Julian H. Stacey
jhs at berklix.com
Tue Dec 30 01:33:13 UTC 2014
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.
More information about the freebsd-ports
mailing list