| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Add SPDX license standardization for reference data generation - Add spdx_converter.py to convert license names to SPDX standard identifiers - Add generate_reference_data.py to generate reference_data.json from README.OpenSource files - Update data/spdx.json with latest SPDX license list (712 licenses) - Update test/reference_data.json with SPDX-standardized license identifiers - Add unit tests for SPDX converter (10 test methods, 28 subtests) - Add Python project configuration files (pyproject.toml, requirements.txt) Features: - Converts license variants like "MIT License" -> "MIT", "GPL-2.0" -> "GPL-2.0-only" - Handles WITH exception format (e.g., "Apache-2.0 WITH LLVM-exception") - Supports multiple license separators (;, /, ,, or, OR) - Validates all generated license identifiers against SPDX standard All license identifiers in reference_data.json are now valid SPDX standard. Signed-off-by: Jinguang Dong <dongjinguang@huawei.com> | 5 个月前 | |
refactor: improve code quality and integrate SPDX license conversion - Update README_OSS.md with comprehensive documentation for new features - Refactor generate_readme_opensource.py to integrate SPDX conversion - Refactor spdx_license_matcher.py to use shared SPDXLicenseConverter - Update test_validate_readme_opensource.py with better mock handling - Add command-line arguments support to generate_readme_opensource.py - Add SPDX license validation to generate_readme_opensource.py - Improve error handling and logging across all modules Changes: - README_OSS.md: Add documentation for SPDX features, reference data generation, and complete usage examples with FAQ section - generate_readme_opensource.py: Add argparse CLI, SPDX converter integration, license validation, and improved type hints - spdx_license_matcher.py: Refactor to use shared SPDXLicenseConverter, add --column option, improve error handling, add summary output - test_validate_readme_opensource.py: Fix test mock issues, add docstrings Signed-off-by: Jinguang Dong <dongjinguang@huawei.com> | 5 个月前 | |
refactor: improve code quality and integrate SPDX license conversion - Update README_OSS.md with comprehensive documentation for new features - Refactor generate_readme_opensource.py to integrate SPDX conversion - Refactor spdx_license_matcher.py to use shared SPDXLicenseConverter - Update test_validate_readme_opensource.py with better mock handling - Add command-line arguments support to generate_readme_opensource.py - Add SPDX license validation to generate_readme_opensource.py - Improve error handling and logging across all modules Changes: - README_OSS.md: Add documentation for SPDX features, reference data generation, and complete usage examples with FAQ section - generate_readme_opensource.py: Add argparse CLI, SPDX converter integration, license validation, and improved type hints - spdx_license_matcher.py: Refactor to use shared SPDXLicenseConverter, add --column option, improve error handling, add summary output - test_validate_readme_opensource.py: Fix test mock issues, add docstrings Signed-off-by: Jinguang Dong <dongjinguang@huawei.com> | 5 个月前 | |
refactor: improve code quality and integrate SPDX license conversion - Update README_OSS.md with comprehensive documentation for new features - Refactor generate_readme_opensource.py to integrate SPDX conversion - Refactor spdx_license_matcher.py to use shared SPDXLicenseConverter - Update test_validate_readme_opensource.py with better mock handling - Add command-line arguments support to generate_readme_opensource.py - Add SPDX license validation to generate_readme_opensource.py - Improve error handling and logging across all modules Changes: - README_OSS.md: Add documentation for SPDX features, reference data generation, and complete usage examples with FAQ section - generate_readme_opensource.py: Add argparse CLI, SPDX converter integration, license validation, and improved type hints - spdx_license_matcher.py: Refactor to use shared SPDXLicenseConverter, add --column option, improve error handling, add summary output - test_validate_readme_opensource.py: Fix test mock issues, add docstrings Signed-off-by: Jinguang Dong <dongjinguang@huawei.com> | 5 个月前 | |
Description:[feature] Provide SPDX metadata integration and automated license name matching for SBOM and README.OpenSource validation Bug: https://gitee.com/openharmony/developtools_integration_verification/issues/IB1BR3 Test: Give the detailed test verification procedure Signed-off-by: Jinguang Dong <dongjinguang@huawei.com> | 1 年前 | |
Add SPDX license standardization for reference data generation - Add spdx_converter.py to convert license names to SPDX standard identifiers - Add generate_reference_data.py to generate reference_data.json from README.OpenSource files - Update data/spdx.json with latest SPDX license list (712 licenses) - Update test/reference_data.json with SPDX-standardized license identifiers - Add unit tests for SPDX converter (10 test methods, 28 subtests) - Add Python project configuration files (pyproject.toml, requirements.txt) Features: - Converts license variants like "MIT License" -> "MIT", "GPL-2.0" -> "GPL-2.0-only" - Handles WITH exception format (e.g., "Apache-2.0 WITH LLVM-exception") - Supports multiple license separators (;, /, ,, or, OR) - Validates all generated license identifiers against SPDX standard All license identifiers in reference_data.json are now valid SPDX standard. Signed-off-by: Jinguang Dong <dongjinguang@huawei.com> | 5 个月前 | |
Add SPDX license standardization for reference data generation - Add spdx_converter.py to convert license names to SPDX standard identifiers - Add generate_reference_data.py to generate reference_data.json from README.OpenSource files - Update data/spdx.json with latest SPDX license list (712 licenses) - Update test/reference_data.json with SPDX-standardized license identifiers - Add unit tests for SPDX converter (10 test methods, 28 subtests) - Add Python project configuration files (pyproject.toml, requirements.txt) Features: - Converts license variants like "MIT License" -> "MIT", "GPL-2.0" -> "GPL-2.0-only" - Handles WITH exception format (e.g., "Apache-2.0 WITH LLVM-exception") - Supports multiple license separators (;, /, ,, or, OR) - Validates all generated license identifiers against SPDX standard All license identifiers in reference_data.json are now valid SPDX standard. Signed-off-by: Jinguang Dong <dongjinguang@huawei.com> | 5 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 5 个月前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 1 年前 | ||
| 5 个月前 | ||
| 5 个月前 |