Define a pull request template
@benoit74 đang làm issue này rồi.
Từ ngày 22/12/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Some projects have a pull_request_template.yml, but it does not look like there is a convention on this yet.
The template I've found so far is:
## Rationale
[//]: # (Briefly explain the reason behind this change.)
<!--
Issue: [Title](link) or #123 for Github issues.
-->
## Changes
[//]: # (Summarize what has changed.)
Some inconvenient I find in this template:
- I do not find the term "Rationale" very obvious
- There is no mention about the fact that we must add "Fix: ###" to automatically close issues.
- The "Issue" template is misleading, it looks like it will do something automatically while it doesn't + all issues should be Github issues (or most at least), so no need to propose something for the case where it is not
ChatGPT suggested me the following sections:
## Description
<!-- Describe the purpose of this pull request -->
## Changes Made
<!-- List the changes made in this pull request -->
## Screenshots (if applicable)
<!-- Include screenshots or images demonstrating the changes -->
## Testing
<!-- Explain how the changes were tested -->
## Related Issues
<!-- Mention any related issues or link to them -->
## Checklist
- [ ] Code follows project standards
- [ ] Tests have been added/updated
- [ ] Documentation has been updated
- [ ] Changelog entry added
And it should be named pull_request_template.md (it's not a yaml file 😅)
My remarks on ChatGPT suggestion:
- I think the related issues should be clearer about the fact that we expect one or more "Fix: ###" and I would like to put this at the beginning of the PR, just after the description (or even before that) so that it is more obvious why we are proposing this PR
- in the checklist:
- we should add a link to our project standards so that it is obvious
- most scrappers do not have tests (yet, at least) ; and usually there structure makes testing a daunting task ; I think we should not add this check in most scrapers yet
- documentation should refer to usage + wiki
I welcome all suggestions on this, I can handle the creation of a PR once arguments have settled a little bit.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 4
- Merge trung bình
- 22 giờ 26 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openzim/_python-bootstrap
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 50/100
openzim/_python-bootstrap#58 ·
-
Adapt bootstrap / conventions to use `pylock.toml`Có thể làm lại được @rgaudin đã nhận 505 ngày trước và không có pull request nào đang mở. Đang mởenhancement
openzim/_python-bootstrap#54 · 1 bình luận · 2 người được giao ·
-
Workflow conventionCó thể làm lại được @benoit74 đã nhận 519 ngày trước và không có pull request nào đang mở. Đang mởquestion
openzim/_python-bootstrap#53 · 1 người được giao ·
-
Move `.pre-commit.yaml` to hatchĐang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
openzim/_python-bootstrap#51 · 3 bình luận ·
-
What about nested logsCó thể làm lại được @rgaudin đã nhận 793 ngày trước và không có pull request nào đang mở. Đang mởenhancement
openzim/_python-bootstrap#48 · 2 người được giao ·
Tất cả issue của openzim/_python-bootstrap
Issue tương tự
-
docs(contributing): the two things that silently block a PRCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởavailable documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 95/100
Nixitov/Riptide-Native#944 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
JTHCode/secretguard#24 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: middleware documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainer thường phản hồi trong vòng 1 ngày