Simplify re-running on repos that failed
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia tracciando il modo in cui la CLI gestisce attualmente --repos e segnala i repository il cui aggiornamento non va a buon fine, quindi esamina il modo in cui vengono analizzate le opzioni della riga di comando. Il lavoro è completato quando gli utenti possono scrivere i repository il cui aggiornamento è fallito in un formato accettato da --repos, esaminare o modificare quel file e rieseguire con --repos e --failed-repo-output-file come descritto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the solution you'd like
Optionally write all the failed to update repos to a .txt file in the format that git-xargs --repos accepts.
Describe alternatives you've considered
In the process of updating about 2500 repos I ran into multiple errors and had to re-run git-xargs multiple times, and the process looked like this:
- run git-xargs redirecting stdout / stderr to a file
- copy the tables following text like "Repos whose initial Pull Request failed to be created due to GitHub rate limits" or "Repos that were unable to be cloned to the local filesystem" etc. to a txt file
- run a vim macro to remove the table formatting (e.g.
------) so that it is in a format thatgit-xargs --reposcan accept - re-run git-xargs with
--reposarg pointing to that manually created file, and repeat steps 1-4 until all repos successfully processed or intentionally skipped
Ideally there wouldn't be any errors, but with so many repos that might be impractical, and the errors could also be user-error based on the command passed to git-xargs. A more efficient user experience might be the following:
a) run git-xargs redirecting stdout / stderr to a file and the option --failed-repo-output-file /tmp/failed_to_update_repos.txt
b) review stdout / stderr and remove any repos from /tmp/failed_to_update_repos.txt that you intentionally don't want to retry
c) run git-xargs with --repos /tmp/failed_to_update_repos.txt and --failed-repo-output-file /tmp/failed_to_update_repos2.txt etc. (and it might be good to support --repos and --failed-repo-output-file pointing to the same file)
- Lingua principale
- Go
- Stelle
- 1.1k
- Fork
- 75
- Merge medio
- 22h 5m
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna 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 gruntwork-io/git-xargs
-
Able to change commit message depending on repo?Forse di nuovo libera @ZachGoldberg l’ha presa 429 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
gruntwork-io/git-xargs#175 · 1 assegnatario ·
-
provide an environment variable with the temp directory nameForse già presa @jeff350 l’ha presa 1025 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
gruntwork-io/git-xargs#146 · 3 commenti · 1 reazione ·
-
GITHUB_HOSTNAME is ignoredApertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
gruntwork-io/git-xargs#145 · 1 commento ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
gruntwork-io/git-xargs#144 · 4 reazioni ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
gruntwork-io/git-xargs#143 ·
Tutte le issue di gruntwork-io/git-xargs
Issue simili
-
BasicEventElement `messageBroker` is never returned on read (jsonb decoded into `sql.NullString`)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
eclipse-basyx/basyx-go-components#963 ·
I maintainer di solito rispondono entro 1 giorno
-
Area/Console Aspect/UI Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
wso2/agent-manager#2743 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno