How do we handle API versioning?
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reading the discussion in this issue and the related issue #309, then trace where CollectOSS makes GitHub and GitLab API calls. The issue raises open design questions about version detection, comparison, and storage but names no files or tests. Done means agreeing on a versioning approach for supported platforms and defining how it handles instances that update.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In looking at #309 recently I was playing with gitlab API calls such as https://gitlab.com/api/v4/groups/redhat%2fOSAIPO
And that /v4 in the url made me realize that we will likely need to handle several different versions of the gitlab API because we have less control over what version any particular instance may be running on a forge someone wants to use.
i assume all versioning schemes have some notion of "earlier than" and "later than" when comparing any two versions, so at least we should be able to have logic in CollectOSS that can work differently based on the version
Github docs: https://docs.github.com/en/rest/about-the-rest-api/api-versions
gitlab: https://docs.gitlab.com/api/rest/#versioning-and-deprecations
Is this also going to put us on the endless treadmill of cat and mouse games that is keeping up with the changes that github and gitlab make to their APIs?
Things to account for:
- different platforms use different version signals (
v4vs a date) so we need to handle this in a way that accepts all known/reasonable methods of doing versioning - do we need to store the version an api is using? how do we detect/avoid the need to store this and/or update this dynamically as the instance updates?
- Lingua principale
- Python
- Stelle
- 18
- Fork
- 33
- Merge medio
- 2g 16h
- PR unite (30g)
- 12
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un 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 chaoss/CollectOSS
-
CLI: connectivity check prints diagnostics to stdout, breaking piped outputForse di nuovo libera @Nimisha987 l’ha presa 10 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
chaoss/CollectOSS#548 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
chaoss/CollectOSS#521 ·
I maintainer di solito rispondono entro 1 giorno
-
devops
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
chaoss/CollectOSS#406 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Bump codeql SARIF upload Ci dependency to v4Forse già presa @Dipro-cyber l’ha presa 181 giorni fa. Apertadependencies devops good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
chaoss/CollectOSS#349 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
chaoss/CollectOSS#307 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di chaoss/CollectOSS
Issue simili
-
[Resource]: SpaicelyApertaresource-submission validation-passed
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
hesreallyhim/awesome-claude-code#3875 · 1 commento ·
-
[Bug]: Ajax Pro login issueApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
bvis/aegis-hass#725 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xForse già presa @NimaVaziri l’ha presa oggi. ApertaPytorch
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NVIDIA/TensorRT-LLM#23406 ·
I maintainer di solito rispondono entro 1 giorno