Releases: sw360/capycli
Releases · sw360/capycli
v2.2.0
2.2.0 (2024-02-20)
getdependencies javascriptcan now handle package-lock.json files of version 3.bom findsourcescan do source URL discovery using sw360 lookup, perform extensive
GitLab deep search, and adapt search strategy based on diverse programming languages.- Have type support.
Prerelease v2.2.0.dev1
2.2.0 (2024-01-28)
getdependencies javascriptcan now handle package-lock.json files of version 3.bom findsourcescan do source URL discovery using sw360 lookup, perform extensive
GitLab deep search, and adapt search strategy based on diverse programming languages.- Have type support.
v2.0.0
2.0.0 (2023-06-02)
This is the list of changes from version 1.9.1 to 2.0.0:
-
breaking changes
- new command
bom convertto import and export SBOM in mutiple formats.
This new command replacesbom fromCSV,bom FromFlatFist,bom FromSbom,
bom ToHtmlandbom ToSbom. bom sortis discontinued, CycloneDX SBOMs are always sorted by component name.- The option
-sourceofGetDependencies pythonis discontinued, please use
bom downloadsourcesinstead. project showwrites the output file only in plain JSON and not CycloneDX.project CreateReadmerequires new entries in readme_oss_config.json to be independent
of the name SiemensCompanyNameCompanyAddressN, N = 1..4
bom mapnow uses alphanumeric identifier for mapping instead of integer values:- INVALID:
0-invalidinstead of 0 - FULL_MATCH_BY_ID:
1-full-match-by-idinstead of 1 - FULL_MATCH_BY_HASH:
2-full-match-by-hashinstead of 2 - FULL_MATCH_BY_NAME_AND_VERSION:
3-full-match-by-name-and-versioninstead of 3 - MATCH_BY_FILENAME:
4-good-match-by-filenameinstead of 4 - MATCH_BY_NAME:
5-candidate-match-by-nameinstead of 5 - SIMILAR_COMPONENT_FOUND:
6-candidate-match-similar-componentinstead of 6 - NO_MATCH:
9-no-matchinstead of 100
- INVALID:
bom mapnow uses alphanumeric identifier for map modes (-m) instead of integer values:allinstead of 0foundinstead of 1notfoundinstead of 2
- dropped support for option
-stage. The SW360 server instance can get specified via the-urlparameter. - The hard coded address https://sw360.siemens.com has been removed.
CaPyCLI reads the SW360 server address either from the environment variableSW360ServerUrlor
via the-urlparameter. - CaPyCLI supports an optional config file
.capycli.cfg. Settings defined in the config file
supersede settings in environment variables. Command line parameters supersede config file settings. bom mapwill report matches by name, but different version only if-allhas been specified.
The original idea of CaPyCLI was to report as many potential matches as possible and to let the user
decide which match to take by editing the SBOM. But it seems that many users did not read the documentation
and the expectations were different. Therefore the default behavior has been changed.
The original behavior of versions prior to 2.x can be enabled via the-allswitch.
- new command
-
Enhancements
- Have an updated granularity list.
- A list of frequently asked questions has been added.
getdependencies pythonnow also accepts a Poetry lock file (must bepoetry.lock) as input.
Development dependencies are automatically excluded.- Code of conduct added.
- Warnings about multiple purls entries when running
bom mapare now only shown if-vhas been specified. - The cache functionality of
bom mapalso supports the staging system. project GetLicenseInfocan take over data from existing Readme_OSS config files.
Prerelease 2.0.0.dev8
2.0.0.dev (2023-05-19)
- breaking changes
- new command
bom convertto import and export SBOM in mutiple formats.
This new command replacesbom fromCSV,bom FromFlatFist,bom FromSbom,
bom ToHtmlandbom ToSbom. bom sortis discontinued, CycloneDX SBOMs are always sorted by component name.- The option
-sourceofGetDependencies pythonis discontinued, please use
bom downloadsourcesinstead. project showwrites the output file only in plain JSON and not CycloneDX.project CreateReadmerequires new entries in readme_oss_config.json to be independent
of the name SiemensCompanyNameCompanyAddressN, N = 1..4
bom mapnow uses alphanumeric identifier for mapping instead of integer values:- INVALID:
0-invalidinstead of 0 - FULL_MATCH_BY_ID:
1-full-match-by-idinstead of 1 - FULL_MATCH_BY_HASH:
2-full-match-by-hashinstead of 2 - FULL_MATCH_BY_NAME_AND_VERSION:
3-full-match-by-name-and-versioninstead of 3 - MATCH_BY_FILENAME:
4-good-match-by-filenameinstead of 4 - MATCH_BY_NAME:
5-candidate-match-by-nameinstead of 5 - SIMILAR_COMPONENT_FOUND:
6-candidate-match-similar-componentinstead of 6 - NO_MATCH:
9-no-matchinstead of 100
- INVALID:
- dropped support for option
-stage. The SW360 server instance can get specified via the-urlparameter. - The hard coded address https://sw360.siemens.com has been removed.
CaPyCLI reads the SW360 server address either from the environment variableSW360ServerUrlor
via the-urlparameter. - CaPyCLI supports an optional config file
.capycli.cfg. Settings defined in the config file
supersede settings in environment variables. Command line parameters supersede config file settings.
- new command
- The cache functionality of
bom mapalso supports the staging system. project GetLicenseInfocan take over data from existing Readme_OSS config files.