2 Jun
2013
2 Jun
'13
1:40 a.m.
On 01/06/13 11:34, Ben Darwin wrote:
Specific use case: an upstream subversion repo requires --username anonsvn --password anonsvn --non-interactive (SVN apparently doesn't allow passing these parameters in the URI), and I want to use the new format for VCS packages.
If there isn't an obvious way to do this already, would it make sense to add a variable, say $vcs_opts, to the makepkg API, which would be passed to the checkout commands in the download_git(), download_svn(), ..., functions?
I can not think of an obvious way to do this, so I guess some sort of variable to add this would be fine. Maybe something like: VCS_SVN=(svn --username anonsvn --password anonsvn --non-interactive) and replace "svn" with $VCS_SVN in makepkg? Allan