I'm not trying to be simplistic here, but, why not package the source
releases to a tarball (with git archive or somthing) and provide it
through a FTP server?

Regards,

2017-03-09 11:29 GMT-03:00 Khem Raj <raj.k...@gmail.com>:
>
> On Thu, Mar 9, 2017 at 5:02 AM Waldvogel, Sebastian
> <sebastian.waldvo...@vector.com> wrote:
>>
>> Hello,
>>
>>
>>
>> I am searching for a way in Yocto/BitBake to extract the source codes of
>> the software applications developed by my company for delivery to our
>> customers.
>>
>> The source codes shall be delivered as archive containing only the source
>> files without the whole git repository history.
>>
>>
>>
>> Setup is that we have own Yocto layers/recipes referencing the company
>> internal git repository (SRC_URI=”git://git.company.url”) and the concrete
>> SRCREV to be used. Basic idea was to use the option
>> BB_GENERATE_MIRROR_TARBALLS = "1" which generates an archive file with the
>> application source code. Unfortunately the generated tarball contains the
>> full bare cloned git repository with full history and not only the source
>> files of the concrete SRCREV.
>>
>>
>>
>> As alternative I tried to use the archiver class. The generated tarballs
>> contains the concrete source files but in addition the full git repository
>> with history is contained too.
>
>
> I am not sure if it is intended to keep SCM history though you might want to
> file a bug
>>
>>
>>
>> Does anyone has an idea how to extract the concrete source files without
>> git repository and history?
>>
>>
>>
>> Thank you very much for your help
>>
>> Sebastian Waldvogel
>>
>>
>>
>>
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



-- 
“If you're going to try, go all the way. Otherwise, don't even start. ..."
  Charles Bukowski
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to