Django support: design partners and contributors wanted
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Read docs/adding-an-adapter.md, then the Python adapter in src/repo/adapters/python.ts, which this work extends. Pick one unblocked step, such as detecting a Django project from manage.py or DJANGO_SETTINGS_MODULE, and confirm the design with the thread first. Done means the adapter recognises the project and a fixture repo gets Django-aware selection or a blockers fallback instead of an empty graph.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
DiffCI works out what a change needs from CI, starting with the tests it affects, so AI coding agents (and people) can run them before pushing. Python projects tested with pytest are supported today (#61, #75). Django is next, and this is open for contributors and design partners.
Why Django needs its own work: much of a Django project is wired by strings, not imports, so a plain import graph misses it:
INSTALLED_APPS,MIDDLEWARE,ROOT_URLCONF,AUTH_USER_MODELandinclude("app.urls")name modules as dotted strings- templates, static files and fixtures are found by app directory, not imported
- a
settings.pychange can affect everything, or nothing - many projects run
manage.py test(unittest discovery), not pytest
Today these show up as missed edges or a full-suite fallback.
Steps (each is one PR; take any that are unblocked):
- Detect a Django project (
manage.py,DJANGO_SETTINGS_MODULE,pytest-djangosettings) - Treat dotted-string settings and
include()targets as imports - Map templates, static files and fixtures to the app that owns them
- Narrow
settings.pychanges where the changed setting is known, else fall back with a reason - Generate
manage.py test <labels>commands when the project doesn't use pytest - Replay on one public Django repository and publish the report
Ground rules
- When the adapter is unsure, it records a
blockersentry and DiffCI runs the full suite. An empty graph must never look like "nothing affected". - Read the adapter guide first; the Python adapter (
src/repo/adapters/python.ts) is where this builds. - Discuss design questions here, so every step stays consistent.
Run a Django codebase? Try npx --yes @diffci.com/diffci@latest check --base origin/main --head HEAD and post what it selected or the fallback reason below. That tells us which step to do first. 👍 this issue if you'd use it.
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 4
- Merge medio
- 18h 41m
- PR unite (30g)
- 48
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun 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 DiffCI/core
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Planner: splitParts regex is quadratic on a quote followed by many backticks, so the fuzz test fails at randomForse già presa @FredApps l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Agent tools: changed_files lists only the new path of a renamed fileForse già presa @FredApps l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
DiffCI/core#243 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
adapter good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
agent-ready area: ui-server priority: p3 type: test
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
schlessera/brain-kit#4249 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation tool triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
can1357/oh-my-pi#19608 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
dependencies tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
bcgov/nr-waste-plus#1549 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
blixvip/solana-token-meta#17 ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
blixvip/solana-tx-parse#18 ·