Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Introduce scripts for common tasks

未关闭
#289 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@alejandrosame 已经在做这个了。

开始于 2020年9月13日。

评估

这个 Issue 还没有评估数据。

描述

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.

主要语言
Python
星标
550
派生
142
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenMined/PyDP 的其他 Issue

查看 OpenMined/PyDP 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。