aboutsummaryrefslogtreecommitdiffstats
path: root/classes
AgeCommit message (Collapse)Author
2021-09-13fossology-rest.bbclass: Only for target has necessary task of spdx.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
2021-09-13spdx-common.bbclass: Deleted redundant dependencies.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
2021-09-08Modified unnecessary warning.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
2021-09-08fossology-python: Fix an error.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
2021-08-27Fix NameError:Lei Maohui
"Exception: NameError: name 'null' is not defined." Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
2021-08-18Fix issue of Document Information.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
2021-08-10scancode-tk.bbclass: Can't work,so deleted temporarily.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2021-07-27fossology-rest.bbclass: Skip check if spdx already existsMarco Cavallini
With the previous code was impossible to run the do_get_report task whenever a correspondent .spdx file was already present in tmp/deploy/spdx. Removed the check if spdx already exists in python do_get_report() therefore is possible to run : bitbake -c get_report Signed-off-by: Marco Cavallini <koansoftware@gmail.com>
2021-07-27Added CREATOR_TOOL.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2021-07-27Fix patch error for recipes that inherit dos2unix.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2021-06-25Separate do_upload to two tasks (creat tarball and upload), aim to be ↵Lei Maohui
compatible with more needs. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2021-05-27Deleted repeated function.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2021-05-24Added delay after create_folder.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2021-05-24Expand PackageLicenseInfoInLicenseFile field:Lei Maohui
Added files which name includes "LICENSE" and "COPYING". Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2021-03-24Needn't to create spdx files for recipes that don't supply packages.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2021-02-24Make it can work with fossology-python1.3.0.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-12-03WAIT_TIME: Reduce to 20s.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-12-03scancode-tk: Modified for the following:Lei Maohui
- Deledted the dependence of nopackages.bbclass. - Depend on python2 of the host environment. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-12-03fossdriver-host.bbclass: Deleted for no maintenance for long time.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-12-03fossology-rest: To remove the denpendence of nopackages.bbclass.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-11-30There is no need to modify nopackages.bbclass.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
2020-11-30Modified the following:Lei Maohui
- No neccessary to add "do_spdx" into nopackages.bbclass. - Broke do_spdx task into several tasks. Otherwise, multi-task do_spdx the time will be very long and fossology is often stuck. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
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>