Introduce scripts for common tasks
@alejandrosame ci sta già lavorando.
Dal 13/9/2020.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
What?
We need to align all files that make similar setup and testing tasks.
Why?
Currently, we make similar tasks in different environments. For example, we have repeated code for setup https://github.com/OpenMined/PyDP/blob/dev/Dockerfile#L36, https://github.com/OpenMined/PyDP/blob/dev/.github/workflows/pypipublish_osx.yml#L18, https://github.com/OpenMined/PyDP/blob/dev/prereqs_linux.sh#L58, etc. This makes updates messy because we have to go and chase different files to align repeated code.
Breakdown
-
Create a folder scripts to hold all utility scripts used across the repository.
-
Update Makefile to make use of scripts.
-
Update github workflows to make use of scripts.
- build_dev_docs.yml
- pypipublish_linux.yml
- pypipublish_osx.yml
- pypipublish_windows.yml
- style_check.yml
- tests.yml
-
Update Dockerfile to make use of scripts
-
Update prereqs_linux.sh to make use of scripts
-
Update prereqs_mac.sh to make use of scripts
-
Update contribution guidelines to point to the existence of the folder and require reusing/creating scripts when appropriate.
Additional Context
Add any other context about the problem here.
- Lingua principale
- Python
- Stelle
- 550
- Fork
- 142
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un 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 OpenMined/PyDP
-
Type: New Feature :heavy_plus_sign:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Type: Question :grey_question:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
Type: Question :grey_question:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
-
Type: Improvement :chart_with_upwards_trend:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Type: New Feature :heavy_plus_sign:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
Tutte le issue di OpenMined/PyDP
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-2 giorni Idoneità per principianti 70/100
-
FingerprintSplitter raises ZeroDivisionError when int(frac_train * len(dataset)) floors to zeroAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 7 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
lmstudio-ai/mlx-engine#376 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pyiron/bagofholding#166 ·