Skip to content

How should extensions be installed for packages? #826

@shah

Description

@shah

I love using pkgx - great job on the developer experience! One of my projects uses sqlite3 (which of course pkgx supports nicely) but I need to also install and use numerous SQLite loadable extensions. Currently I use SqlPkg SQLite 3 extension manager but since sqlpkg is basically copying files into a well-known location I figured it might be easier to do it through new pkgx and the Pantry.

For example, when I write SQL for sqlite3 I might need to do the following:

.load /home/me/.sqlpkg/asg017/ulid/ulid0
select ulid();

Without the extension ulid() will fail but with the .load ... line it will work.

What are your suggestions about how to proceed with dynamic extensions acquisition, download, and referencing for packages that pkgx supports? Hopefully this is a very generalizable problem so a general-purpose solution to support plugins, extensions, etc. makes sense for pkgx especially for dev environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions