| Summary: | SVN fetcher removes username from URI inappropriately | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | William R. Otte <wotte> |
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | poky.bs.watcher, poky.watcher, richard.purdie, srifenbark |
| Version: | unspecified | ||
| Target Milestone: | 1.7 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | 3 July 2014: Doc flag set to "Done" | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Done (doc changes complete) | |
|
Description
William R. Otte
2014-06-24 15:25:12 UTC
Well, this is a really tricky one. Rightly or wrongly, the fetcher defines the username in the url to be the username parameter to pass to svn. Until now its never evidently been needed to have two different usernames, one for the transport and one for svn itself. We have a backwards compatibility problem, I'd suggest we add a parameter to specify the transport username for a case like this. That would be sufficient for my purposes; the only comment I have is that if the current behavior is kept (foo@ generates --user foo), and my use case was the intended behavior, the reason for the failure isn't intuitive. I'd suggest deprecating user@ behavior entirely. There is a patch out for review on bitbake-devel. It adds a transportuser parameter to svn urls, the bitbake manual will need updating with this new parameter. A description is: "A parameter to set the username to use for the transport if required, defaulting to empty. This is different to the username used in the main url which is passed to the subversion command." Here is a doc change for the bug. http://www.yoctoproject.org/docs/1.7/bitbake-user-manual/bitbake-user-manual.html#svn-fetcher Please check it over. Scott This all seems reasonable to me. Thanks for the quick action folks. Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a5531a2b8983318b99c119a87b78a92cf84160b8 Set the doc flag to "Done". Scott |