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

Daily update should NOT fail if there are no new license #45

Open
pombredanne opened this issue Oct 28, 2023 · 0 comments
Open

Daily update should NOT fail if there are no new license #45

pombredanne opened this issue Oct 28, 2023 · 0 comments

Comments

@pombredanne
Copy link
Member

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 <module>
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant