Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Latest ScanCode Version with GitHub Action #191

Open
persi0815 opened this issue Oct 6, 2024 · 1 comment
Open

Test Latest ScanCode Version with GitHub Action #191

persi0815 opened this issue Oct 6, 2024 · 1 comment
Assignees
Labels
enhancement [PR/Issue] New feature or request

Comments

@persi0815
Copy link

Is your feature request related to a problem? Please describe.
It's a feature request.

Describe the solution you'd like
Implement a GitHub Action workflow that automatically updates ScanCode to the latest version once a month and checks for successful execution. If the workflow passes, it should create a PR with the updated version.

The success criteria will be determined by analyzing the test code and verifying that the number of detected licenses exceeds a specified threshold (n). Tox will be used for the testing environment and validation process.

Describe alternatives you've considered
using cron would be nice

@persi0815 persi0815 added the enhancement [PR/Issue] New feature or request label Oct 6, 2024
@soimkim
Copy link
Contributor

soimkim commented Oct 6, 2024

@persi0815 , https://github.com/fosslight/fosslight_util/pull/192/files를 통해 spdx-tools 버전이 업그레이드 되었습니다.
관련하여 https://github.com/fosslight/fosslight_source_scanner/pull/190/files에서 수정을 진행 중인 점 참고 부탁드립니다.

ScanCode를 자동으로 업데이트 가능한지 여부를 체크할 땐, 하기 사항을 체크해야합니다.

  1. Scanode가 FL Source 설치시, 설치되는 ScanCode 보다 더 최신 버전이 있는지?
  2. 있다면, FL Source에서 ScanCode의 버전을 업그레이드 해도 관련 Package 중 충돌이 발생하지 않는지?
  3. FL Source 분석 호출시, -f spdx-yaml로 output으로 spdx 포맷 추출시 정상적으로 파일이 생성되는지?

2번 3번은 tox로 테스트하면 되기 때문에 따로 체크할 필요가 없습니다.
즉, 1번만 체크된다면 PR을 자동 생성(requirements.txt의 ScanCode 버전을 업그레이드하는 PR)하면 2, 3번도 자동 테스트됩니다. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [PR/Issue] New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants