As a developer, I have an easy way to check my commit and code locally before pushing
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
Start by reviewing the existing CI checks for commit validation, style and lint checks, and changelog handling, then compare the linked pre-commit examples. Done means developers have an easy local command or workflow that runs the relevant checks before pushing.
由索引模型根據 Issue 內容生成。
描述
Author: daviddavis (daviddavis)
Redmine Issue: 6938, https://pulp.plan.io/issues/6938
I was talking to ggainey about some of the automation checks we have in pulp (commit validation, style/lint checks, changelog, etc) and how it might be frustrating for new devs. I've heard the same feedback from other contributors such as galaxy.
We need to provide an easy way for developers to run our CI checks locally. I've seen other projects (bandersnatch[0], black[1], celery[2], etc) use pre-commit:
[0] https://github.com/pypa/bandersnatch/blob/master/.pre-commit-config.yaml
[1] https://github.com/psf/black/blob/master/.pre-commit-config.yaml
[2] https://github.com/celery/celery/blob/master/.pre-commit-config.yaml
- 主要語言
- Python
- 星號
- 10
- 分支
- 40
- 平均合併
- 8 小時 59 分鐘
- 30 天內合併 PR
- 5
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
pulp/plugin_template 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
pulp/plugin_template#724 · 1 則留言 ·
-
stale
難度 2/5 1-3 小時 新手友好度 65/100
pulp/plugin_template#444 · 1 則留言 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 45/100
pulp/plugin_template#1040 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 45/100
pulp/plugin_template#1027 · 4 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 55/100
pulp/plugin_template#973 ·
查看 pulp/plugin_template 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
PedestrianDynamics/pyFDS-Evac#343 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
theskumar/python-dotenv#708 ·
-
難度 1/5 1 小時以內 新手友好度 88/100
維護者通常 2 天內回覆
-
Docs Timedelta
難度 2/5 1-3 小時 新手友好度 72/100
pandas-dev/pandas#69919 ·
維護者通常 1 天內回覆
-
API documentation
難度 2/5 1-3 小時 新手友好度 72/100
zephyrproject-rtos/west#1009 · 2 則留言 ·
維護者通常 3 天內回覆