aboutcode-org / aboutcode-org/scancode-licensedb

Daily update should NOT fail if there are no new license

Aberta
#45 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Makefile
Estrelas
67
Forks
15
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.
```

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.