Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
I've search both perl path and CVS installation path (it ought to be in CVS installation path), no found. I have a feeling I might miss some perl module that specific to CVS except nowhere in the documents mention this module. Would you mind passing a copy of this cvs_loginfo_html.pl file, cvs_loginfo.pl will be fine too. Thank you. "Patrick Ficheux" <patrick.ficheux at IMECOM.NET> wrote in message news:E16B6A629B71D31194F900500447FD3617B314 at SVREXCHTOUA... I think the script logonfo*.pl MUST BE in the path ... and it works well .. for me (CVS server on W2K server with NNTP/IIS) except the URL on my CVSWEB server (always empty = the perl script cvs_loginfo_html.pl can't access variables in cfgmgmt::Globals ???) note: the name of the newsgroup must be "engineering.checkins" regards -----Message d'origine----- De : Russel Harvey [mailto:RusselHarvey at hotmail.com] Envoyé : mardi 28 mai 2002 00:41 À : cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook Objet : Re: [Cvsnt] Please help, NNTP post notification newsgroup setup Thanks for the comments. I didn't mean really copy file into CVSROOT when I said 'copy', was really through the check out/check in process or I won't even get this far. Sorry for the confusion. More specifically, the instruction I was trying to follow is from: http://www.devguy.com/fp/cfgmgmt/cvs/cvs_admin_nt.htm#loginfo Where it says: ---------------------------------------------------------------------------- ----- 18 a.. 1.. Copy the loginfo file to C:\sandbox\CVSROOT 2.. Follow the instructions for installing the DevGuy tools (particularly, the ActivePerl installation, perl_lib.tar.gz, and perl.tar.gz) -- and pay attention to the instructions regarding the Globals.pm file a.. There are four versions to choose from. The HTML versions represent the latest development effort. All versions include links to CVSWeb. b.. There are two plain-text versions: a.. Use this version to post plain-text to a newsgroup b.. Use this version to send plain-text email (SMTP) c.. There are two HTML versions: a.. Use this version to post HTML to a newsgroup b.. Use this version to send HTML email (SMTP) a.. Please also refer to the LogInfo Script Configuration ....... 20. Enter cvs commit (this also commits loginfo and notify) Congratulations! You just committed your first changes! ---------------------------------------------------------------------------- --- The link 'Use this version to post HTML to a newsgroup' takes to this file - loginfo - http://www.devguy.com/fp/cfgmgmt/download/loginfo/html_news/loginfo At the bottom of this file, you will see: DEFAULT perl -S cvs_loginfo_html.pl "%{sVv}" "$USER" It appears this file here: cvs_loginfo_html.pl is what really makes the magic, to post a log to newsgroup nntp server. I am convinced I probably won't need the notify file, because I just want to find out who is check in files via newsgroup for now. I know zero about perl, so it's pretty much almost impossible for me to code this 'cvs_loginfo_html.pl' program in order to post message to nntp from cvs. Anyone mind to spare some hint to me. Thanks. "Bo Berglund" <bo.berglund at telia.com> wrote in message news:3cf1c7e5.635767437 at news.cvsnt.org... > On Mon, 27 May 2002 05:06:16 +0000 (UTC), "Russel Harvey" > <RusselHarvey at hotmail.com> wrote: > > >I've been following the instruction of setting up NNTP from > >http://www.devguy.com/fp/cfgmgmt/cvs/cvs_admin_nt.htm#loginfo. > > > > > >This is a CVSNT 1.1.13 on Win2K installed ActivePerl (whatever the current), > >NNTP has been turn on, the newsgroup is created engineering.checkins > > > >It doesn't post anything after I checked in. > > > >The question is: Do I need to copy in the notify file into CVSROOT which is > >stated in the item one above loginfo if I don't need email notification but > >only nntp notification? > > > >Also, in the loginfo file which suppose to be copied into CVSROOT, there is > >a line at bottom: > >DEFAULT perl -S cvs_loginfo_html.pl "%{sVv}" "$USER" > > > >Where can I find this cvs_loginfo_html.pl file? I've search the document, > >nowhere mention it. > > > >Thanks for any advice. > > > > > > I don't know about the perl file you ask about but I know this: > Whatever action you want is controlled from the script files in > CVSROOT of the repository: > loginfo > specifies what is done *after* a commit is done by cvs > > commitinfo > specifies what is done *before* cvs processes a commit > > notify > specifies what is done *after* a commit, edit, unedit on watched > files. The user sets up himself which files will be watched > > These files are script files with a regular expression as the first > field on each line. They are evaluated by cvs and each line that fits > the evaluation on the first field gets executed from the second field. > So in order to get anything happening you need to edit these files > (loginfo, notify, commitinfo) and enter the line with the action you > want starting fom field 2. > Specifically if you want something posted to a newsserver you have to > add commands for this to the line. The command can be a regular WinNT > program name with parameters or a call to a script. Exactly what is > needed for an automatic newsgroup post I don't know since I am not > using news myself. > > NOTE: > Don't copy anything into CVSROOT! Instead checkout CVSROOT (in capital > letters) from the repository, add whatever you need to the loginfo and > notify files, then commit your changes. Otherwise what you put into > these files will be gone the next time anyone makes a commit to > CVSROOT when the files are rebuilt from the RCS files. > > A good source of information is as always Karl Fogels book even though > he talks in Unix commands so the examples will not work in Windows. > The basic principles are the same though. > URL: http://cvsbook.red-bean.com/ > > > /Bo > (Bo Berglund, developer in Sweden) > > > _______________________________________________ > Cvsnt mailing list > Cvsnt at cvsnt.org > http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs > _______________________________________________ Cvsnt mailing list Cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs _______________________________________________ Cvsnt mailing list Cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs _______________________________________________ Cvsnt mailing list Cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs