Giter Site home page Giter Site logo

Comments (9)

Skarsnik avatar Skarsnik commented on August 17, 2024

Hm, I prefer if panda/something provide sqlite if it's not installed on a *unix plateform.

from dbiish.

zoffixznet avatar zoffixznet commented on August 17, 2024

What about Windows? Also, I don't see how panda can handle this. The only way is installing the system package which sounds very evil and I rather it didn't.

from dbiish.

jonathanstowe avatar jonathanstowe commented on August 17, 2024

Yeah, after all SQLite is distributed as a single file, specifically in order to be bundled like that.

The alternative would be some Alien::SQLite which could either bundle or download the sqlite and build a private library if necessary (then things could depend on it.)

The first thing is the easiest though

from dbiish.

Skarsnik avatar Skarsnik commented on August 17, 2024

My assuption for windows is "Provide all the thing"

And for the how. It had be discused to add sections in the meta file to give information about external dependancy like that.

from dbiish.

zoffixznet avatar zoffixznet commented on August 17, 2024

My assuption for windows is "Provide all the thing"

What does that mean?

And for the how. It had be discused to add sections in the meta file to give information about external dependancy like that.

I believe mst has been trying to solve this issue for Perl 5, and it's not an easy problem to solve. If using the package manager, you're risking breaking something on my system that depends on the already-installed version of the package or the package not being installed in the first place.

I guess my point is there needs not be an external dependency for the end user, if the lib is bundled. Currently, I, as the end user, (a) messing up my system (whether manually or whether panda does it automatically), (b) have to install system packages available to all, (c) have to maintain those packages are up-to-date. If I'm writing a Perl 6 DBIish app, all I need is DBIish installed in my ~/.perl6

What are the arguments against bundling it with this distro?

from dbiish.

jonathanstowe avatar jonathanstowe commented on August 17, 2024

https://www.sqlite.org/selfcontained.html contains rebuttals of most of the arguments for not bundling it.

from dbiish.

Skarsnik avatar Skarsnik commented on August 17, 2024

Well on Windows you are always better to provide everything you need that counting on found them.

The external dependancy thing is mostly informative (and will be useful for distrib or people that package your module).

For this specific issue, It just I am not fan of having x copy of the same lib. I will probably want panda/whatever asking me if he should build a copy for the module. Also if you can this way, you probably want to provide binary version of sqlite. Assuming a compilater is here/alowed to run is weird if you think of a p6 program ending on a server.

from dbiish.

Skarsnik avatar Skarsnik commented on August 17, 2024

I am not stopping people for doing the work to bundle SQLite. It's just my opinion on the matter :)

from dbiish.

zoffixznet avatar zoffixznet commented on August 17, 2024

There doesn't seem to be a consensus, so I'll close this; at least until we see what happens with the panda installing external prepreqs

from dbiish.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.