Subject: Developers of Sympa
List archive
- From: Luc Didry <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-developpers] Use Carton for Sympa?
- Date: Fri, 18 May 2018 17:12:01 +0200
jeudi 17 mai 2018, 11:28:22 CEST Luc Didry wrote:
> Hello,
>
> I wanted to discuss about it during the hackathon, but why not talk
> right now?
>
> Carton (https://metacpan.org/pod/Carton) is a Perl module dependency
> manager, allowing to install the exact versions of modules chosen by
> the developers. The modules are installed in a `local` directory.
>
> Pros:
> - no more "What version of modules do you have" (if the installation
> was properly made): just say what version of Sympa you have
> - a problem is caused by a module, that have a fix in a new version
> (or has not the problem in a previous version)? No pb, the devs have
> just to install the right version and push the new cpanfile.lock
> - you can create "features" like --without=oracle to not install the
> dependencies for Oracle DB (https://metacpan.org/pod/cpanfile)
>
> Cons:
> - the scripts need to be launched with `carton exec ./script --
> --options` (maybe there is some workaround, I don't know)
> I usually create wrapper scripts to avoid such long command.
>
> What do you think? Is it worth looking into?
Thing I didn't thought about: the debian packaging might be more
complicate with Carton. Well, we'll see what racke will say about that
at the hackathon.
--
Luc
"La route est longue, mais la voie est libre…" https://framasoft.org
Framasoft ne vit que par vos dons (déductibles des impôts). Merci d'avance
pour votre soutien https://soutenir.framasoft.org
-
[sympa-developpers] Use Carton for Sympa?,
Luc Didry, 05/17/2018
- Re: [sympa-developpers] Use Carton for Sympa?, Luc Didry, 05/18/2018
-
Re: [sympa-developpers] Use Carton for Sympa?,
IKEDA Soji, 05/19/2018
- Re: [sympa-developpers] Use Carton for Sympa?, Luc Didry, 05/25/2018
Archive powered by MHonArc 2.6.19+.