Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Introduce scripts for common tasks

Aperta
#289 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@alejandrosame ci sta già lavorando.

Dal 13/9/2020.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

setup Status: In Progress :star2: Type: Refactor :hammer: workflow

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

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 OpenMined/PyDP

Tutte le issue di OpenMined/PyDP

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.