To fork or not to fork
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
Inizia da src/Lexer.php intorno alla riga 432 e confronta la gestione di [ ?abc == def ] con jmespath-community/jmespath.spec, in particolare JEP-012a. Prima di tutto, l’issue richiede una decisione da parte di un maintainer sull’adozione di specifiche community più recenti oppure sul mantenimento della coerenza con le altre implementazioni; solo dopo sarà possibile definire i criteri di completamento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hey @GrahamCampbell I'm rudely pinging you, I hope you will forgive me.
We've recently switched to the clientside community implementation since the one here is no longer supported.
However we also use this implementation in our backend.
We've found some inconsistencies between the community implementation and the PHP and JS implementations here. In this case the community implementation is correct according to the spec.
My question to you is this: Would you accept PRs that fix spec compliance while breaking consistency with other libraries in this org?
I'd prefer not to fork this to the community org if we can instead maintain it here; on the other hand while you're keeping this alive, it's not being actively developed (no blame, just observation).
What would your preference be? Since we use JMESPath I'm happy to contribute in the form of a fork with the community or by making PRs here; but I'd love your opinion before I make a choice.
The specific issue we're running into is the case of an unquoted string inside a JSON literal:
[?abc == `def`]
Which is supported in this library: https://github.com/jmespath/jmespath.php/blob/master/src/Lexer.php#L432
The fix is easy of course, but we'd break consistency with the JS implementation.
The specification where this is defined lives here: https://github.com/jmespath-community/jmespath.spec/blob/main/jep-012-raw-string-literals.md
Which is obsoleted by 12a: https://github.com/jmespath-community/jmespath.spec/blob/main/jep-012a-raw-string-literals.md
TLDR; would you accept PRs that update this library to newer community specs or do you prefer to keep this implementation consistent with other implementations in this ORG?
- Lingua principale
- PHP
- Stelle
- 2k
- Fork
- 57
- Merge medio
- 2h 22m
- PR unite (30g)
- 12
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
- 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.
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
tomjn/coilbox-hub#768 ·
I maintainer di solito rispondono entro 1 giorno
-
OCM: shares using the `embedded` protocol are rejected with "Missing sharedSecret in protocol"Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ExpressionEngine/ExpressionEngine#5493 ·
I maintainer di solito rispondono entro 5 giorni
-
"Attempt to read property 'username' on null" error after a user is deletedForse già presa @dicksonlaw583 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
omeka/plugin-SimplePages#49 ·
-
Copy button does not workApertanot confirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno