qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] scripts/make-release: Decrease the size of the release tarballs
@ 2022-07-04  6:42 Thomas Huth
  2022-07-04  6:42 ` [PATCH 1/3] scripts/make-release: Do not include the edk2 sources in the tarball anymore Thomas Huth
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Thomas Huth @ 2022-07-04  6:42 UTC (permalink / raw)
  To: qemu-devel, Stefan Hajnoczi, Michael Roth,
	Philippe Mathieu-Daudé, Gerd Hoffmann, Cédric Le Goater
  Cc: Richard Henderson, Peter Maydell, Paolo Bonzini,
	Daniel P . Berrange, Michael Tokarev, qemu-ppc, qemu-arm,
	Brad Smith, Kamil Rytarowski, Reinoud Zandijk, Ryo ONODERA

Our release tarballs are huge - qemu-7.0.0.tar.xz has a size of 119 MiB.
If you look at the contents, more than half of the size is used for the
edk2 sources that we ship along to provide the sources for the firmware
binaries, too. This feels very wrong, why do we urge users to download
such huge tarballs while 99.9% of them never will rebuilt the firmware
sources? We were also struggeling a bit in the past already with server
load and costs, so we should really try to decrease the size of our
release tarballs to a saner level.

Fortunately, edk2 has a permissive BSD license, so we are not forced
to distribute the sources for this. Thus instead of packaging the whole
edk2 source tree in our tarballs, let's just do the bare minimum and
provide the license information and a pointer to where the users can
download the edk2 sources instead. This decreases the size of our tarballs
already to the half of the original size.

Some few additional MiBs can be saved by omitting the sources of the
skiboot firmware, which has a permissive license, too (see second patch).
The final patch is rather cosmetics only - it drops some additional
.yml and .git files from the tarball that are of no use for the normal
user without the corresponding git repository.

Thomas Huth (3):
  scripts/make-release: Do not include the edk2 sources in the tarball
    anymore
  scripts/make-release: Do not include the skiboot sources in the
    tarball anymore
  scripts/make-release: Remove CI yaml and more git files from the
    tarball

 scripts/make-release | 46 ++++++++++++++++++++++++++++++++++++--------
 1 file changed, 38 insertions(+), 8 deletions(-)

-- 
2.31.1



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

end of thread, other threads:[~2022-07-20 15:03 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-04  6:42 [PATCH 0/3] scripts/make-release: Decrease the size of the release tarballs Thomas Huth
2022-07-04  6:42 ` [PATCH 1/3] scripts/make-release: Do not include the edk2 sources in the tarball anymore Thomas Huth
2022-07-04  7:26   ` Stefan Hajnoczi
2022-07-04  8:23     ` Thomas Huth
2022-07-04  9:14     ` Daniel P. Berrangé
2022-07-04  9:37       ` Thomas Huth
2022-07-04  9:49         ` Gerd Hoffmann
2022-07-04 10:45         ` Daniel P. Berrangé
2022-07-20 15:01           ` Thomas Huth
2022-07-04  6:42 ` [PATCH 2/3] scripts/make-release: Do not include the skiboot " Thomas Huth
2022-07-04  8:39   ` Cédric Le Goater
2022-07-04  6:42 ` [PATCH 3/3] scripts/make-release: Remove CI yaml and more git files from the tarball Thomas Huth
2022-07-04  7:29   ` Stefan Hajnoczi
2022-07-04  7:30 ` [PATCH 0/3] scripts/make-release: Decrease the size of the release tarballs Stefan Hajnoczi
2022-07-04  9:30 ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).