Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246667 - repoman feature request: Ability to specify custom VCS options
Summary: repoman feature request: Ability to specify custom VCS options
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 210077 216231
  Show dependency tree
 
Reported: 2008-11-14 06:54 UTC by Robin Johnson
Modified: 2008-12-05 02:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.