Introduce a dedicated `search-replace url` command
Nessuno ha ancora preso questa issue.
- #209 di @MarkBerube — chiusa senza merge
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reading the existing wp search-replace behavior and document the URL storage permutations mentioned, including serialized values and http versus https. Define the proposed search-replace url command around those cases, then develop it test-first with coverage showing that each documented URL form is handled.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The primary usage of wp search-replace is to update URLs in the database. However, URLs can be stored in various forms in the database (e.g. serialized into JSON), which means they're missed by wp search-replace.
We don't really want to change the behavior of wp search-replace, lest the sky fall down on our head. However, we could introduce a wp search-replace url command that handled the edge cases of URL formatting (serialized, http vs. https, etc.).
If we want to introduce this command, we'd first want to document these permutations of how URLs are stored. Afterwards, we could develop the command in a test-driven manner.
- Lingua principale
- Gherkin
- Stelle
- 61
- Fork
- 47
- Merge medio
- 8m
- PR unite (30g)
- 1
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 wp-cli/search-replace-command
-
bug command:search-replace scope:distribution state:unconfirmed
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
wp-cli/search-replace-command#231 · 5 commenti ·
-
command:search-replace
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
wp-cli/search-replace-command#194 · 1 commento ·
-
command:search-replace
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
wp-cli/search-replace-command#142 · 5 commenti · 2 reazioni ·
-
command:search-replace
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
wp-cli/search-replace-command#137 · 6 commenti · 4 reazioni ·
-
Progress bar Apertacommand:search-replace
wp-cli/search-replace-command#134 · 1 commento · 6 reazioni · 1 assegnatario ·
Tutte le issue di wp-cli/search-replace-command
Issue simili
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
QuantStack/git2cpp#187 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
microsoft/navcontainerhelper#4217 ·
-
area/config comp/agent P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
NousResearch/hermes-agent#118807 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
BasedHardware/omi#15662 · 1 commento ·