Working with projects outside the fips folder hierarchy is broken

Aperta
#287 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cmake, python
Ambito
build-system

Direzione di ricerca

The functions get_build_root_dir and get_deploy_root_dir resolve a project by name and assume it lives inside the fips workspace, so a project outside it fails when reading the 'local' setting. Start by tracing how those two functions look up project paths and where the 'local' setting is read. Done would mean deciding whether accepting directories is the intended design, then making out-of-tree projects work without breaking name-based lookup; the reporter's workaround is a useful starting point.

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

Descrizione

Functions like get_build_root_dir and get_deploy_root_dir works with project name only and suppose project to be inside fips workspace. Errors are produced when it tries to get 'local' setting in case of project located outside. I've made workaround allowing this functions to work directly with directories leaving the possibility to work with names. Is that new design direction or regression?

Lingua principale
Python
Stelle
506
Fork
84
Merge medio
13h 14m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 floooh/fips

Tutte le issue di floooh/fips

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.