Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

pwclient/xml-rpc: Returned patchid for hash is not the latest

Aperta
#41 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api

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

enhancement

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

  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 getpatchwork/patchwork

Tutte le issue di getpatchwork/patchwork

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.