aboutcode-org / aboutcode-org/scancode-licensedb

Daily update should NOT fail if there are no new license

Abierto
#45 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Makefile
Estrellas
67
Forks
15
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.