* [PATCH] fetch2/svn: Add transportuser parameter
@ 2014-07-03 10:39 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-07-03 10:39 UTC (permalink / raw)
To: bitbake-devel
There may be a need to set the user for the transport rather than the subversion
command itself. Add a parameter to the url to allow this.
[YOCTO #6475]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py
index 8847461..1733c2b 100644
--- a/bitbake/lib/bb/fetch2/svn.py
+++ b/bitbake/lib/bb/fetch2/svn.py
@@ -101,7 +101,8 @@ class Svn(FetchMethod):
suffix = "@%s" % (ud.revision)
if command == "fetch":
- svncmd = "%s co %s %s://%s/%s%s %s" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module, suffix, ud.module)
+ transportuser = ud.parm.get("transportuser", "")
+ svncmd = "%s co %s %s://%s%s/%s%s %s" % (ud.basecmd, " ".join(options), proto, transportuser, svnroot, ud.module, suffix, ud.module)
elif command == "update":
svncmd = "%s update %s" % (ud.basecmd, " ".join(options))
else:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-03 10:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-03 10:39 [PATCH] fetch2/svn: Add transportuser parameter Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox