On 2012-07-02 Bill Moseley <[email protected]> wrote:
> You have tarballs of every single dependency?  How do you determine
> what those are?

IIRC (and the system works well so I don't have to remember how it
works :) ) we have a wrapper for CPAN.pm that logs the downloads and
adds them to the repository.

> And you build a single RPM with perl and all dependencies?

Yes.

> Do you use Perlbrew for that?

We built our system before Perlbrew existed. Some details can been
seen in this presentation:

http://www.presentingperl.org/lpw2010/packaging-perl/

> [ big snip ]
>
> I think the significant thing here is I'm not really worrying about
> specific versions of dependencies.  Sure, code depends on a minimun
> version of a module but that's just so tests have a chance of
> passing.   What's important is that the unit tests pass.   It's
> really no different than running "cpan Catalyst::Runtime" and making
> sure all tests pass.

If you have a very good coverage, that may well work. What makes me
feel not very safe is a scenario I'm having right now at work: the
same application works on some VMs, but fail with networking problems
on others. Is it a code problem, or a network problem? Two "rpm
--verify" later, I know that the exact same code is running on all
those VMs, two "puppetd" proves that the configuration is the same,
and at least I've ruled "different code" as a source of
differences. Doesn't help me prove it's the network, but at least I
don't have to write a tool to check all the installed distributions…

-- 
        Dakkar - <Mobilis in mobile>
        GPG public key fingerprint = A071 E618 DD2C 5901 9574
                                     6FE2 40EA 9883 7519 3F88
                            key id = 0x75193F88

Captain: "You would have done the same."

Mal: "You can already see I haven't.  Now get the hell off my ship."
                                --Episode #8, "Out of Gas"

Attachment: signature.asc
Description: PGP signature

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to