All of lore.kernel.org
 help / color / mirror / Atom feed
* Recipe svn-fetcher and scmdata
@ 2019-08-19  7:18 Teemu K
  2019-08-21 14:32 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Teemu K @ 2019-08-19  7:18 UTC (permalink / raw)
  To: yocto

Hi,

I have some recipes that fetch sources directly from svn. I'd like to
keep the .svn to make it easier to commit changes. I checked that
those are by default removed and that there is scmdata - option if
those wanted to be kept.

I set the following src_uri:

SRC_URI = "svn://my.svn.server/svn/sw_components/program/;module=trunk;protocol=http;scmdata=keep"

Yet the .svn - data is removed from the sources under build -
directory. It is in under download directory though so I'm wondering
if I got this right in the first place?

I tried with devtool modify and it seems I ended up having .git -
directory there although sources are in svn. Maybe it's systems
'subtle' way of telling me to switch to git? ;)

But should the scmdata=keep option work like I'm thinking it should
and/or what I'm doing wrong?

-TeemuK


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Recipe svn-fetcher and scmdata
  2019-08-19  7:18 Recipe svn-fetcher and scmdata Teemu K
@ 2019-08-21 14:32 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2019-08-21 14:32 UTC (permalink / raw)
  To: Teemu K, yocto

On Mon, 2019-08-19 at 10:18 +0300, Teemu K wrote:
> Hi,
> 
> I have some recipes that fetch sources directly from svn. I'd like to
> keep the .svn to make it easier to commit changes. I checked that
> those are by default removed and that there is scmdata - option if
> those wanted to be kept.
> 
> I set the following src_uri:
> 
> SRC_URI =
> "svn://my.svn.server/svn/sw_components/program/;module=trunk;protocol
> =http;scmdata=keep"
> 
> Yet the .svn - data is removed from the sources under build -
> directory. It is in under download directory though so I'm wondering
> if I got this right in the first place?
> 
> I tried with devtool modify and it seems I ended up having .git -
> directory there although sources are in svn. Maybe it's systems
> 'subtle' way of telling me to switch to git? ;)
> 
> But should the scmdata=keep option work like I'm thinking it should
> and/or what I'm doing wrong?

I have a suspicion the build directory (${B}) may be getting cleaned by
one of the tasks and wiping out the scm data but its just a guess...

Cheers,

Richard



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-21 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19  7:18 Recipe svn-fetcher and scmdata Teemu K
2019-08-21 14:32 ` Richard Purdie

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.