From: Tobias Geerinckx-Rice <me@tobias.gr>
To: guix-devel@gnu.org, Jack Hill <jackhill@jackhill.us>
Subject: Re: plugins as separate packages for desktop application
Date: Mon, 29 Jul 2019 19:53:47 +0200 [thread overview]
Message-ID: <87k1c0g21g.fsf@nckx> (raw)
In-Reply-To: <alpine.DEB.2.20.1907291111270.9756@marsh.hcoop.net>
[-- Attachment #1: Type: text/plain, Size: 897 bytes --]
Jack,
Jack Hill 写道:
> I think a good way forward would be to work with upstreams to
> have
> their applications support an APPNAME_PLUGIN_PATH variable and
> when
> plugins are present in a profile they would augment that
> variable.
I agree. Many packages already do this & it jives nicely with our
native-search-paths feature.
Two random lessons from previous experience with (well-meaning)
upstreams:
1. Ensure that it's a search path (in the GNU sense of the word),
a standard colon-separated one if at all possible, not just a
single directory.
2a. Ensure that this environment variable can't be too easily
(=accidentally) masked by a user preference, and
2b. don't use it as a 'default value' to initialise a preference
that will later be saved to disc, because that's how we end up
with weird bugs.
Thanks for taking charge of this,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
prev parent reply other threads:[~2019-07-29 17:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-29 15:29 plugins as separate packages for desktop application Jack Hill
2019-07-29 17:53 ` Tobias Geerinckx-Rice [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k1c0g21g.fsf@nckx \
--to=me@tobias.gr \
--cc=guix-devel@gnu.org \
--cc=jackhill@jackhill.us \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).