From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7C9D0E00D7E; Mon, 28 Oct 2019 20:27:45 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, * medium trust * [134.134.136.100 listed in list.dnswl.org] Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2733FE009E7 for ; Mon, 28 Oct 2019 20:27:43 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Oct 2019 20:27:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,242,1569308400"; d="scan'208";a="198800618" Received: from mng-mobl.gar.corp.intel.com (HELO shodan.localnet) ([10.249.76.230]) by fmsmga007.fm.intel.com with ESMTP; 28 Oct 2019 20:27:39 -0700 From: Paul Eggleton To: Yann CARDAILLAC Date: Tue, 29 Oct 2019 16:27:37 +1300 Message-ID: <3141867.2GmitW1KQV@shodan> Organization: Intel Corporation In-Reply-To: References: <2189115.Upo427RBWa@linux.fritz.box> MIME-Version: 1.0 Cc: yocto@yoctoproject.org Subject: Re: [layerindex-web] Add SPDX Identifier X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2019 03:27:45 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi Yann On Wednesday, 23 October 2019 2:25:48 AM NZDT Yann CARDAILLAC wrote: > On Mon, Oct 21, 2019 at 9:37 PM Paul Eggleton > wrote: > > On Tuesday, 22 October 2019 4:15:03 AM NZDT Yann CARDAILLAC wrote: > > > https://bugzilla.yoctoproject.org/show_bug.cgi?id=13527 > > > > > > I'm beginning the work of updating the layerindex-web repo, this one is a > > > bit tricky, how should I treat the files generated using Django ? > > > > I believe the correct license for Django-derived files is BSD-3-Clause: > > > > https://github.com/django/django/blob/master/LICENSE > > > > > I've yet to do html, txt and sh files, do you have any advices before I > > > start? > > > > Note that some of the templates used for authentication originally came > > from > > here: > > > > https://github.com/macdhuibh/django-registration-templates > > > > The LICENSE file indicates MIT for those though. > > > > The txt files are tricky because any stray newlines will affect > > formatting. I would probably avoid touching them. > > I did not yet add MIT to html files, I don't really know if that makes > sense or not? I didn't do that because it seemed a bit weird to me, but I > don't know what to think of that. Most of the time you'll find copyright on > the footer of the page, but I'm not sure about Licensing those. > > So here is a first iteration of the patch without htmls file licensed. I think it's fine to add to the HTML as long as you add it as part of the Django template comment at the top and not in the actual text that gets rendered. Looking over the license definitions they look fine, except the migrations - if these are considered derived from Django (which is fine) then they should all be BSD-3-Clause rather than some being MIT. It looks like some of the earlier ones don't have a "generated by django" comment, but they were all initially generated with ./manage.py makemigrations; some then had additional code added to them. Cheers Paul -- Paul Eggleton Intel System Software Products