Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 246667

Summary: repoman feature request: Ability to specify custom VCS options
Product: Portage Development Reporter: Robin Johnson <robbat2>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: InVCS
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 210077, 216231    

Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-14 06:54:18 UTC
All of the VCS systems supported by Repoman support global and command-specific options. In cases of debugging, it would be extremely useful to specify something other than the default global option of -q used by CVS.

Due to established behaviour, we need to have at least two environment variables or command-line parameters:
${VCS_BINARY} ${GLOBAL_OPTS} ${VCS_COMMAND} ${LOCAL_OPTS}

The two sets of options are processed separately by the VCS :-(.

For CVS, specifying '-t -n' as a global option is really nice for debugging, as a CVS-specific --pretend that uses the network and does everything except actually writing the files on the CVS server (it does take the locks on the server).

If the global options are specified, the CVS default of -q should not be used.
Comment 1 Zac Medico gentoo-dev 2008-11-17 09:33:01 UTC
In svn r11978 I've added REPOMAN_VCS_LOCAL_OPTS and REPOMAN_VCS_GLOBAL_OPTS variables.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-17 10:17:27 UTC
zmedico: thanks, looks good :-)
Comment 3 Zac Medico gentoo-dev 2008-11-22 05:55:03 UTC
This is fixed in 2.2_rc15.