LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-06-2009, 02:04 PM   #1
DennisC31
Member
 
Registered: May 2007
Location: beyond my means
Distribution: Mint 11.04
Posts: 55

Rep: Reputation: 19
CVS History of Exports from Remote Computers?


Bonsoir!

I have a CVS repository on REPOSERVER.DOMAIN.COM. I want to be able to track when a user on APPSERVER.DOMAIN.COM exports a file.

The idea here is that on a home grown application we want a record in CVS of the deployment to an application server. We don't want the APP server's files to be under CVS control so we export the files instead of checking them out.

The procedure is:

1. Delete the file you wish to upgrade (because CVS will not overwrite).
2. Export the file from CVS to replace the lost file.


Here's some output and you'll note that at the end that there is no record of the exported data. I ran the following commands today (1/5/09) and the cvs history doesn't show a record. Further, /home/cvs/cvsroot/CVSROOT/history was not updated after my export.e

dennisc@APPSERVER:/home/dennisc/test> rm ./hgapp/procedures/audit_log.sql
dennisc@APPSERVER:/home/dennisc/test> export CVSROOT=:ext:dennisc@REPOSERVER.:/home/cvs/cvsroot
dennisc@APPSERVER:/home/dennisc/test> export CVS_RSH=ssh
dennisc@APPSERVER:/home/dennisc/test> cvs export -D 1/1/09 hgapp/procedures/audit_log.sql
dennisc@REPOSERVER's password:
U hgapp/procedures/audit_log.sql
dennisc@APPSERVER:/home/dennisc/test> cvs history -ae hgapp/procedures/audit_log.sql
dennisc@REPOSERVER's password:
O 2008-11-12 17:13 +0000 dennisc hgapp =hgapp= /home/dennisc/wdir_prod/*
O 2008-12-03 14:27 +0000 dennisc home/admin/.ssh2 =home/admin/.ssh2= ~home/admin/home/admin/.ssh2
E 2008-12-10 18:34 +0000 dennisc [2008.12.30.05.00.00] hgapp/4gls =hgapp/4gls= /home/dennisc/delme/hgapp/4gls
E 2008-12-10 18:36 +0000 dennisc [2008.12.30.05.00.00] hgapp/4gls/order.4gs =hgapp/4gls/order.4gs= /home/dennisc/delme/hgapp/4gls/order.4gs
E 2008-12-10 18:46 +0000 dennisc [2008.12.30.05.00.00] hgapp/4gls/order.4gs =hgapp/4gls/order.4gs= <remote>/hgapp/4gls/order.4gs
E 2008-12-10 19:04 +0000 dennisc [2008.12.30.05.00.00] hgapp/4gls/order.4gs =hgapp/4gls/order.4gs= <remote>/hgapp/4gls/order.4gs
O 2008-12-03 11:43 +0000 root home =home= ~/*
O 2008-11-12 18:04 +0000 davidc hgapp =hgapp= ~/wdir_prod/*
O 2008-11-12 21:30 +0000 davidc hgapp =hgapp= /usr/*
O 2008-11-12 21:41 +0000 davidc hgapp =hgapp= <remote>/*
O 2008-11-12 21:46 +0000 davidc hgapp =hgapp= <remote>/*
O 2008-12-05 14:30 +0000 davidc home =home= ~/wdir_prod/*
A 2008-12-06 04:22 +0000 davidc 1.1 audit_log.sql hgapp/procedures == /usr/hgapp/procedures
W 2008-12-06 04:50 +0000 davidc audit_log.sql hgapp/procedures == <remote>/hgapp/procedures
W 2008-12-06 04:51 +0000 davidc audit_log.sql hgapp/procedures == <remote>/hgapp/procedures
E 2008-12-12 20:47 +0000 davidc [2008.12.13.05.00.00] hgapp/crons =hgapp/crons= <remote>/hgapp/crons
dennisc@APPSERVER:/home/dennisc/test>

Last edited by DennisC31; 04-11-2012 at 05:39 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
history of remote login jonfa Linux - General 5 12-02-2011 06:23 AM
LXer: A brief history of computers and free software: where is the money? LXer Syndicated Linux News 0 09-26-2008 06:50 AM
Mounting drives on remote computers Tons of Fun Linux - Networking 4 04-07-2007 07:33 AM
Remote printing between 2 computers Johan.Fourie Linux - Networking 1 03-23-2004 03:26 AM
remote import of cvs heero82 Linux - Software 12 07-15-2003 08:18 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration