Using Preferences to Tame your Package Manager

Abstract : Determining whether some components can be installed on a system is a complex problem: not only it is NP-complete in the worst case, but there can also be exponentially many solutions to it. Ordinary package managers use ad-hoc heuristics to solve this installation problem and choose a particular solution, making extremely difficult to change or sidestep these heuristics when the result is not the one we expect. When software repositories become complex enough, one gets vastly superior results by delegating dependency handling to a specialised solver, and use optimisation functions (or preferences) to control the class of solutions that are found. The opam package manager relies on the CUDF pivot format, which allows OCaml users that have a CUDF-compliant solver on their machine to reap the benefits of preferences-based dependency resolution. Thanks to the solver farm provided by Irill, these benefits are now extended to the OCaml community at large. In this talk we will present the preferences language and explain how to use it.
Type de document :
Communication dans un congrès
OCaml 2014, Sep 2014, Goteborg, Sweden. 2014
Liste complète des métadonnées


https://hal.inria.fr/hal-01091177
Contributeur : Fabrice Le Fessant <>
Soumis le : lundi 8 décembre 2014 - 19:17:04
Dernière modification le : mardi 11 octobre 2016 - 13:55:41
Document(s) archivé(s) le : samedi 15 avril 2017 - 04:04:01

Fichier

ocaml2014_17.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01091177, version 1

Collections

INRIA | PPS | USPC

Citation

Pietro Abate, Roberto Di Cosmo, Louis Gesbert, Fabrice Le Fessant, Stefano Zacchiroli. Using Preferences to Tame your Package Manager. OCaml 2014, Sep 2014, Goteborg, Sweden. 2014. <hal-01091177>

Partager

Métriques

Consultations de
la notice

169

Téléchargements du document

150