Announcing Snaplint

Scott Sweeny scott.sweeny at canonical.com
Fri Dec 9 04:29:02 UTC 2016


That would make for an interesting dogfooding run since the tool
itself is GPL-3 :-)

~S

On Thu, Dec 08, 2016 at 07:42:36PM -0700, Spencer wrote:
> Uh...but if I use your tool, then I can't claim ignorance when I'm getting sued for copyright violations.
> 
> Seriously, though, I hate all the legal crap licensing causes in the development world.  Your tool could make life a lot easier in that regard, which is nice.
> 
> BTW, the GPL is the worst license ever.  Your lint tool should flag its use as a fatal error.
> 
> > On Dec 8, 2016, at 2:44 PM, Scott Sweeny <scott.sweeny at canonical.com> wrote:
> > 
> > Hi all,
> > 
> > I'm writing to announce a tool I've been working on to encode best
> > practices for snapping software. Inspired by utilities like lintian I've
> > decided to name it 'snaplint'. At this point I'd like some wider
> > feedback as I try to make it more useful.
> > 
> > Right now you can run snaplint against your snapcraft project directory
> > and it will scan the prime subdirectory for the following things:
> > 
> > * copyright (basically that you included usr/share/doc/*copyright* for
> > any stage-packages
> > * developer cruft (things like header and object files or static libs
> > that might have made their way into your snap)
> > * libraries (examine the ELF files in your snap and look for libraries
> > which aren't used)
> > 
> > The next things I'm planning on adding are:
> > * checking for copyright info from apps/parts themselves.
> > * checking for mixing of incompatible licenses
> > 
> > I would love to hear suggestions from you on further improvements.
> > 
> > You can find the source at https://github.com/ssweeny/snaplint
> > 
> > And, of course you can try it on your own machine with
> > 
> >    $ snap install snaplint
> >    $ snaplint <path/to/your/project>
> > 
> > Cheers,
> > ~Scott
> > 
> > -- 
> > Snapcraft mailing list
> > Snapcraft at lists.snapcraft.io
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
> 
> -- 
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161208/fdc4027a/attachment.sig>


More information about the Snapcraft mailing list