[OE-core] [RFC] Fetching single files

Martin Jansa martin.jansa at gmail.com
Thu Jun 21 18:18:06 UTC 2012


On Thu, Jun 21, 2012 at 04:30:27PM +0200, Koen Kooi wrote:
> 
> Op 21 jun. 2012, om 16:01 heeft Burton, Ross het volgende geschreven:
> 
> > Hi,
> > 
> > I was looking at updating the webkit-gtk package to the latest
> > upstream when I noticed that instead of just checking out the
> > repository it checks out a selection of directories and includes in
> > oe-core the essential top-level files.  I can see the rationale for
> > this: a full checkout of webkit includes the full test suite and web
> > site sources.
> > 
> > However I'm not entirely keen on the package shipping the top-level
> > files in oe-core, as that is asking for trouble.  One solution would
> > be the ability to fetch a single file through the svn fetcher instead
> > of a directory, which svn can do using "svn export" (checking out a
> > file is an error).  This doens't bring any metadata along with it so
> > it isn't actually a checkout that can be updated in the future, but
> > for a single file I think this isn't a problem.
> > 
> > In poky-contrib:ross/svn I've started implement a proof of concept on
> > this.  So far using the singlefile=1 parameter the export logic is
> > activated, the file is svn exported and stashed in the download
> > directory, suitable renamed.  The next step is to hook this into the
> > unpack stage so that the file gets renamed correctly on it's way to
> > the workdir.
> > 
> > But before I start looking at this I thought I'd mail the list and see
> > if anyone has any comments.  So, anyone know of any problems, pitfalls
> > or better solutions?
> 
> We didn't do single file fetches/checkouts in the past because it's a svn 1.6.x feature. I would be really happy if we declare that 1.6.x is the minimum we support. I would be even happier if we just fetch webkit (completely) from git :)

We should drop subversion-native from ASSUME_PROVIDED and let distro
decide if the minimum is 1.6 or even 1.7

https://bugzilla.yoctoproject.org/show_bug.cgi?id=2409

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120621/5d460cd7/attachment-0002.sig>


More information about the Openembedded-core mailing list