Skip to content

A way to specify externals and versions and have them downloaded #176

@chr15m

Description

@chr15m

Related: #92 #93 #94

Use-case: a person distributing a patch wants the end user of the patch to be able to quickly and easily get the right set of external dependencies to run the patch.

Design sketch:

  • New menu item under "Find externals" -> "Install dependencies".
  • Menu item appears if current patch (window) has a file externals.txt in the folder where it is saved.
  • Format of the externals.txt file copies prior art: Javascript's package.json, Python's requirements.txt, and Ruby's Gemfile.
  • When the menu item is selected the deken plugin searches for and tries to install the first search hit of each line in the file. [search would need to be amended to allow for version-targeted searching]
  • By default installs to the folder where the patch itself resides with the option to install to the Pd-wide default. This is so the end user can install the dependencies of a patch without messing up their system externals.
  • Example of externals.txt file format:
freeverb~ v1.2.3
creb
zexy v2.2.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions