cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I know before asking this has been covered profusely, and I have read a lot in the handbook, man pages, fbsd web site & mailing list archives. But, there are some things I just do not understand. My main question is, is it okay to change /home/ncvs to /usr/ncvs I ask because of the repository size compared to what I have on this box on /home & /usr. Filesystem SizeUsed Avail Capacity Mounted on /dev/amrd0s1e1.9G277M1.5G15%/home Filesystem SizeUsed Avail Capacity Mounted on /dev/amrd0s1g 11G2.3G7.7G23%/usr So you can see why I want to use /usr/ncvs instead of /home/ncvs. I guess I'm a lousy googler, but I just couldn't seem to phrase my question to find the answer I wanted. My 2nd question is, when you cvsup an individual release, it says not to include ports-all and doc-all, as you will wipe out what you already have. But, when you don't specify an individual release, just *default release=cvs and src-all, if you specify ports-all & doc-all, you won't wipe out what you already have. Am I understanding it correctly? Thanks in advance for your patience & any help & explanations I receive. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCpiCYy0Ty5RZE55oRAnQXAKCWzg4Uizlb7f5kj+GvmhKLzw0QGQCeM5yg Qj4rJMd0PgxtBPiU2clAbl4= =O3lU -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cvs question?
Hi people I am learning in the use of cvs for sync my src and ports i use this command line and works perfectly #cvs -d [EMAIL PROTECTED]:/home/ncvs co src but this line update my source tree with the current version 6.0 but i don't want this version then i do this #cvs -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src and get this error cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied What can i do? How can i obtain the src tree of 5-STABLE and the ports tree via cvs "i can not use cvsup"? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cvs question
I'm being driven slowly mad by cvs... I have 3 boxes, one is acting as a cvs server. The "cvs clients" (for lack of a better term) are running 6.1 and should be configured the same. Yet, one machine lets me do a cvs login, the other requires I use cvs -d :psserver:.. with each cvs command. I do not have CVSROOT set on either machine. What I get is this: [#822] cvs login Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar cvs login: authorization failed: server myserver rejected access to /home/foo/bar for user mgrant yet, on the other machine, I get a password prompt and all is fine. Ideas? Suggestions? Michael Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denny White wrote: | | | I know before asking this has been | covered profusely, and I have read | a lot in the handbook, man pages, | fbsd web site & mailing list archives. | But, there are some things I just do | not understand. My main question is, | is it okay to change | /home/ncvs | to | /usr/ncvs | I ask because of the repository size | compared to what I have on this box | on /home & /usr. | | Filesystem SizeUsed Avail Capacity Mounted on | /dev/amrd0s1e1.9G277M1.5G15%/home | | Filesystem SizeUsed Avail Capacity Mounted on | /dev/amrd0s1g 11G2.3G7.7G23%/usr | | So you can see why I want to use /usr/ncvs | instead of /home/ncvs. I guess I'm a lousy | googler, but I just couldn't seem to phrase | my question to find the answer I wanted. You can change it to what ever you want. I have /usr/local/cvs/ and then various repositories for different projects. | | My 2nd question is, when you cvsup an individual | release, it says not to include ports-all and | doc-all, as you will wipe out what you already | have. But, when you don't specify an individual | release, just *default release=cvs and src-all, | if you specify ports-all & doc-all, you won't | wipe out what you already have. Am I understanding | it correctly? | Thanks in advance for your patience & any help | & explanations I receive. | | You want to cvsup ports-all with tag=. since the ports dont change with each relase, just the src. - -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCpiKD9Jm/aTrtdKoRAqNxAJ9SXVeyV7F1VZFZRqpSCJkVGyejxgCfeglr bL79FsBUGJq9KfNNLqC+G68= =VAYJ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
I appreciate the answer. I'm kind of up against the wall with this thing. Can't seem to get it. I created /usr/local/ncvs, setenv CVSROOT /usr/local/ncvs & tried to do what I thought would be simpler & a good trial run on something simpler than the whole source tree. I did a cvsup on www & got it okay. Then I went into /usr/local/www & did a make install. It started filling up /root with public_html & finally stopped on an error, saying the CVSROOT environment setting was invalid. What am I doing wrong? On Tue, 7 Jun 2005, Bob Bomar wrote: Denny White wrote: | | | I know before asking this has been | covered profusely, and I have read | a lot in the handbook, man pages, | fbsd web site & mailing list archives. | But, there are some things I just do | not understand. My main question is, | is it okay to change | /home/ncvs | to | /usr/ncvs | I ask because of the repository size | compared to what I have on this box | on /home & /usr. | | Filesystem SizeUsed Avail Capacity Mounted on | /dev/amrd0s1e1.9G277M1.5G15%/home | | Filesystem SizeUsed Avail Capacity Mounted on | /dev/amrd0s1g 11G2.3G7.7G23%/usr | | So you can see why I want to use /usr/ncvs | instead of /home/ncvs. I guess I'm a lousy | googler, but I just couldn't seem to phrase | my question to find the answer I wanted. You can change it to what ever you want. I have /usr/local/cvs/ and then various repositories for different projects. | | My 2nd question is, when you cvsup an individual | release, it says not to include ports-all and | doc-all, as you will wipe out what you already | have. But, when you don't specify an individual | release, just *default release=cvs and src-all, | if you specify ports-all & doc-all, you won't | wipe out what you already have. Am I understanding | it correctly? | Thanks in advance for your patience & any help | & explanations I receive. | | You want to cvsup ports-all with tag=. since the ports dont change with each relase, just the src. -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denny White wrote: | | | I appreciate the answer. I'm kind of up | against the wall with this thing. Can't | seem to get it. I created /usr/local/ncvs, | setenv CVSROOT /usr/local/ncvs & tried to | do what I thought would be simpler & a good | trial run on something simpler than the | whole source tree. I did a cvsup on www & | got it okay. Then I went into /usr/local/www | & did a make install. It started filling up | /root with public_html & finally stopped on | an error, saying the CVSROOT environment | setting was invalid. What am I doing wrong? | | | | On Tue, 7 Jun 2005, Bob Bomar wrote: | |> Denny White wrote: |> | |> | |> | I know before asking this has been |> | covered profusely, and I have read |> | a lot in the handbook, man pages, |> | fbsd web site & mailing list archives. |> | But, there are some things I just do |> | not understand. My main question is, |> | is it okay to change |> | /home/ncvs |> | to |> | /usr/ncvs |> | I ask because of the repository size |> | compared to what I have on this box |> | on /home & /usr. |> | |> | Filesystem SizeUsed Avail Capacity Mounted on |> | /dev/amrd0s1e1.9G277M1.5G15%/home |> | |> | Filesystem SizeUsed Avail Capacity Mounted on |> | /dev/amrd0s1g 11G2.3G7.7G23%/usr |> | |> | So you can see why I want to use /usr/ncvs |> | instead of /home/ncvs. I guess I'm a lousy |> | googler, but I just couldn't seem to phrase |> | my question to find the answer I wanted. |> |> You can change it to what ever you want. |> I have /usr/local/cvs/ and then various repositories |> for different projects. |> |> | |> | My 2nd question is, when you cvsup an individual |> | release, it says not to include ports-all and |> | doc-all, as you will wipe out what you already |> | have. But, when you don't specify an individual |> | release, just *default release=cvs and src-all, |> | if you specify ports-all & doc-all, you won't |> | wipe out what you already have. Am I understanding |> | it correctly? |> | Thanks in advance for your patience & any help |> | & explanations I receive. |> | |> | |> |> You want to cvsup ports-all with tag=. since |> the ports dont change with each relase, just the src. |> |> I think I may be a little confused. Are you trying to setup a cvsup mirror? If so, then look at net/cvsup-mirror. That will setup a mirror for you, and it will ask where you want to store the data. If you are just wanting to pull the src tree, then you can use anon cvs and something like: % cd /usr/local/ncvs % setenv CVSROOT :pserver:[EMAIL PROTECTED]:/home/ncvs % cvs login % cvs co -rRELENG_5 src ... wait for everything to transfer ... % cvs logout CVSROOT is where the repository resides. I.E. in the example above, the repository is located at anoncvs.FreeBSD.org in /home/ncvs. - -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCpt+K9Jm/aTrtdKoRAkDNAJ97NeuceQsk3ORWI8La719LuvRknQCeOpGp YdiKr3dhdZ14SaSAKzc93SU= =SS6u -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
-BEGIN PGP MESSAGE- Version: GnuPG v1.4.1 (FreeBSD) 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 dB9w+woWpJkQwS38f9jtrHdTn4nk25YEYJo= =IYTJ -END PGP MESSAGE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 From [EMAIL PROTECTED] Wed Jun 8 23:33:11 2005 Date: Wed, 8 Jun 2005 21:31:30 -0500 (CDT) From: Denny White <[EMAIL PROTECTED]> To: Bob Bomar <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: cvs question On Wed, 8 Jun 2005, Bob Bomar wrote: Denny White wrote: | | | I appreciate the answer. I'm kind of up | against the wall with this thing. Can't | seem to get it. I created /usr/local/ncvs, | setenv CVSROOT /usr/local/ncvs & tried to | do what I thought would be simpler & a good | trial run on something simpler than the | whole source tree. I did a cvsup on www & | got it okay. Then I went into /usr/local/www | & did a make install. It started filling up | /root with public_html & finally stopped on | an error, saying the CVSROOT environment | setting was invalid. What am I doing wrong? | | | | On Tue, 7 Jun 2005, Bob Bomar wrote: | |> Denny White wrote: |> | |> | |> | I know before asking this has been |> | covered profusely, and I have read |> | a lot in the handbook, man pages, |> | fbsd web site & mailing list archives. |> | But, there are some things I just do |> | not understand. My main question is, |> | is it okay to change |> | /home/ncvs |> | to |> | /usr/ncvs |> | I ask because of the repository size |> | compared to what I have on this box |> | on /home & /usr. |> | |> | Filesystem SizeUsed Avail Capacity Mounted on |> | /dev/amrd0s1e1.9G277M1.5G15%/home |> | |> | Filesystem SizeUsed Avail Capacity Mounted on |> | /dev/amrd0s1g 11G2.3G7.7G23%/usr |> | |> | So you can see why I want to use /usr/ncvs |> | instead of /home/ncvs. I guess I'm a lousy |> | googler, but I just couldn't seem to phrase |> | my question to find the answer I wanted. |> |> You can change it to what ever you want. |> I have /usr/local/cvs/ and then various repositories |> for different projects. |> |> | |> | My 2nd question is, when you cvsup an individual |> | release, it says not to include ports-all and |> | doc-all, as you will wipe out what you already |> | have. But, when you don't specify an individual |> | release, just *default release=cvs and src-all, |> | if you specify ports-all & doc-all, you won't |> | wipe out what you already have. Am I understanding |> | it correctly? |> | Thanks in advance for your patience & any help |> | & explanations I receive. |> | |> | |> |> You want to cvsup ports-all with tag=. since |> the ports dont change with each relase, just the src. |> |> I think I may be a little confused. Are you trying to setup a cvsup mirror? If so, then look at net/cvsup-mirror. That will setup a mirror for you, and it will ask where you want to store the data. If you are just wanting to pull the src tree, then you can use anon cvs and something like: % cd /usr/local/ncvs % setenv CVSROOT :pserver:[EMAIL PROTECTED]:/home/ncvs % cvs login % cvs co -rRELENG_5 src ... wait for everything to transfer ... % cvs logout CVSROOT is where the repository resides. I.E. in the example above, the repository is located at anoncvs.FreeBSD.org in /home/ncvs. -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob Thanks so much for the help. I really wasn't considering a mirror. Getting ready to do an install on an old laptop & an extra PIII my son left here. Since I've already got NFS working, thought I'd use that for the other boxes to pull from. Really still way too much of a greenhorn for mirrors. Maybe eventually I'll try it. Thanks again for the help. Hi Bob, I have no idea how that happened. I think there was a glitch or operator error in pine's gpg filters. Thanks for replying again. I got to thinking, after reading some of the stuff in the cvs & stable mailing list, that there could be just a messup in the make code. I pulled the entire src tree along with docs, ports, & www again. This time, it all makes fine. But, regardless of where I put the files as in cd /usr cvs -d /usr/local/ncvs co www and the subdir www is created & all the files for www are put there, when I do a make install, it still insists on putting the files in root's dir, & I just don't have enough room on that partition. I even did a cd into /usr/www/en & did make install. It still insisted on installing all the translations, not just english, & of course, all of it into /root. Basically, I just want to keep a fresh copy of the english stuff on this box for me & my kids, who are becoming interested in windows alternatives, esp fbsd, since I've gotten involved again with it. If you can maybe point me in the right direction as to a switch, argument, option, etc., that I can use with the
Re: cvs question
On 2005-06-09 18:13, Denny White <[EMAIL PROTECTED]> wrote: > Hi Bob, > I have no idea how that happened. I think there was a glitch or > operator error in pine's gpg filters. Thanks for replying again. I > got to thinking, after reading some of the stuff in the cvs & stable > mailing list, that there could be just a messup in the make code. I > pulled the entire src tree along with docs, ports, & www again. This > time, it all makes fine. But, regardless of where I put the files as > in > > cd /usr > cvs -d /usr/local/ncvs co www > > and the subdir www is created & all the files for www are put there, > when I do a make install, it still insists on putting the files in > root's dir, & I just don't have enough room on that partition. I > even did a cd into /usr/www/en & did make install. It still > insisted on installing all the translations, not just english, & of > course, all of it into /root. Is there any particular reason why you are trying to build the web site? More importantly, why do you have to build the web site as root? The files are installed in ${DESTDIR}, which defaults to the ${HOME}/public_html/ directory of the user running the build. % orion:/d/www/share/mk$ grep DESTDIR * % web.site.mk:DESTDIR?= ${HOME}/public_html % web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR} % web.site.mk:DOCINSTALLDIR= ${DESTDIR}${WEBBASE}/${WEBDIR} % web.site.mk:CGIINSTALLDIR= ${DESTDIR}${WEBBASE}/${CGIDIR} % web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck directory. % orion:/d/www/share/mk$ This is not a CVS problem ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 10 Jun 2005, Giorgos Keramidas wrote: On 2005-06-09 18:13, Denny White <[EMAIL PROTECTED]> wrote: Hi Bob, I have no idea how that happened. I think there was a glitch or operator error in pine's gpg filters. Thanks for replying again. I got to thinking, after reading some of the stuff in the cvs & stable mailing list, that there could be just a messup in the make code. I pulled the entire src tree along with docs, ports, & www again. This time, it all makes fine. But, regardless of where I put the files as in cd /usr cvs -d /usr/local/ncvs co www and the subdir www is created & all the files for www are put there, when I do a make install, it still insists on putting the files in root's dir, & I just don't have enough room on that partition. I even did a cd into /usr/www/en & did make install. It still insisted on installing all the translations, not just english, & of course, all of it into /root. Is there any particular reason why you are trying to build the web site? More importantly, why do you have to build the web site as root? The files are installed in ${DESTDIR}, which defaults to the ${HOME}/public_html/ directory of the user running the build. % orion:/d/www/share/mk$ grep DESTDIR * % web.site.mk:DESTDIR?= ${HOME}/public_html % web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR} % web.site.mk:DOCINSTALLDIR= ${DESTDIR}${WEBBASE}/${WEBDIR} % web.site.mk:CGIINSTALLDIR= ${DESTDIR}${WEBBASE}/${CGIDIR} % web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck directory. % orion:/d/www/share/mk$ This is not a CVS problem ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Okay, I appreciate that. I'm not a gambler, but I would've given odds it wasn't cvs's fault. :-) I knew I wasn't understanding how to do it. I want it here local for me & the others here. I didn't think about not having to be root to install it. That helps a lot, since there's a lot more room on /home. Also, I read somewhere that I could create a group, ncvs, add a user to it, & then I guess I could do like you said. I.E., logon as that user, have a directory below /usr/local/ncvs, & do the make install in that directory, as there is even more room on /usr. Correct me on that last assumption if I'm wrong. If not, no need for reply. I've bugged everyone enough already with this. :) Thanks again. Denny White -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCqN42y0Ty5RZE55oRAms0AKDSWJaPwLru52EUOyGMGORWzvfHGQCgmjco XKGwB3A9oz/jItBBBzKByeM= =9Pp/ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
On 2005-06-09 19:26, Denny White <[EMAIL PROTECTED]> wrote: > On Fri, 10 Jun 2005, Giorgos Keramidas wrote: > >Is there any particular reason why you are trying to build the web > >site? > > > >More importantly, why do you have to build the web site as root? > > > >The files are installed in ${DESTDIR}, which defaults to the > >${HOME}/public_html/ directory of the user running the build. > > > >% orion:/d/www/share/mk$ grep DESTDIR * > >% web.site.mk:DESTDIR?= ${HOME}/public_html > >% web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR} > >% web.site.mk:DOCINSTALLDIR= ${DESTDIR}${WEBBASE}/${WEBDIR} > >% web.site.mk:CGIINSTALLDIR= ${DESTDIR}${WEBBASE}/${CGIDIR} > >% web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck > >directory. > >% orion:/d/www/share/mk$ > > Okay, I appreciate that. I'm not a gambler, but I would've given > odds it wasn't cvs's fault. :-) Right. Sorry for not replying earlier, but I didn't quite understand what exactly you were trying to do and what the problem was. The /doc and /www areas of the FreeBSD CVS repository are a responsibility of the FreeBSD documentation guys. In the future, it may be a good idea to ask questions about these specific parts of the CVS tree by posting to the <[EMAIL PROTECTED]> mailing list :-) > I knew I wasn't understanding how to do it. I want it here local for me & > the others here. To have a complete /www mirror you need other stuff too and you may have to tweak a bit the build process to avoid redirecting everyone to the central www.FreeBSD.org every time they hit, for instance, a manpage link. > I didn't think about not having to be root to install it. That helps a > lot, since there's a lot more room on /home. Also, I read somewhere that > I could create a group, ncvs, add a user to it, & then I guess I could do > like you said. I.E., logon as that user, have a directory below > /usr/local/ncvs, & do the make install in that directory, as there is > even more room on /usr. Adding an 'ncvs' user/group is only required if you like checking out of the repository without the -R flag of cvs(1). Note, however, that it's not something mandatory. Redirecting the installed files somewhere where you have a lot of free disk space is ok and it doesn't require the 'ncvs' user or group. Just set DESTDIR (and possibly other environment variables that affect web.site.mk) to point to the right place: % cd /tmp % cvs -q co -P -l www # Note -l here... % cvs -q up -Pd www/en www/share www/tools % cd www/en % make DESTDIR=/usr/web/freebsd all install > Correct me on that last assumption if I'm wrong. > If not, no need for reply. > I've bugged everyone enough already with this. :) Nah, no problem. This is what the list is for, anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 From [EMAIL PROTECTED] Fri Jun 10 13:54:17 2005 Date: Fri, 10 Jun 2005 08:46:39 +0400 From: Alexey Chuprinin <[EMAIL PROTECTED]> To: Denny White <[EMAIL PROTECTED]> Subject: Re[2]: cvs question Hello, Thursday, June 9, 2005, 8:32:35 AM, you wrote: DW> Looks like I'm back to where I started when I first DW> did the cvsup www-cvsupfile & tried to install the DW> files. I followed what you said. I did the command DW> cvs -d /usr/local/ncvs co www & it did create the DW> dir www with all the files. When I did a make install, DW> from www, it failed really quickly. I didn't get the DW> error code, but something it was looking for wasn't DW> there, apparently. I figured for right now, I could DW> try just the english translation, so I cd to www/en DW> & did make install. This time , it made it further, DW> but still failed. I captured the output this time to DW> a file. Here's the tail end of it where it fails: DW> install -C -o root -g www -m 664 x86-64.html /root/public_html/data/platforms ===>> platforms/amd64 DW> /usr/bin/sed -e 's/.* $">//' motherboards.sgml | /usr/bin/env SGML_CATALOG_FILES= /usr/local/bin/sgmlnorm -d DW> -ifreebsd.urls.absolute -c /usr/local/share/sgml/html/catalog -D /usr/www/en/platforms/amd64 > motherboards.html || (/bin/rm -f motherboards.html && false) DW> *** Error code 1 DW> Stop in /usr/www/en/platforms/amd64. DW> *** Error code 1 DW> Stop in /usr/www/en/platforms. DW> *** Error code 1 DW> Stop in /usr/www/en. DW> I haven't had any problems with cvsup on ports or docs, DW> but the www problem continues. Maybe at this point I'm DW> being anal/hard headed, whatever, but I'd really like DW> to find out why it won't install. Thanks for any help. Don't slander youself. I think 'hard-headed' person will never admit that he doesn't know something. You are trying to do something so you are self motivated person. As to the "www problem", I'll check it on my box and write you any suggestion if i'll be able to. -- Alexey Chuprinin System administrator Internet Securities, Inc., Russia Internet Securities, Inc. (trading as ISI Emerging Markets) is a Euromoney Institutional Investor company. This communication contains information which is confidential. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note any distribution, copying or use of this communication or the information in it is strictly prohibited. If you have received this communication in error please notify us by e-mail or bytelephone (as above) and then delete the e-mail and all attachments and any copies thereof. On Fri, 10 Jun 2005, Giorgos Keramidas wrote: On 2005-06-09 19:26, Denny White <[EMAIL PROTECTED]> wrote: On Fri, 10 Jun 2005, Giorgos Keramidas wrote: Is there any particular reason why you are trying to build the web site? More importantly, why do you have to build the web site as root? The files are installed in ${DESTDIR}, which defaults to the ${HOME}/public_html/ directory of the user running the build. % orion:/d/www/share/mk$ grep DESTDIR * % web.site.mk:DESTDIR?= ${HOME}/public_html % web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR} % web.site.mk:DOCINSTALLDIR= ${DESTDIR}${WEBBASE}/${WEBDIR} % web.site.mk:CGIINSTALLDIR= ${DESTDIR}${WEBBASE}/${CGIDIR} % web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck directory. % orion:/d/www/share/mk$ Okay, I appreciate that. I'm not a gambler, but I would've given odds it wasn't cvs's fault. :-) Right. Sorry for not replying earlier, but I didn't quite understand what exactly you were trying to do and what the problem was. The /doc and /www areas of the FreeBSD CVS repository are a responsibility of the FreeBSD documentation guys. In the future, it may be a good idea to ask questions about these specific parts of the CVS tree by posting to the <[EMAIL PROTECTED]> mailing list :-) I knew I wasn't understanding how to do it. I want it here local for me & the others here. To have a complete /www mirror you need other stuff too and you may have to tweak a bit the build process to avoid redirecting everyone to the central www.FreeBSD.org every time they hit, for instance, a manpage link. I didn't think about not having to be root to install it. That helps a lot, since there's a lot more room on /home. Also, I read somewhere that I could create a group,
Re: cvs question?
At 5:00 PM + 3/24/05, Osmany Guirola Cruz wrote: Hi people I am learning in the use of cvs for sync my src and ports i use this command line and works perfectly #cvs -d [EMAIL PROTECTED]:/home/ncvs co src but this line update my source tree with the current version 6.0. But i don't want this version so then i do this #cvs -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src and get this error cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied What can i do? I do not know for sure, but try: #cvs -R -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question?
On 2005-03-24 17:00, Osmany Guirola Cruz <[EMAIL PROTECTED]> wrote: > Hi people > > I am learning in the use of cvs for sync my src and ports i use this > command line and works perfectly > > # cvs -d [EMAIL PROTECTED]:/home/ncvs co src > > but this line update my source tree with the current version 6.0 True. > but i don't want this version then i do this > > # cvs -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src > > and get this error > cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: > Permission denied Use the -R option of cvs (read-only repository): # CVSROOT='[EMAIL PROTECTED]:/home/ncvs' # export CVSROOT # cvs -R co -rRELENG_5 src ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question?
Hi again The option -R does not work :-( i do this #setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs #cvs -R co -rRELENG_5 src and get this cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied and if i do #socksify cvs -R co src WORKS PERFECTLY What can i do? Osmany Giorgos Keramidas wrote: On 2005-03-24 17:00, Osmany Guirola Cruz <[EMAIL PROTECTED]> wrote: Hi people I am learning in the use of cvs for sync my src and ports i use this command line and works perfectly # cvs -d [EMAIL PROTECTED]:/home/ncvs co src but this line update my source tree with the current version 6.0 True. but i don't want this version then i do this # cvs -d [EMAIL PROTECTED]:/home/ncvs co -rRELENG_5 src and get this error cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied Use the -R option of cvs (read-only repository): # CVSROOT='[EMAIL PROTECTED]:/home/ncvs' # export CVSROOT # cvs -R co -rRELENG_5 src ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question?
On 2005-03-25 09:07, Osmany Guirola Cruz <[EMAIL PROTECTED]> wrote: > Hi again > > The option -R does not work :-( > i do this > #setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs > #cvs -R co -rRELENG_5 src > and get this > cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: > Permission denied > and if i do > #socksify cvs -R co src > WORKS PERFECTLY > > What can i do? % Not sure. I tried using a tag too and it fails to work :-( % % $ cvs -d [EMAIL PROTECTED]:/home/ncvs co -l -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -d [EMAIL PROTECTED]:/home/ncvs co -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs co -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs co src/bin/cat % U src/bin/cat/Makefile % U src/bin/cat/cat.1 % U src/bin/cat/cat.c % % $ cd src/bin/cat % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs up -APd -r RELENG_5 % cvs [update aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied I vaguely remember a problem report about val-tags, so I checked the history of the CVS version we have in the tree. Dag-Erling Smorgrav has fixed a bug related to this in revision 1.2 of the file: src/contrib/cvs/src/tag.c. This seems to be a server issue. If the server running at anoncvs.freebsd.org doesn't have the fix of DES, you can try a different server I guess. I'll let DES know about this and see if the fix has been backported to non-CURRENT FreeBSD versions. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question?
Ok i probed this %setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs % cvs -R co -r RELENG_5 src cvs server: warning: cannot open /home/ncvs/CVSROOT/val-tags read/write: Read-only file system cvs server: Updating src etc etc etc ... WORKS perfectly with this server "now i have the src-tree from 5-stable :-)" and i tested(paranoia :-) ) with RELENG_4 and works :-) ..the problem is with anoncvs.FreeBSD.org server Thanks for your help Osmany Giorgos Keramidas wrote: On 2005-03-25 09:07, Osmany Guirola Cruz <[EMAIL PROTECTED]> wrote: Hi again The option -R does not work :-( i do this #setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs #cvs -R co -rRELENG_5 src and get this cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied and if i do #socksify cvs -R co src WORKS PERFECTLY What can i do? % Not sure. I tried using a tag too and it fails to work :-( % % $ cvs -d [EMAIL PROTECTED]:/home/ncvs co -l -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -d [EMAIL PROTECTED]:/home/ncvs co -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs co -r RELENG_5 src/bin/cat % cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied % % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs co src/bin/cat % U src/bin/cat/Makefile % U src/bin/cat/cat.1 % U src/bin/cat/cat.c % % $ cd src/bin/cat % $ cvs -R -d [EMAIL PROTECTED]:/home/ncvs up -APd -r RELENG_5 % cvs [update aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied I vaguely remember a problem report about val-tags, so I checked the history of the CVS version we have in the tree. Dag-Erling Smorgrav has fixed a bug related to this in revision 1.2 of the file: src/contrib/cvs/src/tag.c. This seems to be a server issue. If the server running at anoncvs.freebsd.org doesn't have the fix of DES, you can try a different server I guess. I'll let DES know about this and see if the fix has been backported to non-CURRENT FreeBSD versions. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
In response to "Michael Grant" <[EMAIL PROTECTED]>: > I'm being driven slowly mad by cvs... > > I have 3 boxes, one is acting as a cvs server. The "cvs clients" (for > lack of a better term) are running 6.1 and should be configured the > same. Yet, one machine lets me do a cvs login, the other requires I > use cvs -d :psserver:.. with each cvs command. > > I do not have CVSROOT set on either machine. > > What I get is this: > > [#822] cvs login > Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar > cvs login: authorization failed: server myserver rejected access to > /home/foo/bar for user mgrant > > yet, on the other machine, I get a password prompt and all is fine. > > Ideas? Suggestions? Are the UIDs synchronized across machines? Do "id" on each machine and see if the output is the same. Just a thought. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
Yes, I'm su'ed on both machines: uid=0(root) gid=0(wheel) groups=0(wheel), 5(operator) -Mike On 9/14/06, Bill Moran <[EMAIL PROTECTED]> wrote: In response to "Michael Grant" <[EMAIL PROTECTED]>: > I'm being driven slowly mad by cvs... > > I have 3 boxes, one is acting as a cvs server. The "cvs clients" (for > lack of a better term) are running 6.1 and should be configured the > same. Yet, one machine lets me do a cvs login, the other requires I > use cvs -d :psserver:.. with each cvs command. > > I do not have CVSROOT set on either machine. > > What I get is this: > > [#822] cvs login > Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar > cvs login: authorization failed: server myserver rejected access to > /home/foo/bar for user mgrant > > yet, on the other machine, I get a password prompt and all is fine. > > Ideas? Suggestions? Are the UIDs synchronized across machines? Do "id" on each machine and see if the output is the same. Just a thought. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
On 2006-09-14 19:11, Michael Grant <[EMAIL PROTECTED]> wrote: > I'm being driven slowly mad by cvs... > > I have 3 boxes, one is acting as a cvs server. The "cvs clients" (for > lack of a better term) are running 6.1 and should be configured the > same. Yet, one machine lets me do a cvs login, the other requires I > use cvs -d :psserver:.. with each cvs command. > > I do not have CVSROOT set on either machine. > > What I get is this: > > [#822] cvs login > Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar > cvs login: authorization failed: server myserver rejected access to > /home/foo/bar for user mgrant > > yet, on the other machine, I get a password prompt and all is fine. Someone sets CVSROOT, if you can just type "cvs login" and get a prompt for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''. Can you run, on both systems, the following? $ env | sort | grep CVS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
env | sort | grep CVS returns nothing. There are no CVS* variables set! Strange. Where is it getting the cvsroot from? Even if I remove the .cvspass file, it still uses the pserver line from before. It's definitely getting cached somewhere. greping the env for pserver shows nothing. Incidently, I also removed root's ~root/.cvspass but it didn't change anything. Still open for ideas. Michael Grant On 9/15/06, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: On 2006-09-14 19:11, Michael Grant <[EMAIL PROTECTED]> wrote: > I'm being driven slowly mad by cvs... > > I have 3 boxes, one is acting as a cvs server. The "cvs clients" (for > lack of a better term) are running 6.1 and should be configured the > same. Yet, one machine lets me do a cvs login, the other requires I > use cvs -d :psserver:.. with each cvs command. > > I do not have CVSROOT set on either machine. > > What I get is this: > > [#822] cvs login > Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar > cvs login: authorization failed: server myserver rejected access to > /home/foo/bar for user mgrant > > yet, on the other machine, I get a password prompt and all is fine. Someone sets CVSROOT, if you can just type "cvs login" and get a prompt for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''. Can you run, on both systems, the following? $ env | sort | grep CVS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
On 2006-09-15 13:56, Michael Grant <[EMAIL PROTECTED]> wrote: >On 9/15/06, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: >>On 2006-09-14 19:11, Michael Grant <[EMAIL PROTECTED]> wrote: >>> I'm being driven slowly mad by cvs... >>> >>> I have 3 boxes, one is acting as a cvs server. The "cvs clients" (for >>> lack of a better term) are running 6.1 and should be configured the >>> same. Yet, one machine lets me do a cvs login, the other requires I >>> use cvs -d :psserver:.. with each cvs command. >>> >>> I do not have CVSROOT set on either machine. >>> >>> What I get is this: >>> >>> [#822] cvs login >>> Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar >>> cvs login: authorization failed: server myserver rejected access to >>> /home/foo/bar for user mgrant >>> >>> yet, on the other machine, I get a password prompt and all is fine. >> >> Someone sets CVSROOT, if you can just type "cvs login" and get a prompt >> for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''. >> >> Can you run, on both systems, the following? >> >> $ env | sort | grep CVS > > env | sort | grep CVS > returns nothing. There are no CVS* variables set! Strange. Where is > it getting the cvsroot from? Even if I remove the .cvspass file, it > still uses the pserver line from before. It's definitely getting > cached somewhere. greping the env for pserver shows nothing. Do you have a local CVS/ subdirectory when you try "cvs login"? If yes, what does it contain? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
[#786] ls -l CVS total 6 -rw-r--r-- 1 mgrant 1001 197 Oct 16 2005 Entries -rw-r--r-- 1 mgrant 10018 May 30 2005 Repository -rw-r--r-- 1 mgrant 1001 55 May 30 2005 Root [#787] cat CVS/Root :pserver:xgrant:[EMAIL PROTECTED]/home/ng/tools/cvsroot Ok, so that solve that mystery. However, I still cannot log in on one machine yet I can on the other: Except for the Entries file, Root and Repository are identical in the CVS directory. cvs login Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ng/tools/cvsroot cvs login: authorization failed: server grant.org rejected access to /home/ng/tools/cvsroot for user mgrant Michael Grant On 9/15/06, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: On 2006-09-15 13:56, Michael Grant <[EMAIL PROTECTED]> wrote: >On 9/15/06, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: >>On 2006-09-14 19:11, Michael Grant <[EMAIL PROTECTED]> wrote: >>> I'm being driven slowly mad by cvs... >>> >>> I have 3 boxes, one is acting as a cvs server. The "cvs clients" (for >>> lack of a better term) are running 6.1 and should be configured the >>> same. Yet, one machine lets me do a cvs login, the other requires I >>> use cvs -d :psserver:.. with each cvs command. >>> >>> I do not have CVSROOT set on either machine. >>> >>> What I get is this: >>> >>> [#822] cvs login >>> Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar >>> cvs login: authorization failed: server myserver rejected access to >>> /home/foo/bar for user mgrant >>> >>> yet, on the other machine, I get a password prompt and all is fine. >> >> Someone sets CVSROOT, if you can just type "cvs login" and get a prompt >> for ``Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar''. >> >> Can you run, on both systems, the following? >> >> $ env | sort | grep CVS > > env | sort | grep CVS > returns nothing. There are no CVS* variables set! Strange. Where is > it getting the cvsroot from? Even if I remove the .cvspass file, it > still uses the pserver line from before. It's definitely getting > cached somewhere. greping the env for pserver shows nothing. Do you have a local CVS/ subdirectory when you try "cvs login"? If yes, what does it contain? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
On 2006-09-15 17:58, Michael Grant <[EMAIL PROTECTED]> wrote: > [#786] ls -l CVS > total 6 > -rw-r--r-- 1 mgrant 1001 197 Oct 16 2005 Entries > -rw-r--r-- 1 mgrant 10018 May 30 2005 Repository > -rw-r--r-- 1 mgrant 1001 55 May 30 2005 Root > [#787] cat CVS/Root > :pserver:xgrant:[EMAIL PROTECTED]/home/ng/tools/cvsroot > > Ok, so that solve that mystery. However, I still cannot log in on one > machine yet I can on the other: Except for the Entries file, Root and > Repository are identical in the CVS directory. > > cvs login > Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ng/tools/cvsroot > cvs login: authorization failed: server grant.org rejected access to > /home/ng/tools/cvsroot for user mgrant The CVS server seems to be using some sort of CVS access control, i.e. by a CVSROOT/readers or CVSROOT/writers file or something similar. I am not sure of all the gory details about your particular setup, but the message seems to imply that `mgrant' is blocked by the access controls of the server itself. Do you have a CVSROOT/readers or CVSROOT/writers in /home/ng/tools/cvsroot/CVSROOT/ on the CVS server? If yes, what do they contain? Please take care of masking any sensitive data (like user passwords), if you sent their contents!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
On 9/15/06, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: The CVS server seems to be using some sort of CVS access control, i.e. by a CVSROOT/readers or CVSROOT/writers file or something similar. I didn't set anything like that up. I simply added this line to /etc/inetd.conf: cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/home/ng/tools/cvsroot --allow-root=/home/somewhere/else pserver I am not sure of all the gory details about your particular setup, but the message seems to imply that `mgrant' is blocked by the access controls of the server itself. It sure seems that way. Or it seems that somehow it's proposing the wrong password. Hmm, now, here's something funny, the password in CVSROOT/Root is all lower case and my password is mixed case. I tried editing this file and adding the mixed case, but no, that didn't help. Then, I tried changing my password on the server to match the all lower case password it insists on putting in the Root file and now I can get in, but only if I provide the -d :pserver: on the command line. I tried setting CVSROOT but again, the same auth error. Do you have a CVSROOT/readers or CVSROOT/writers in /home/ng/tools/cvsroot/CVSROOT/ on the CVS server? If yes, what do they contain? Please take care of masking any sensitive data (like user passwords), if you sent their contents!!! No, don't have any of these files on the server. At least I can now update my local copy from the cvs server using the long cmd line with the -d :pserver:... stuff. However, I'm still curious why setting CVSROOT isn't working. By the way, thanks for all your help. Michael Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvs question
On 2006-09-15 20:05, Michael Grant <[EMAIL PROTECTED]> wrote: > On 9/15/06, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > >The CVS server seems to be using some sort of CVS access control, i.e. > >by a CVSROOT/readers or CVSROOT/writers file or something similar. > > I didn't set anything like that up. I simply added this line to > /etc/inetd.conf: > > cvspserver stream tcp nowait root /usr/bin/cvs cvs > --allow-root=/home/ng/tools/cvsroot --allow-root=/home/somewhere/else > pserver > > >I am not sure of all the gory details about your particular setup, but > >the message seems to imply that `mgrant' is blocked by the access > >controls of the server itself. > > It sure seems that way. Or it seems that somehow it's proposing the > wrong password. Hmm, now, here's something funny, the password in > CVSROOT/Root is all lower case and my password is mixed case. Try removing the relevant line from your ``~/.cvspass'', if there is one. I think what's happening is that a cached copy of the password is used from that file, and that copy is out of date. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Basic CVS question
As I understand it 4.7 is out. Inj my cvsupfile the tag would be: RELEG_4_7 or RELEG_4 Im not sure which it is. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Somewhat OT: CVS Question
Forgive the OT nature of this, but FBSD tends to be a big CVS user, so I am hoping someone has an answer for this. Feel free to reply privately if you do not wish to inflict your answer up on the whole list... Is there a way to checkout a project from a CVS repo *into the current directory*? If I do this: cvs co -d . foo Or this: cvs co -d ./ foo I get this: cvs checkout: existing repository /usr/cvs/... does not match /usr/cvs/.../foo cvs checkout: ignoring module waccess Ideas? -- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Basic CVS question
"Pookie" <[EMAIL PROTECTED]> wrote: : As I understand it 4.7 is out. Inj my cvsupfile the tag would be: : RELEG_4_7 or RELEG_4 Hopefully this explains it all: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Basic CVS question
4.7 is currently a release candidate, so unless you know what you're doing. Give them some time, 4.7 will be here... Fuzzy wrote: >On Sat, 5 Oct 2002, Giorgos Keramidas wrote: > > > >>"Pookie" <[EMAIL PROTECTED]> wrote: >>: As I understand it 4.7 is out. Inj my cvsupfile the tag would be: >>: RELEG_4_7 or RELEG_4 >> >>Hopefully this explains it all: >> >>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html >> >> > >but that does not mention 4.7 ... would releng_4_6 (or releng_4_6_2) >actually be getting the 4.7.rc? updates? > >Fuz > > >To Unsubscribe: send mail to [EMAIL PROTECTED] >with "unsubscribe freebsd-questions" in the body of the message > > > > -- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Basic CVS question
On Sat, Oct 05, 2002 at 03:52:27PM -0400, Fuzzy wrote: > > On Sat, 5 Oct 2002, Giorgos Keramidas wrote: > > > "Pookie" <[EMAIL PROTECTED]> wrote: > > : As I understand it 4.7 is out. Inj my cvsupfile the tag would be: > > : RELEG_4_7 or RELEG_4 > > > > Hopefully this explains it all: > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html > > but that does not mention 4.7 ... would releng_4_6 (or releng_4_6_2) > actually be getting the 4.7.rc? updates? No. For that you want RELENG_4. Ceri -- you can't see when light's so strong you can't see when light is gone To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Personal development CVS question
I have developed a project for use at my ISP, which I have been keeping in my CVS repository (as I do all of my projects). CVS is working great, but I have a somewhat unrelated question, which I would apprecieate redirection if required. The current state of my app is ready for production, so I would like to take a snapshot of it as is, then implement it. I would like to leave this snapshot alone, and further develop in other aspects of the program now. Am I correct with this method?: - commit my current source and branch as RELEASE - download RELEASE onto production server and put into use - further work will continue normally, and the RELEASE branch will not be affected - when I am ready for the new features, I can re-branch to a new RELEASE, redownload onto production and repeat - if changes are made and required into RELEASE, I can merge at that time. Tks for any assistance! Steve To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Somewhat OT: CVS Question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/25/12 11:59 AM, Tim Daneliuk wrote: > Forgive the OT nature of this, but FBSD tends to be a big CVS user, > so I am hoping someone has an answer for this. Feel free to reply > privately if you do not wish to inflict your answer up on the whole > list... > > Is there a way to checkout a project from a CVS repo *into the > current directory*? If I do this: > > cvs co -d . foo > > Or this: > > cvs co -d ./ foo > > I get this: > > cvs checkout: existing repository /usr/cvs/... does not match > /usr/cvs/.../foo cvs checkout: ignoring module waccess > > Ideas? Hi Tim, Yes, that's possible, and I do it with the ports tree on my development machine when I only want to work on a small portion of the tree, e.g.: mkdir ~/FreeBSD cd ~/FreeBSD cvs co -l -d . ports cd ports cvs co -l -d . ports/www cd www cvs co -d . ports/www/zend-framework [or just zend-framework because of the alias in CVSROOT/modules] The error you're receiving makes me thing something is wrong with your CVSROOT setting. Can you show it, as well as the full command line? The "module waccess" message doesn't make sense with the command line you provided. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+/vToACgkQ0sRouByUApDqLQCgxwuLL9PveIzGkT6B9lXcO2iM Z6gAoIgO0BIfMW9AR+tGfe3n75wTOsJl =DK17 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Personal development CVS question
On Mon, Mar 24, 2003 at 12:04:42PM -0500, Steve Bertrand wrote: [...] > Am I correct with this method?: > > - commit my current source and branch as RELEASE > - download RELEASE onto production server and put into use > > - further work will continue normally, and the RELEASE branch will not be > affected > > - when I am ready for the new features, I can re-branch to a new RELEASE, > redownload onto production and repeat > > - if changes are made and required into RELEASE, I can merge at that time. You described pretty much the standard practice. Cheers. -- Jonathan Chen <[EMAIL PROTECTED]> -- "A person should be able to do a small bit of everything, specialisation is for insects" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Personal development CVS question
At 12:04 PM -0500 3/24/03, Steve Bertrand wrote: The current state of my app is ready for production, so I would like to take a snapshot of it as is, then implement it. I would like to leave this snapshot alone, and further develop in other aspects of the program now. Am I correct with this method?: - commit my current source and branch as RELEASE - download RELEASE onto production server and put into use - further work will continue normally, and the RELEASE branch will not be affected - when I am ready for the new features, I can re-branch to a new RELEASE, redownload onto production and repeat You generally want to use a special name for the release branch, such as RELEASE_1. When you later want to make a new release, you name that branch RELEASE_2. You may still want to work off the RELEASE_1 branch even though RELEASE_2 has been made. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Personal development CVS question
On 2003-03-24 12:04, Steve Bertrand <[EMAIL PROTECTED]> wrote: > I have developed a project for use at my ISP, which I have been keeping in > my CVS repository (as I do all of my projects). CVS is working great, but > I have a somewhat unrelated question, which I would apprecieate > redirection if required. > > The current state of my app is ready for production, so I would like to > take a snapshot of it as is, then implement it. I would like to leave this > snapshot alone, and further develop in other aspects of the program now. > Am I correct with this method?: > > - commit my current source and branch as RELEASE A tag with RELEASE_1_0 is all you need to be able to extract the versions of the files as they were at the date of the tagging (i.e. just before the RELEASE goes out). A branch is only required if you want to continue development in two, uhm, `branches'. The HEAD of every file tracks the latest, most cutting-edge, bleeding from all edges, version of the file. The branch of the release, on the other hand, is only touched when changes are backported from your experimental, HEAD branch to the release. > - download RELEASE onto production server and put into use > > - further work will continue normally, and the RELEASE branch will > not be affected True. You have to commit stuff to the release branch to affect it. > - when I am ready for the new features, I can re-branch to a new > RELEASE, redownload onto production and repeat Sounds like a good plan to me. > - if changes are made and required into RELEASE, I can merge at that > time. Yep. If you create a separate branch for the release version, for instance with: $ cvs checkout project $ cd project $ cvs tag -r RELEASE_1_0_0_BP (where _BP means "branch point" and is a tag, not a branch), then you can use: $ cvs checkout -r RELEASE_1_0_0_BP project $ cd project $ cvs tag -b RELEASE_1 After this point, you have a RELEASE_1 branch that you can use to make changes to the 'stable' branch: $ cvs checkout -r RELEASE_1 project $ edit some files $ cvs commit# This will only affect the RELEASE_1 branch What I describe above is more or less the same policy that FreeBSD uses to tag and branch versions. It's described in the ``FreeBSD Release Engineering'' article, which you can read at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/releng/ - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message