aboutcode-org / aboutcode-org/scancode-licensedb

Daily update should NOT fail if there are no new license

Đang mở
#45 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Makefile
Star
67
Fork
15
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

It should complete normally and print a success message instead and these error should NOT be an error:

https://github.com/nexB/scancode-licensedb/actions/runs/6669530146/job/18127506330
```

2023-10-27T16:04:25.4888565Z Rebuilding the license index...
2023-10-27T16:06:11.1360592Z Done.
2023-10-27T16:06:13.2409377Z Traceback (most recent call last):
2023-10-27T16:06:13.2510618Z File "./etc/scripts/check_commit.py", line 67, in
2023-10-27T16:06:13.2511546Z cli()
2023-10-27T16:06:13.2513520Z File "/home/runner/work/scancode-licensedb/scancode-licensedb/venv/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
2023-10-27T16:06:13.2514855Z return self.main(*args, **kwargs)
2023-10-27T16:06:13.2516288Z File "/home/runner/work/scancode-licensedb/scancode-licensedb/venv/lib/python3.8/site-packages/click/core.py", line 1078, in main
2023-10-27T16:06:13.2517493Z rv = self.invoke(ctx)
2023-10-27T16:06:13.2518832Z File "/home/runner/work/scancode-licensedb/scancode-licensedb/venv/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
2023-10-27T16:06:13.2520269Z return ctx.invoke(self.callback, **ctx.params)
2023-10-27T16:06:13.2521781Z File "/home/runner/work/scancode-licensedb/scancode-licensedb/venv/lib/python3.8/site-packages/click/core.py", line 783, in invoke
2023-10-27T16:06:13.2522961Z return __callback(*args, **kwargs)
2023-10-27T16:06:13.2523603Z File "./etc/scripts/check_commit.py", line 59, in cli
2023-10-27T16:06:13.2524541Z raise NoNewCommitException(msg)
2023-10-27T16:06:13.2526326Z __main__.NoNewCommitException: There are no new commits in scancode-toolkit develop after b1a3620e89.Aborting LicenseDB update.
2023-10-27T16:06:13.2547204Z ##[error]Process completed with exit code 1.
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.