pwclient/xml-rpc: Returned patchid for hash is not the latest
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia dalla query delle patch di pwclient/xml-rpc e analizza come l’astrazione SQL Python seleziona e ordina le patch. Conferma che la patch restituita sia la più recente in base alla data, quindi verifica che l’hook di accettazione aggiorni la patch reinviata invece di un patchset precedente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
It looks like the hook to mark patches as accepted is closing the first instance of a patch. But quite often this is wrong because the patch is in a patchset was resubmitted. So the first patch (which was marked as "changes requested", "superseeded" or even "rejected") is accidentally marked as accepted and the actual patch (which is marked as "under review" or "new") still has the old state.
I would therefore propose as initial way to fix it to change the order of the patches in the query for patches and return the one with the "highest date". But I have no idea how this python sql abstraction works and how to add this change to get ordering to "date desc".
- Lingua principale
- Python
- Stelle
- 317
- Fork
- 91
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri 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 getpatchwork/patchwork
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
getpatchwork/patchwork#668 ·
-
bug web-ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
getpatchwork/patchwork#546 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
getpatchwork/patchwork#664 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
getpatchwork/patchwork#663 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
getpatchwork/patchwork#645 ·
Tutte le issue di getpatchwork/patchwork
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
learningequality/ricecooker#747 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
run-llama/llama_index#23199 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
KhronosGroup/glTF-Blender-IO#2769 ·