The update check is failing pipeline runs unexpectedly

Chiusa
#133 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
cli

Direzione di ricerca

Start from the update check that emits the reported pipeline errors and trace how hashicorp/go-version handles package versions such as 3.12.0_alpha6 and 9.3_p1. Then inspect how newer available versions affect lint checks; done means malformed versions no longer fail unexpectedly and newer updates do not fail lint checks unless intentionally treated as errors.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug needs-triage

@imjasonh noticed output like this:

2023/03/31 17:10:58 error during command execution: 9 errors occurred:
	* failed to create a version from package python-3.12: 3.12.0_alpha6: Malformed version: 3.12.0_alpha6
	* failed to create a version from package openssh: 9.3_p1.  Error: Malformed version: 9.3_p1
	* package llvm-lld: update found newer version 16.0.0 compared with package.version in melange config
	* package py3.11-installer: update found newer version 0.7.0 compared with package.version in melange config
	* package libsm: update found newer version 1.2.4 compared with package.version in melange config
	* package clang-15: update found newer version 15.0.7 compared with package.version in melange config
	* package libpaper: update found newer version 2.0.10 compared with package.version in melange config
	* package py3-more-itertools: update found newer version 9.1.1 compared with package.version in melange config
	* package py3.10-installer: update found newer version 0.7.0 compared with package.version in melange config

There might be 2 underlying problems here:

  1. The failed to create a version from package — this appears to be an error from hashicorp/go-version bubbling up when it shouldn't be.
  2. We shouldn't have "newer updates available" be a concern during lint checks (except possibly as a warning)
Lingua principale
Go
Stelle
76
Fork
84
Merge medio
2g 14h
PR unite (30g)
19

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wolfi-dev/wolfictl

Tutte le issue di wolfi-dev/wolfictl

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.