[Feature Request][Help Offer] Get All References
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
Direzione di ricerca
Inizia esaminando la PR #397 e i percorsi Checker, Violations e ParsePackwerk menzionati nell’issue. Verifica se l’approccio proposto restituisce tutti i riferimenti, inclusi quelli nei TODOs, e se supporta QueryPackwerk; il lavoro è completo quando esiste un’implementazione concordata o un follow-up integrabile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hey all,
Gusto just recently open sources QueryPackwerk, which allows you to query packwerk violations in much the same way as you might query an ActiveRecord object. One of the key weaknesses of this gem is that it relies on Violations to run, and the ParsePackwerk gem to fuel them, meaning that if anything is added to a TODO it gets skipped.
Is there a way to potentially get all Packwerk references into a single list?
My hunch is yes, but I'm having a bit of trouble piecing together how to go about that. I think that using a Checker might be a path, and then trying to emulate a bit of how violations work today except trying to get rid of any exclusion clauses. Is that the right direction, or am I missing something? Currently trying to reconstitute this from the source code to see if I can cobble something together, but also wanted to check if something already exists or there's an easier way that I'm not seeing here.
TL;DR: I want to help create a way to get a list of all references in Packwerk, but could use a few pointers or some direction as this is not a documented path for the library.
If it does not exist I'd be up for helping to get it going, and adding it to tools like QueryPackwerk. I seem to remember a while ago I was chatting with Rafael about potentially even putting references into a SQLite3 DB of some sort to try and make tooling here even easier, but it's been a bit.
EDIT: I do see this PR looks to achieve what I'm looking for, could we consider merging it?
- Lingua principale
- Ruby
- Stelle
- 1.9k
- Fork
- 125
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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 Shopify/packwerk
-
[Bug Report] Concurrent runs sharing a cold cache fail with JSON::ParserErrorForse già presa @sarankumar1325 l’ha presa 5 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
[Bug Report] Getting "There were stale violations found, please run `packwerk update-todo`" even there is no stale violationsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
Tutte le issue di Shopify/packwerk
Issue simili
-
Missing zh-CN translation: components/common/CommunitySolution.tsx:communitySolution.authorsSolutionAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
openstreetmap/openstreetmap-website#7554 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
bensheldon/good_job#1904 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
riscv/riscv-unified-db#2785 ·
I maintainer di solito rispondono entro 1 giorno
-
Limit which neighbourhoods a site admin can changeForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertasecurity
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
geeksforsocialchange/PlaceCal#3838 ·
I maintainer di solito rispondono entro 1 giorno