CVS Tagging Script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting CVS Tagging Script
Prev   Next
# 1  
Old 01-05-2006
Lightbulb CVS Tagging Script

Hi All,

We have to tag all source code files to prepare a release kit. We have one CVS Project under which all files have to be tagged.

We use the following cvs command to tag a specific version of a file:

'cvs rtag -r X.XX -F "newbuild" somefile'

This command asks for the CVS Login password everytime executed.

What I plan to is to minimize the manual tagging of files with the newbuild and just have a list of fil_name, version changed since the last build.

file_list.csv
-----------------
file_name,version
-----------------

If we have the information in the following format, can write a shell script to tag all files against the version specified with the newbuild name.

Note: The cvs commands asks for a password everytime it is executed. Can I pass the password just once?


Thanks,
Rahul.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

Discussion (Thread) Tagging Upgrades

Dear All, I have made significant progress coding new discussion thread tagging features. As always, we want all users to tag thread and moderators to tag threads with relevant keywords. Moving forward, in addition to the #1 important "human tagging", we will also auto tag threads with one... (4 Replies)
Discussion started by: Neo
4 Replies

2. UNIX for Beginners Questions & Answers

BASH SCRIPT - Insert date into cells in cvs file

Hi, I'm looking to accomplish the following. Insert current date into three places/cells within a cvs, every time the bash script is executed. The cells are column A,B,C row 2. Row 1 is reserved for the headers. The file name is always orders.csv. These three cells we always have an old... (1 Reply)
Discussion started by: Rookievmc
1 Replies

3. Solaris

Solaris 9 VLAN tagging with ce interface

Hi, Is it possible to VLAN tag with a ce interface on Solaris 9? Link speed is gb. ce:0:ce0:link_speed 1000 I have a ce0 interface I would need to have access to another VLAN as well as the one it's currently on. What commands would I need to run? Thanks.;) (2 Replies)
Discussion started by: sparcman
2 Replies

4. UNIX for Dummies Questions & Answers

How to retrive data from DB(Aqua studio) in CVS format using UNIX script?

I am using aqua studio DB. I need to retrive the data from my database using uxin script in .csv format. i am using select query along with the joins. my o/p in the DB is of the below format. Cycle IDCycle StatusRecord 98N-0000ACV23-3636FCliet Level (Af)Success1689393HF-J7879-09090RCliet Level... (1 Reply)
Discussion started by: Mugivz
1 Replies

5. Shell Programming and Scripting

Automate CVS login using shell script

Hi, Can anyone pls help me to automate login to cvs. I basically want to login to cvs and update a file. the script always gets to the login and returns the prompt for a password. Is there any way to send the password in the script itself. Here is the script: #!/bin/ksh... (0 Replies)
Discussion started by: raghu_shekar
0 Replies

6. Shell Programming and Scripting

script grabbing cvs file .....

how do I write a script to checkout a file in cvs and cat the file into a file in my home directory Commands are cd /home/smr/sandbox cvsroot choose option 1 cvs co filename cat filename > /home/smr/newfilename Thank you! (4 Replies)
Discussion started by: llsmr777
4 Replies

7. Shell Programming and Scripting

ID3 tagging script

I'm trying to get a little script working with DropScript 0.5 that edits the ID3 tags of an MP3. Here's what I've got: #!/bin/sh # Strip directory part but leave extension. in_base=`basename "$@"` # Strip extension. in_noext=`echo "$in_base" | sed 's/\.*$//'` /opt/local/bin/id3v2... (4 Replies)
Discussion started by: SimonDorfman
4 Replies
Login or Register to Ask a Question
CVS-DEBC(1)						      General Commands Manual						       CVS-DEBC(1)

NAME
cvs-debc - view contents of a cvs-buildpackage/cvs-debuild generated package SYNOPSIS
cvs-debc [options] [package ...] DESCRIPTION
cvs-debc is run from the CVS working directory after cvs-buildpackage or cvs-debuild. It uses the cvs-buildpackage system to locate the .changes file generated in that run. It then displays information about the .deb files which were generated in that run, by running dpkg- deb -I and dpkg-deb -c on every .deb archive listed in the .changes file, assuming that all of the .deb archives live in the same directory as the .changes file. It is useful for ensuring that the expected files have ended up in the Debian package. If a list of packages is given on the command line, then only those debs with names in this list of packages will be processed. Note that unlike cvs-buildpackage, the only way to specify the source package name is with the -P option; you cannot simply have it as the last command-line parameter. OPTIONS
All current cvs-buildpackage options are silently accepted; however, only the ones listed below have any effect. For more details on all of them, see the cvs-buildpackage(1) manpage. -adebian-architecture, -tGNU-system-type See dpkg-architecture(1) for a description of these options. They affect the search for the .changes file. They are provided to mimic the behaviour of dpkg-buildpackage when determining the name of the .changes file. -Mmodule The name of the CVS module. -Ppackage The name of the package. -Vversion The version number of the package. -Ttag The CVS tag to use for exporting sources. -Rroot directory Root of the original sources archive. -Wwork directory The full path name for the cvs-buildpackage working directory. -xprefix This option provides the CVS default module prefix. --help, --version Show help message and version information respectively. SEE ALSO
cvs-buildpackage(1), cvs-debi(1), cvs-debuild(1) and debc(1). AUTHOR
cvs-buildpackage was written by Manoj Srivastava, and the current version of debi was written by Julian Gilbey <jdg@debian.org>. They have been combined into this program by Julian Gilbey. DEBIAN
Debian Utilities CVS-DEBC(1)