From: John O'Sullivan <John.OSullivan@BlackBox.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Checking out code from svn
Date: Thu, 17 Aug 2017 14:26:46 +0000 [thread overview]
Message-ID: <1502980006217.54872@BlackBox.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1947 bytes --]
Hi,
This worked for me
PACKAGE="myapp"
SRC_URI = "${SVN_ROOT}/path_to_module/;module=${PACKAGE};protocol=svn;rev=HEAD"
where SVN_ROOT is something like
SVN_ROOT = "svn://10.10.10.xx"
Hi,
I am looking for some help with incorporating a svn check out into a recipe.
The current syntax I arrived at is:
SRC_URI = "svn://myserverip/Emerald/trunk/Applications/Examples/;module=SampleApplication;protocol=svn;rev=HEAD;user=username;pswd=userpassword"
In interacting with this server I would normally check out using a command like
svn co svn://myserverip/Emerald/trunk/Applications/Example/ SampleApplication SampleApplication
This would give me a directory called SampleApplication with the required source code.
I would normally authenticate myself once in advance of this checkout.
The documentation at
http://www.yoctoproject.org/docs/2.3/bitbake-user-manual/bitbake-user-manual.html#svn-fetcher
mentions
"module": The name of the svn module to checkout. You must provide this parameter. You can think of this parameter as the top-level directory of the repository data you want.
I'm not sure what that means in this context, in my example does it mean the SampleApplication folder?
There is no mention in the current documentation of parameters like user or pswd so I am not sure if these are still used.
________________________________
This email and any files transmitted with it are confidential and are intended for the sole use of the individual to whom they are addressed. Black Box Corporation reserves the right to scan all e-mail traffic for restricted content and to monitor all e-mail in general. If you are not the intended recipient or you have received this email in error, any use, dissemination or forwarding of this email is strictly prohibited. If you have received this email in error, please notify the sender by replying to this email.
[-- Attachment #2: Type: text/html, Size: 2883 bytes --]
next reply other threads:[~2017-08-17 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 14:26 John O'Sullivan [this message]
2017-08-18 8:51 ` Checking out code from svn Chris Z.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502980006217.54872@BlackBox.com \
--to=john.osullivan@blackbox.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.