web interface to notmuch
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Dec 6 11:13:52 PST 2017
Hi Brian--
On Wed 2017-12-06 10:00:19 -0500, Brian Sniffen wrote:
> Okay, https://github.com/briansniffen/notmuch/tree/nmweb is now rebased
> onto the notmuchmail.org head as of this morning. All of the changes
> are under contrib/notmuch-web.
thanks for doing this!
traditionally, we've encouraged code contributions to come in in
separate patches (not one big lump), with each commit clearly justifying
their changes. And yes, tests would make it much more likely that this
sweet contribution doesn't bitrot!
one thing i note is you've included a copy of jquery directly. i think
we want to avoid having retrieved or generated code in the repository.
if there's an external dependency, the repo should point to it but it
shouldn't include it. notmuch doesn't include gmime, but it states that
it has gmime as a dependency (with specific versions), and lets the
builder/maintainer retrieve the dependency themselves. This makes
licensing, source vetting, and maintenance easier by ensuring that it
all stays loosely coupled. Presumably you aren't signing up for
ensuring that any security vulnerabilities in jquery get pushed into the
notmuch repo too :)
Maybe you could do a similar explicitly-stated dependency for jquery
instead of including it directly? debian ships jquery as libjs-jquery,
for example (though you could also use an explicit fetch from the web
for systems that aren't running an OS that provides a packaged form of
jquery).
other folks might have other preferences, i hope they'll chime in.
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20171206/ff7e6dfb/attachment.sig>
More information about the notmuch
mailing list