All of lore.kernel.org
 help / color / mirror / Atom feed
* SVN based AUTOREV detection?
@ 2015-11-07  1:52 allen.curtis
  2015-11-08 12:03 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: allen.curtis @ 2015-11-07  1:52 UTC (permalink / raw)
  To: yocto


Hello,

Is there a way to use the feature during development when you are  
working off trunk/HEAD?

This doesn't work (obviously). Is it possible to pull the HEAD version  
in the recipe?

-------------------
PR = "r0"
PV = "0.1+svn${SRCPV}"

SRCREV = "${AUTOREV}"

SRC_URI =  
"svn://project/trunk;module=libproject;protocol=svn+ssh;rev=HEAD;subdir=svn"

-------------------

TIA



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

* Re: SVN based AUTOREV detection?
  2015-11-07  1:52 SVN based AUTOREV detection? allen.curtis
@ 2015-11-08 12:03 ` Martin Jansa
  2015-11-08 23:34   ` allen.curtis
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2015-11-08 12:03 UTC (permalink / raw)
  To: allen.curtis; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

On Sat, Nov 07, 2015 at 01:52:37AM +0000, allen.curtis@curtisembedded.com wrote:
> 
> Hello,
> 
> Is there a way to use the feature during development when you are  
> working off trunk/HEAD?
> 
> This doesn't work (obviously). Is it possible to pull the HEAD version  
> in the recipe?
> 
> -------------------
> PR = "r0"
> PV = "0.1+svn${SRCPV}"
> 
> SRCREV = "${AUTOREV}"
> 
> SRC_URI =  
> "svn://project/trunk;module=libproject;protocol=svn+ssh;rev=HEAD;subdir=svn"

try to drop rev=HEAD, setting SRCREV should be enough.

> 
> -------------------
> 
> TIA
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: SVN based AUTOREV detection?
  2015-11-08 12:03 ` Martin Jansa
@ 2015-11-08 23:34   ` allen.curtis
  0 siblings, 0 replies; 3+ messages in thread
From: allen.curtis @ 2015-11-08 23:34 UTC (permalink / raw)
  To: Martin Jansa; +Cc: yocto

>> Is there a way to use the feature during development when you are
>> working off trunk/HEAD?
>>
>> This doesn't work (obviously). Is it possible to pull the HEAD version
>> in the recipe?
>>
>> -------------------
>> PR = "r0"
>> PV = "0.1+svn${SRCPV}"
>>
>> SRCREV = "${AUTOREV}"
>>
>> SRC_URI =
>> "svn://project/trunk;module=libproject;protocol=svn+ssh;rev=HEAD;subdir=svn"
>
> try to drop rev=HEAD, setting SRCREV should be enough.
>

Thanks Martin,

That was too easy. I was under the impression that you had to specify  
the revision in the SRC_URI.





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

end of thread, other threads:[~2015-11-08 23:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-07  1:52 SVN based AUTOREV detection? allen.curtis
2015-11-08 12:03 ` Martin Jansa
2015-11-08 23:34   ` allen.curtis

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.