Define a pull request template
@benoit74 arbeitet bereits daran.
Seit 22.12.2023.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 2
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus openzim/_python-bootstrap
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 76/100
openzim/_python-bootstrap#57 ·
-
Adapt bootstrap / conventions to use `pylock.toml`Evtl. wieder frei @rgaudin hat das vor 444 Tagen übernommen, und es ist kein Pull Request offen. Offenenhancement
openzim/_python-bootstrap#54 · 1 Kommentar · 2 zugewiesene Personen ·
-
Workflow conventionEvtl. wieder frei @benoit74 hat das vor 458 Tagen übernommen, und es ist kein Pull Request offen. Offenquestion
openzim/_python-bootstrap#53 · 1 zugewiesene Person ·
-
enhancement
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 25/100
openzim/_python-bootstrap#51 · 3 Kommentare ·
-
What about nested logsEvtl. wieder frei @rgaudin hat das vor 732 Tagen übernommen, und es ist kein Pull Request offen. Offenenhancement
openzim/_python-bootstrap#48 · 2 zugewiesene Personen ·
Alle Issues in openzim/_python-bootstrap
Ähnliche Issues
-
bug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
debpalash/VoiceStudio#2624 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
SQLGlot translates Spark concat_ws on an array into array stringificationEvtl. vergeben @ansh-rohilla hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag
-
Make Catch2 optional when `RDK_BUILD_CPP_TESTS=OFF`Evtl. vergeben @pechersky hat das heute übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 2 Tagen