aboutsummaryrefslogtreecommitdiffstats
path: root/classes
AgeCommit message (Collapse)Author
2020-09-09Added some error capture from fossology-python.dunfellLei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-08-07fossology-python: Fixed some error in multitask running.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-05-14Enhance phased rest upload solutionJan-Simon Moeller
With these changes the user can use the CI environment to trigger the upload, scan and report step-by-step sequentially through the scheduler (e.g. Jenkins). bitbake --runall=spdxupload <image> [bitbake --runall=spdxwaitextracted <image>] bitbake --runall=spdxanalyse <image> bitbake --runall=spdxreport <image> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-05-11If the package has been uploaded, try to get spdx first.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-04-30Fix a miss.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-04-24Merge branch 'master' of ssh://push.yoctoproject.org/meta-spdxscannerLei Maohui
2020-04-24Added fossology rest API of python.Lei Maohui
Please reference to https://github.com/fossology/fossology-python. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-04-16Enhance phased rest upload solutionJan-Simon Moeller
With these changes the user can use the CI environment to trigger the upload, scan and report step-by-step sequentially through the scheduler (e.g. Jenkins). bitbake --runall=spdxupload <image> [bitbake --runall=spdxwaitextracted <image>] bitbake --runall=spdxanalyse <image> bitbake --runall=spdxreport <image> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-04-03Added new task to nopackages.bbclass for fossology-rest-phased.bbclass.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-04-03Fix build bug for config of NO_PROXY.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-04-03Added function for fossology-rest-phased.bbclass.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-04-03Added fossology-rest-phased.bbclass to allow get spdx files byLei Maohui
two phased: upload and analys. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-04-02Remove True option to getVar calls.Lei Maohui
As bitbake now defaultly return expanded values for getVar, we should remove the "True" option to many of the calls to this function. RRefer: https://patchwork.openembedded.org/patch/133919/ Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com> Please enter the commit message for your changes. Lines starting
2020-04-02Add localhost to noproxy list.Li, Xiaoming
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2020-04-02Fix comment info.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-03-18Modify Document and Package InfoLei Maohui
1. Add DocumentName and DocumentNamespace 2. Reorder PackageComment Signed-off-by: SoimKim <soim.kim@lge.com> Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-03-18Added some important file's license to PackageComment.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-02-27Deleted redundant code.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-02-06Deleted the redundant space.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-01-15Support upload packages to different folders.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-01-06Fix some bugs and impove the success rate when get spdx report.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-12-10Update Creator from scancode to scancode-tk.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-12-10Aim to support old dosocsv2, many old recipes have to been added.Lei Maohui
These old recipes are conflicting with newest ones. So move dosocsv2 into a separate branch. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-12-03Fix the following issues.Lei Maohui
- rename scancode.bbclass to scancode-tk.bbclass to aviod the conflict with meta-oe/class/scancode.bbclass. - Added kernel support. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-11-18Added scancode-toolkit support into meta-spdxscanner.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-11-13Modified "modification record" to "ModificationRecord".Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-11-08Fix warn message.Yuusuke Ashiduka
Signed-off-by: Yuusuke Ashiduka <ashiduka@jp.fujitsu.com>
2019-11-07Move modification record into PackageComment.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-11-01Capture logging info of fossdriver.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-10-14Fix an error.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-10-10Fix a bug.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-10-08Delete tar ball after scanning.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-10-06Added default FOSSOLOGY_SERVER.Lei Maohui
By default, meta-spdxscanner uses the following url as fossology server. FOSSOLOGY_SERVER ?= "http://127.0.0.1:8081/repo" Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-09-11Improve for huge source code.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-09-09Reduce failures during multitask of do_spdx.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-09-03Update README and notes in fossdriver-host.bbclass.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-09-03Added prototype of fossology REST API to get spdx files.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-08-29Deleted redundant directory.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-08-23Added missing inherit line.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-08-22Did the following improvements:Lei Maohui
- The common functions been moved to spdx-common.bbclass - Defined SPDX_DEPLOY_DIR to tmp/deploy/spdx/, so, user doesn't have to define this parameter in conf/local.conf. - There is no need to retain classes/dosocs-host.bbclass. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-08-12The modifacation is following:Lei Maohui
- Added "modification record" infotmation into spdx file. If the OSS download from upstream has been modified by YP, "modification record" will be "true", Otherwise it is "false" - Added Copyright statement scanner - Delete redundant spaces. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-07-27There is no need to create spdx files for the following OSS:Lei Maohui
* libtool-cross # In fact it is for native * libgcc-initial # Not runtime OSS * shadow-sysroot # Not runtime OSS Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-07-03To reduce failures in multitask of do_spdx.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-05-30Added do_spdx into nopackages.bbclass. Because there is no necessary to ↵Lei Maohui
create spdx file for *-native. This patch will be contribution to oe-core later. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-05-30Try more times to reduce failure when milti do_spdx is running.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-05-27fossdriver-host.bbclass: Added necessary dependence.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-05-24Fix bug and improve .Lei Maohui
- If a tarball has been scanned, there is no necessary to scan again. - Added necessary dependence. - Integrate do_spdx_get_src into do_spdx. - Resolved failure of fossdriver to reduce failure when mutil task of do_spdx. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2019-05-13Resolved Issue #6 and #7.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2018-11-07lid-scan.bbclass: not complete, move to develop branch.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2018-10-29Merge branch 'sumo'Lei Maohui