[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 4/4] GPL License Boilerplate: Switch from HTTP to HTTPS



Hi Anthony,

On 09/02/2023 14:55, Anthony PERARD wrote:
On Wed, Feb 08, 2023 at 06:21:08PM -0500, Demi Marie Obenour wrote:
On Wed, Feb 08, 2023 at 02:58:38PM -0800, Stefano Stabellini wrote:
On Wed, 8 Feb 2023, Demi Marie Obenour wrote:
Obtaining code over an insecure transport is a terrible idea for
blatently obvious reasons.  Even for non-executable data, insecure
transports are considered deprecated.

This patch changes GPL boilerplate.

Signed-off-by: Demi Marie Obenour <demi@xxxxxxxxxxxxxxxxxxxxxx>

For the licensing boilerplate, I think it would be better to switch to
SPDX instead.

That said, given that you have already done the work to covert the GPL
boilerplate everywhere, I think this is OK. But if you have time and
energy I would love to see a patch switching to SPDX in as many places
as possible.

The only part of this patch I actually wrote is the commit message.  The
rest was generatedy by:

     git ls-files -z |
     xargs -0 -- sed -Ei -- 's@(http)(://www\.gnu\.org)@\1s\2@g'

followed by the usual git stuff.  Do you know of a similar automated
tool for SPDX conversion?

I did this with a little script in the past:
     
https://lore.kernel.org/xen-devel/20221103115204.49610-7-anthony.perard@xxxxxxxxxx/

It could be adapted for the different licenses.

Thanks! Yesterday evening, I was looking at scancode which is able to detect licenses but I didn't manage to figure out if it was possible to replace license text with SPDX.

In v1, IIRC, Demi said she didn't have time to look at it. But I am happy to give a try as it shouldn't be too complicated to replace the majority.

Cheers,

--
Julien Grall



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.