https://svnweb.freebsd.org/ Attic URLs, eg for ports/mail/demime ?
Julian H. Stacey
jhs at berklix.com
Mon Dec 29 16:20:36 UTC 2014
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
--
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