API - Some packages are not returned if `semverlevel=2.0.0`, but are returned if `semverlevel=1.0.0`
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
- powershell
- Ambito
- api
Direzione di ricerca
Start at the PowerShell Gallery API handling for FindPackagesById() and trace how the semVerLevel parameter interacts with the IsLatestVersion and IsPrerelease filters. Reproduce the reported queries for PoshRSJob and PolicyFileEditor, comparing semVerLevel=1.0.0 and 2.0.0. Done means the filtered query returns the expected package results at both levels.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
Found two modules that the PowerShell Gallery API won't return if semverlevel=2.0.0, but does return if semverlevel=1.0.0.
- PoshRSJob
- PolicyFileEditor
Query that works:
Query that doesn't:
Observation: If you don't filter IsLatestVersion and not IsPrerelease, semverlevel=2.0.0 seems to work just fine:
Also if you only filter IsLatestVersion (but this returns preview versions if that's the newest one available. Which might be another issue, shouldn't only IsAbsoluteLatestVersion trigger that?):
Expected behavior
SemVerLevel shouldn't affect whether the package was found.
Actual behavior
SemVerLevel affects whether the package was found.
Error details
No response
Environment data
Not relevant, API.
Version
Not relevant, API.
Visuals
No response
- Lingua principale
- PowerShell
- Stelle
- 289
- Fork
- 83
- Merge medio
- 1m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PowerShell/PowerShellGallery
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
PowerShell/PowerShellGallery#357 · 3 commenti · 4 reazioni ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
PowerShell/PowerShellGallery#355 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 31/100
PowerShell/PowerShellGallery#354 · 1 commento · 3 reazioni ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
PowerShell/PowerShellGallery#353 · 5 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
PowerShell/PowerShellGallery#350 · 7 commenti · 8 reazioni ·
Tutte le issue di PowerShell/PowerShellGallery
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
OrchardCMS/OrchardCore#20192 ·
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage 35-feedback bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
getgrav/grav-plugin-api#74 ·
-
Substrait consumer doesn't recognise `shift_left` / `shift_right` from functions_arithmetic.yamlApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/datafusion#27059 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
PostHog/posthog#128636 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno