On Thu, Nov 14, 2019 at 5:55 AM Dan Kortschak <d...@kortschak.io> wrote:
> It looks like license detection needs work. > > See https://pkg.go.dev/gonum.org/v1/gonum?tab=overview and note it has > a BSD 3 clause, as shown by GitHub's assessment (just above the "Clone > or download" button) at https://github.com/gonum/gonum and the LICENSE > file that it links to. Moreover, such packages seem to be, as a side effect, non-discoverable because their README and documentation are not indexed (nor displayed). For example, searching for `pure go SQL database' has zero results. I don't care about automatic license recognizing, even though it's admittedly a useful information for the site user. But I don't understand why projects with unrecognized LICENSE file contents don't show the README and the documentation. I'll better leave the fact of hiding even the LICENSE file per se from the user with the message `“Licenses” hidden due to license restrictions.` without comment because I guess it's just a legal issue I don't understand. Any yes, all my packages that I tried are victims to the above issues. Here's an example of a recognized LICENSE vs an unrecognized one: jnml@e5-1650:~/src/modernc.org/mathutil> diff -u ~/goroot/LICENSE LICENSE --- /home/jnml/goroot/LICENSE 2019-09-10 14:24:54.469859557 +0200 +++ LICENSE 2019-09-10 14:36:43.347068286 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2009 The Go Authors. All rights reserved. +Copyright (c) 2014 The mathutil Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -10,7 +10,7 @@ copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the names of the authors nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission. jnml@e5-1650:~/src/modernc.org/mathutil> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAA40n-UNy5nuBDLN%2BeJZO6FPm8gRwmPKFXT7i4AprSui-SjXNA%40mail.gmail.com.