Hi, Am Dienstag, den 18.09.2018, 13:14 +0300 schrieb KAction@gnu.org: > > > If I understand things correctly, we download whole 01-index.tar, > containing cabal files for all packages from history of Haskell? > (~250k files) correct. But most of us have that file downloaded anyways… > Would not it be more efficent to download only cabal files for packages > we are concerned with? Here is the plan: > > * Get master snapshot of DHG_packages > * Scan `packages.txt', and extract its cabal file from from snapshot, > if it there, or download from hackage (rev 0) if it is a new package. > * Cast black magic to download cabal files of packages, that are > distributed with GHC > > This way we reduce > > * number of packages to consider for resolver from 250k to ~1k > * bandwidth requirements for fresh installation (e.g Jenkins) > * time needed to perform check > > Did I miss something? yes: When we plan to package new packages, it is important to have all of hackage available. My steps are: * Add new package foo to the plan. * run test-packages.pl If it finds a plan it will print all the extra dependencies that were pulled int. * I add the dependencies to the plan. This only works in a closed world. You could make it a flag or so… Cheers, Joachim -- Joachim “nomeata” Breitner • nomeata@debian.org • https://j.oach.im/
Attachment:
signature.asc
Description: This is a digitally signed message part