[PD] Preferred/best practice for loading external objects

IOhannes m zmölnig zmoelnig at iem.at
Wed May 4 23:17:32 CEST 2016


On 05/04/2016 06:46 PM, Miller Puckette wrote:
> I agree this is a problem.  On my machine, selecting (for instance)
> freeverb~ from the deken plug-in creates a directory 
> ~/pd/extra/freeverb~ 

the actual Pd binary you are running is ~/pd/bin/pd, right?

> which would be a good place to put it except for
> the fact that that is my git repo (I then have to move it or else I'd 
> end up publishing freeverb~ in vanilla!).
> 
> I think deken should always query the user whether it's OK to install

hmm, i'm not so fond about *always query*, this is why i turned this off...
i don't even think it is a great user experience if Pd asks the user
once in each session (though that's way better than asking *every* time).


that's not to say that i don't agree that deken should not pollute your
~/pd/extra/ folder.
but i wonder whether there is not a more elegant way to solve this issue.

the first question is, whether this is really a general problem or just
a very specific problem to *your* workflow (that is, most people happen
to do their everyday work on the canoncial upstream source of Pd and
therefore won't ever run the risk of publishing a new shiny release of
Pd with an illegitimate library in extra/). if this is the case, then we
could probably just add some simple blacklisting mechanism in the
deken-config that excludes ~/pd/extra/ on miller puckettes eeePC.

otoh, the extra/ folder of the running Pd instance is probably not a
good place to install stuff too in *most* circumstances (the only reason
i can think of is that someone is assembling their own
Pd-bundled-with-externals).
since this path is usually the very last in the list of default search
paths, we could easily remove this element instead.


oh, and for completeness sake:
the "current" (before miller's changes today) behaviour was, that deken
has a [select dir] button, where the user can change the install
directory before they download/install any library (or change the
directory after installing freeverb and before installing moocow).
however, this is an opt-in feature.


mfgards
IOhannes


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160504/ea63a75b/attachment.sig>


More information about the Pd-list mailing list