[oe] The future of "svnnow"

Koen Kooi koen at dominion.kabel.utwente.nl
Tue Jul 31 12:30:36 UTC 2007


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

Richard Purdie schreef:
> On Tue, 2007-07-31 at 12:25 +0200, Koen Kooi wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Richard Purdie schreef:
>>> Hi,
>>>
>>> As people know the ability to build the latest head revisions of svn
>>> (for example) repositories in OE with bitbake has been limited and less
>>> than ideal.
>> What happens if I have no internet connection during parsing and do have a huge
>> sourcemirror inside my firewall?
> 
> Two possible solutions:
> 
> 1. You have locked down SRCREVs

bitbake -s | grep svnr  | awk '{print "SRCREV_pn-" $1 "=" $2}' | \
sed -e s:\+:\=:g -e s:svnr::g| awk -F "=" '{print $1 "=\"" $3}' | \
awk -F "-r" '{print $1"\""}'

will spit out a list you can use as a .inc file for your favourite distro.


> 2. You have a valid head revisions cache from the last time you had
> network access and you set the bitbake cache policy not to wipe that
> cache.

Is there a nice way to distribute such a cache, for e.g. evil firewalls?

> I can't see any other ways around that and its probably better than the
> current situation.

It is indeed better, we just need to recreate all the tweaks we have for the current
situation :)

regards,

Koen

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

iD8DBQFGrytsMkyGM64RGpERAoZ7AKCC+2Pue42dUXd6bQ+uhP2oHu6iRQCgjRgo
oJFzPUBbj9v4y/3y5YJ2cC0=
=064g
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list