One install parser for online_checks and command_checks

Aperta
#580 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
48/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

Start by reading extract_packages in online_checks.py and _unpinned_installs in command_checks.py, then compare how each handles the install lines named in the issue: backslash continuations, quoted semicolons, and npx -pfoo. The goal is one shared parser used by both checks, with matching behavior for those cases.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Raised in the review of PR #459 (intel/dokimi), thread PRRT_kwDOVBg7g861qhY-: https://github.com/intel/dokimi/pull/459#discussion_r4524035203

extract_packages (online_checks.py) and _unpinned_installs (command_checks.py, #456, on main) read the same install lines and disagree on a pip install \ continuation, a quoted ; and npx -pfoo. Outside this PR's lines: one shared parser for both.

Not fixed in PR #459: it is outside the lines that PR changes (another component, a design change, or too large for the round).

Lingua principale
Python
Stelle
11
Fork
9
Merge medio
1g 9h
PR unite (30g)
442

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di intel/dokimi

Tutte le issue di intel/dokimi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.