All of lore.kernel.org
 help / color / mirror / Atom feed
* Source Code provision without full git repository history
@ 2017-03-09 12:55 Waldvogel, Sebastian
  2017-03-09 14:29 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Waldvogel, Sebastian @ 2017-03-09 12:55 UTC (permalink / raw)
  To: yocto

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

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<http://www.yoctoproject.org/docs/2.0.1/dev-manual/dev-manual.html#providing-the-source-code>. The generated tarballs contains the concrete source files but in addition the full git repository with history is contained too.

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



[-- Attachment #2: Type: text/html, Size: 3360 bytes --]

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

end of thread, other threads:[~2017-03-10  7:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-09 12:55 Source Code provision without full git repository history Waldvogel, Sebastian
2017-03-09 14:29 ` Khem Raj
2017-03-09 16:28   ` Daniel.
2017-03-09 16:42     ` Daniel.
2017-03-10  7:52     ` Waldvogel, Sebastian

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.