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

Re: Requirements for uploading to CPAN?

Hi Rob,

On Tue, Mar 29, 2016 at 2:40 PM, R. Ransbottom <..hidden..> wrote:
On Sat, Mar 05, 2016 at 03:16:10PM +0100, Erik Huelsmann wrote:

> Does this mean we can start uploading our releases (as of 1.5.0, that is)
> to CPAN as soon as we merge this PR? Or are there other requirements as
> well?

I would pose the inverse:  Does the Perl module system suffice
for Lsmb's needs?  My concern regards rolling out and rolling back

Good point. And actually, until recently, I wouldn't have known a better answer than "hmm, that's indeed a weak spot". However, recently I learned about "local::lib" which allows one to install Perl libraries to a specifically named directory. It can be used with CPAN, which means that upon installing LedgerSMB, you'd be able to install its dependencies to the same directory (if you want).
The way it's done is that the content of that directory overlays the content of the system-provided libraries, allowing for different versions of a module to be installed for "main Perl" and "local::lib" 'instances'.

Although 'local::lib' isn't anywhere in our documentation currently, I think that Perl should be able to handle the concern you raise through the creation of multiple local::lib directories. So, today, I'm answering your point with "yes, it can" -- noting that we need this to be documentated somewhere.



http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
Ledger-smb-devel mailing list