Re: [viewvc-users] MySQL DB is not getting updated

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
Ravi,

Your original mail claims that you ran "svndbadmin" and it generated all the
logs that were in "the cvs".  I can't tell if by "the cvs" you mean
Concurrent Versions System (CVS), which is one of the two version control
systems that ViewVC can connect to; of if you meant "the vcs" as a shorthand
for "the version control system".

Sorry if I'm stating the obvious, but CVS is a completely different version
control system than Subversion.

Below, you refer to "the subversion server".  So it *sounds* like you're
using Subversion here, not CVS.  But then you claim to have modified the
file CVSROOT/loginfo, which is a completely CVS thing and has no meaning
whatsoever in Subversion.  At this point, I'm thoroughly confused.

Are you using both CVS and Subversion?  Which one(s) are giving you trouble
in your MySQL checkins database?  What have you done to try to configure
that system?


Pattalachinti, Ravi wrote:
> I am using Visual SVN Server 1.7.3 which has Subversion : 1.6.3.
> 
>> "Really?!  I would have assumed that "cvsdbadmin" was needed.  (Did you
>> copy-n-paste that command-line into your mail, or try to recall it from memory?)"
> 
> I ran it from windows cmdline (yes I copied it) But I did not understand your thought. Did you mean I should not have run this? If so the query.cgi was not displaying the already existing cvs logs that were migrated to subversion. Also, if I run it again I am sure it will display the new checkins that were made to the subversion server. 
> 
> Also:
> 
> I changed the line in the loginfo file as per your recommendations but it is still not working. I did not find the %p in the install document but still I went ahead and added it. Do you want it to be added somewhere else?
> 
> ALL "C:\Python26\python.exe" "C:\Program Files (x86)\viewvc-1.0.9\bin\loginfo-handler" %{sVvp}
> 
> For some reason it is not updating the mySQL database dynamically. Where can I look for the related error log files?
> 
> Thanks,
> Ravi
> 
> -----Original Message-----
> From: C. Michael Pilato [mailto:[email protected]] 
> Sent: Monday, February 08, 2010 10:26 PM
> To: Pattalachinti, Ravi
> Cc: [email protected]
> Subject: Re: [viewvc-users] MySQL DB is not getting updated
> 
> Ravi K Pattalachinti wrote:
>> I have setup ViewVC 1.0.9 on apache 2.2.14.
>>
>> MySQL is version 5.1 python is 2.6.   This is all done on Windows 2003
>> 64 bit OS.
>>
>> It is all working fine but the updates are not getting logged into the
>> “viewvc” database.
>>
>> When I ran the following command it did create all the logs that were in
>> the cvs.
>>
>> C:\Program Files (x86)\viewvc-1.0.9\bin>  c:\Python26\python.exe
>> svndbadmin rebuild "C:\Repositories\SVN"
> 
> Really?!  I would have assumed that "cvsdbadmin" was needed.  (Did you
> copy-n-paste that command-line into your mail, or try to recall it from memory?)
> 
>> I added the following line into loginfo file but it is still not working.
>>
>> Here is how the CVSROOT\loginfo file looks like right now:-
>>
>> # CVSROOT\loginfo file ##################
>> #   s = file name
>> #   V = old version number (pre-checkin)
>> #   v = new version number (post-checkin)
>> #
>> # For example:
>>  
>> ALL "C:\Python26\python.exe" "C:\Program Files (x86)\viewvc-1.0.9\bin\loginfo-handler" %{sVv};
> 
> What version of CVS are you using?  ViewVC's INSTALL file says you need to
> also include the "%p" variable in that loginfo line.  (Also, not sure if
> that trailing semicolon is needed or valid.)
> 


-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2446186

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktxj3MACgkQokEGqRcG/W7xQwCgsmnw5jaTcLBZrj+TsusEs+3j
lmsAn3VdpRrQ/0lhvfmEMoAuY0eC5pht
=OMId
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.