dan mclaughlin skrev den 2015-04-11 12:16:
> On Sat, 11 Apr 2015 11:59:14 +0200 Johan Mellberg <johan.mellb...@gmail.com>
> wrote:
>> dan mclaughlin skrev den 2015-04-11 10:55:
>>> On Sat, 11 Apr 2015 10:27:19 +0200 Johan Mellberg
>>> <johan.mellb...@gmail.com> wrote:
>>>> Hi,
>>>>
>>>> I want to start following -stable so I have read
>>>> http://www.openbsd.org/anoncvs.html and
>>>> http://www.openbsd.org/faq/faq5.html#BldGetSrc as well as looking through
>>>> the mailing list archives
>>>> ​ for cvs from preloaded source​
>>>> .
>>>>
>>>> I thought that I'd preload the sources so downloaded all of sys, src, ports
>>>> and xenocara and put them in /usr as per instructions.
>>>>
>>>> No problem, but I am left with one unclear issue
>>>> ​ (complete cvs noob). On http://www.openbsd.org/anoncvs.html
>>>> ​ ​
>>>> it says
>>>>
>>>> "NOTE: If you are updating a source tree that you initially fetched from a
>>>> different server, or from a CD, you must add the -d [cvsroot] option to
>>>> cvs.
>>>>
>>>> # cd /usr/src
>>>> # cvs -d anon...@anoncvs.ca.openbsd.org:/cvs -q up -Pd"
>>>>
>>>> ​I do not understand what version I then end up with, because on ​
>>>> http://www.openbsd.org/faq/faq5.html#BldGetSrc
>>>> ​ and above the quoted section it says to add -rOPENBSD_5_6 to get
>>>> -stable
>>>> (for 5.6) when checking out from scratch. But I am not sure since​ this
>>>> is
>>>> the only example for updating preloaded files. IF I run that there is
>>>> updating of course, but there's no "Tag" that tells me if it is HEAD or
>>>> whatever. If I add -rOPENBSD_5_6 I get the Tag file of course but what
>>>> version do I get without it?!? And how should I update the next time?
>>>>
>>>> Thanks/Johan
>>>>
>>>
>>> the version you get without any tag is -current, the latest version, lagging
>>> by only a few hours at most from what the devs commit, depending on the
>>> server.
>>>
>> Ah, thanks! I suspected that, but as I said was not sure. I'll add the
>> -r<version> from now on. Would it perhaps be something to add to the web
>> page then, in the interest of absolute clarity?
>>
>> Also, if I have updated to -current as per above what is the result if
>> I rerun the update, but with the tag? I have tried it and while I do get
>> the Tag file (saying "TOPENBSD_5_6") I again do not quite understand
>> what I should expect in that case.
>>
>
> really not sure what would happen, never used the tags myself (i just run
> -current). to be on the safe side though, you could just grab the src.tar.gz
> for 5.6 as a starting point and run the update again with the stable tag.
>
Yup, that is what I'll do, I was just curious. Thanks!
/Johan