From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Lei Maohui <leimaohui@cn.fujitsu.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2 2/2] licenses.conf:Modified parameters for new spdx.bbclass
Date: Fri, 29 May 2015 12:11:34 +0100 [thread overview]
Message-ID: <1432897894.404.134.camel@linuxfoundation.org> (raw)
In-Reply-To: <1432892712-25356-3-git-send-email-leimaohui@cn.fujitsu.com>
On Fri, 2015-05-29 at 17:45 +0800, Lei Maohui wrote:
There is no longer description of the changes here which makes it very
hard to decide if you intended to change some of the things below. They
don't all look to be related to the new class.
> Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
> ---
> meta/conf/licenses.conf | 65 +++++++++++--------------------------------------
> 1 file changed, 14 insertions(+), 51 deletions(-)
>
> diff --git a/meta/conf/licenses.conf b/meta/conf/licenses.conf
> index 629916b..b732451 100644
> --- a/meta/conf/licenses.conf
> +++ b/meta/conf/licenses.conf
> @@ -115,75 +115,38 @@ SPDXLICENSEMAP[SGIv1] = "SGI-1"
> # LICENSE_PATH += "${COREBASE}/custom-licenses"
>
> # Set if you want the license.manifest copied to the image
> -#COPY_LIC_MANIFEST = "1"
> +COPY_LIC_MANIFEST = "1"
Did you mean to change these defaults?
> # If you want the pkg licenses copied over as well you must set
> # both COPY_LIC_MANIFEST and COPY_LIC_DIRS
> -#COPY_LIC_DIRS = "1"
> +COPY_LIC_DIRS = "1"
>
> ## SPDX temporary directory
> -SPDX_TEMP_DIR = "${WORKDIR}/spdx_temp"
> -SPDX_MANIFEST_DIR = "/home/yocto/fossology_scans"
> +SPDX_TEMP_DIR ?= "${WORKDIR}/spdx_temp"
> +SPDX_MANIFEST_DIR ?= "/home/yocto/fossology_scans"
>
> ## SPDX Format info
> -SPDX_VERSION = "SPDX-1.1"
> +SPDX_VERSION = "SPDX-1.2"
> DATA_LICENSE = "CC0-1.0"
> +## If your fossylogy server is from 2.4.0 to 2.6.1,the LICENSELISTVERSION is 1.19
> +## Reference to http://www.fossology.org/projects/fossology/wiki/Release_Notes
> +LICENSELISTVERSION = "1.19"
> +CREATOR_TOOL = "yocto+fossology-spdx"
>
> ## Fossology scan information
> # You can set option to control if the copyright information will be skipped
> # during the identification process.
> #
> # It is defined as [FOSS_COPYRIGHT] in ./meta/conf/licenses.conf.
You've left this comment in but removed all the example variables?
> -# FOSS_COPYRIGHT = "true"
> -# NO copyright will be processed. That means only license information will be
> -# identified and output to SPDX file
> -# FOSS_COPYRIGHT = "false"
> -# Copyright will be identified and output to SPDX file along with license
> -# information. The process will take more time than not processing copyright
> -# information.
> -#
> -
> -FOSS_NO_COPYRIGHT = "true"
>
> -# A option defined as[FOSS_RECURSIVE_UNPACK] in ./meta/conf/licenses.conf. is
> -# used to control if FOSSology server need recursively unpack tar.gz file which
> -# is sent from do_spdx task.
> -#
> -# FOSS_RECURSIVE_UNPACK = "false":
> -# FOSSology server does NOT recursively unpack. In the current release, this
> -# is the default choice because recursively unpack will not necessarily break
> -# down original compressed files.
> -# FOSS_RECURSIVE_UNPACK = "true":
> -# FOSSology server recursively unpack components.
> -#
> -
> -FOSS_RECURSIVE_UNPACK = "false"
This is another removed option. Why?
> -# An option defined as [FOSS_FULL_SPDX] in ./meta/conf/licenses.conf is used to
> -# control what kind of SPDX output to get from the FOSSology server.
> -#
> -# FOSS_FULL_SPDX = "true":
> -# Tell FOSSology server to return full SPDX output, like if the program was
> -# run from the command line. This is needed in order to get license refs for
> -# the full package rather than individual files only.
> -#
> -# FOSS_FULL_SPDX = "false":
> -# Tell FOSSology to only process license information for files. All package
> -# license tags in the report will be "NOASSERTION"
> -#
> -
> -FOSS_FULL_SPDX = "true"
and more removed functionality?
> -# FOSSologySPDX instance server. http://localhost/repo is the default
> -# installation location for FOSSology.
> -#
> +# FOSSologySPDX instance server.
> # For more information on FOSSologySPDX commandline:
> # https://github.com/spdx-tools/fossology-spdx/wiki/Fossology-SPDX-Web-API
> -#
> +#
>
> -FOSS_BASE_URL = "http://localhost/repo/?mod=spdx_license_once"
> -FOSS_SERVER = "${FOSS_BASE_URL}&fullSPDXFlag=${FOSS_FULL_SPDX}&noCopyright=${FOSS_NO_COPYRIGHT}&recursiveUnpack=${FOSS_RECURSIVE_UNPACK}"
> +# The following commnd is suit for the FOSSologySPDX instance server in localhost.
>
> -FOSS_WGET_FLAGS = "-qO - --no-check-certificate --timeout=0"
> +FOSS_SERVER ?= "http://127.0.0.1/repo/ --noproxy 127.0.0.1"
> +FOSS_CURL_FLAGS ?= "-F "mod=spdx_license_once" -F "noCopyright=false" -F "jsonOutput=false" -F "fullSPDXFlag=true""
This appears to hardcode some things which used to be configurable?
Cheers,
Richard
next prev parent reply other threads:[~2015-05-29 11:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-29 9:45 [PATCH v2 0/2] These patches aim to make the spdx file be compliant with the SPDX 1.2 Specification Lei Maohui
2015-05-29 9:45 ` [PATCH v2 1/2] spdx.bbclass: Create the spdx file which is compliant with " Lei Maohui
2015-05-29 9:45 ` [PATCH v2 2/2] licenses.conf:Modified parameters for new spdx.bbclass Lei Maohui
2015-05-29 11:11 ` Richard Purdie [this message]
2015-06-02 6:19 ` Lei, Maohui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1432897894.404.134.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=leimaohui@cn.fujitsu.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox