bugConcurrent Versions System - Bugs: bug #15546, Pass branch name to serverside...

 
 

bug #15546: Pass branch name to serverside scripts

Submitter:  None
Submitted:  Sat 28 Jan 2006 12:31:27 AM UTC
   
 
Category:  Bug Report Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release: 
Fixed Release:  None Fixed Feature Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 28 Jan 2006 12:31:27 AM UTC, original submission:  

When a file is committed to a branch, the branch name should be provided to the server side scripts.  Ideally, the branch name could be passed in via an argument in commitinfo, loginfo, editinfo, etc.

For example:

I would like to be able to restrict commits to a particular branch of a particular module.  I can write a script to handle the logic, but this script needs to know the name of the branch for which the commit is made.  Ideally, I would like to add the following line to commitinfo where %{b} represents the branch name:

module1    $CVSROOT/CVSROOT/commitcheck %{b}

${b} should expand to the actual branch name or "NONE" if this change is not being made to a branch.

Similarly, this feature would be useful for verifying commit messages (editinfo) only on a particular branch or modifying recipient lists (loginfo) based on a particular branch (this issue is non-blocking for the loginfo case since the cvs notification actually contains the branch name).

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code