Improve first-time setup workflow
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- build-system, developer-experience
Direzione di ricerca
Start with the make deps flow in Makefile, especially the command-output tasks at lines 211-225, and review the setup guidance in README.md. Compare the documented shell-rc approach with the proposed setup task, then define which approach should eliminate the repeated manual setup steps and how completion will be verified.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The first-time setup workflow as of initial public release is effectively:
make deps, which will error if Homebrew isn't found.- User must manually
make install-homebrewto install Homebrew, then runmake depsagain
- User must manually
make deps, viadeps-brewwill install deps from Homebrew including pyenvmake deps, viainstall-pythonviadeps-py, will install Python from pyenv, which will error ifpyenvisn't found- User must manually add
pyenvloading code to shell rcfile, then runmake depsagain
- User must manually add
make deps, viainstall-poetryviadeps-py, will install Poetry using pyenv-installed Python or system Python, whichever it detects first, and only ifpoetryisn't available as of the start of the current run ofmake.make deps, viapoetry-installviadeps-py, will install Python deps using Poetry, which will error ifpoetryisn't found- User must manually add
~/.local/bin, Poetry's default installation path, to their PATH in shell rcfile, then runmake depsagain.
- User must manually add
- Complete 🎉
There are some steps I skipped in here related to telling Poetry which Python to use (it generally just works) and sync'ing Peru (also generally just works).
These one-time setup steps ("user must manually…") are annoying. While some tasks tell the user that they need to read command output, too many users just… don't.
Possible solutions:
- Document most generic thing to pre-add to a user's shellrc file in
README.mdor at the end ofmake deps. - Create a task
make wreck-my-rcfileor maybe more nicelymake setup-rcfile-oncethat modifies the shellrc with what should be put there carefully manually. - No action: let the user suffer having ignored the nudge to read command output.
- Lingua principale
- Makefile
- Stelle
- 31
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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 target/make-python-devex
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
target/make-python-devex#198 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
target/make-python-devex#182 ·
-
devcontainers setup Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
target/make-python-devex#181 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 50/100
target/make-python-devex#172 · 1 commento · 1 reazione ·
-
Use actionlint Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
target/make-python-devex#156 ·
Tutte le issue di target/make-python-devex
Issue simili
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
kubernetes-sigs/prow#953 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
zephyrproject-rtos/zephyr#119726 ·
-
out-of-date
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
CachyOS/CachyOS-PKGBUILDS#1894 ·
-
comp/dashboard P3 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
NousResearch/hermes-agent#117722 ·
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
objectionary/jeo-maven-plugin#1760 ·