[oe] The future of "svnnow"

Koen Kooi koen at dominion.kabel.utwente.nl
Sat Aug 4 07:18:08 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Purdie schreef:

> 2. Handling of multiple SCMs in the SRC_URI. The plan here is simple,
> any package doing this has to set SRCREV_FORMAT specifying the format of
> the SRCREV string. get_srcrev() can collect the SCM revisions, fill out
> the string and return it. The format and inner workings of this are open
> for discussion and to be determined. 

What about tagging URIs with ;userev=true:

SRC_URI = "svn://foo/bar;userev=true \
           svn://foo/baz;userev=false \
           svn://snizzle/foo;userev=false"

Now bitbake know that it should only use the revision of 'bar' and ideally only rebuild if
that changes.

Or what about naming URIs:

SRC_URI = "svn://foo/bar;name=main \
           svn://foo/baz;name=baz-module \
           svn://snizzle/foo;name=snizzle-foo-support"

SRCREV_FORMAT = "main"

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGtCgwMkyGM64RGpERAv0AAKC7Ghm1j1VNATajHCBGqXHgXWJIYwCfZWiF
8MfFdeVLP5yttEJXUmwAgF8=
=bXR1
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list