[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Computing resources for DHG work



* Sean Whitton <spwhitton@spwhitton.name>, 2016-05-29, 21:43:
The disc space required would be the total of:

- all the source packages & orig tarballs that have the haskell group specified as the Maintainer:
- plus all the binary packages built from those
- plus a base sid debootstrap chroot (around 1.6GB)

A chroot with build-essentials + apt + fakeroot is less than 600 MB.

I don't know how to find out the total size of those source and binary packages in advance of downloading all the tarballs and building them all (the DHG repo contains only the debian/ subdir); I would be grateful if someone pointed me at a way of extracting that information from the archive.

$ wget -q -O- http://httpredir.debian.org/debian/dists/unstable/main/source/Sources.xz | xz -dc | grep-dctrl -F Maintainer '<pkg-haskell-' -s Files | cut -d ' ' -f3 | numsum
136140166

$ wget -q -O- http://httpredir.debian.org/debian/dists/unstable/main/binary-amd64/Packages.xz | xz -dc | grep-dctrl -F Maintainer '<pkg-haskell-' -n -s Size | numsum
677197804

--
Jakub Wilk


Reply to: