You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/ISSUE_TEMPLATE/bug.yml
+5-2
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,12 @@ body:
9
9
10
10
Before filing your issue, ask yourself:
11
11
12
+
- Has this bug already been reported?
12
13
- Is this clearly a Pact Python bug?
13
14
- Do I have basic ideas about where it goes wrong?
14
-
- Could it be because of my own mistakes?
15
+
- Could it be because of something on my end?
15
16
16
-
**The GitHub issue tracker is not a support forum**. If you are not sure whether it could be your mistakes, ask on [Slack](https://slack.pact.io).
17
+
**The GitHub issue tracker is not a support forum**. If you are not sure whether it could be on your end or within Pact Python, ask on [Slack](https://slack.pact.io).
17
18
18
19
Make the bug obvious. Ideally, we should be able to understand it without running any code.
19
20
@@ -100,7 +101,9 @@ body:
100
101
description: Include as many relevant details about the environment you experienced the bug in.
101
102
value: |
102
103
- Public source code:
104
+
- Is this a consumer or provider issue? Do you have information about the other side?
103
105
- Pact Python version used: `pip list | grep pact`
106
+
- Information about your Pact broker (version, hosted where, pactflow, ...)
104
107
- Operating system and version (e.g. Ubuntu 20.04.2 LTS, macOS Ventura):
Copy file name to clipboardexpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+17-4
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,33 @@ You can learn more about contributing to Pact-python here: https://github.com/pa
5
5
Happy contributing!
6
6
-->
7
7
8
-
## Pre-flight checklist
8
+
## :airplane:Pre-flight checklist
9
9
10
10
-[ ] I have read the [Contributing Guidelines on pull requests](https://github.com/pact-foundation/pact-python/blob/main/CONTRIBUTING.md#pull-requests).
11
11
-[ ]**If this is a code change**: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
12
12
-[ ]**If this is a new API or substantial change**: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.
13
13
14
-
## Motivation
14
+
## :memo: Summary
15
+
16
+
<!-- Help us understand the PR at a high level. What changes is it proposing? -->
17
+
18
+
## :rotating_light: Breaking Changes
19
+
20
+
<!-- Does this PR include any breaking changes? If not, feel free to delete this section. If so, please detail:
21
+
22
+
- What is the breaking change?
23
+
- Why is the breaking change necessary?
24
+
- What steps should a user take in order to migrate from the old behavior to the new one?
25
+
-->
26
+
27
+
## :fire: Motivation
15
28
16
29
<!-- Help us understand your motivation by explaining why you decided to make this change. Does this fix a bug? Does it close an issue? -->
17
30
18
-
## Test Plan
31
+
## :hammer:Test Plan
19
32
20
33
<!-- Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. -->
21
34
22
-
## Related issues/PRs
35
+
## :link:Related issues/PRs
23
36
24
37
<!-- If you haven't already, link to issues/PRs that are related to this change. This helps us develop the context and keep a rich repo history. If this PR is a continuation of a past PR's work, link to that PR. If the PR addresses part of the problem in a meta-issue, mention that issue. -->
-[Contributing to Pact](https://docs.pact.io/contributing)
9
10
10
11
## Get Involved
11
12
@@ -18,9 +19,11 @@ There are many ways to contribute to Pact Python and the broader Pact ecosystem.
18
19
19
20
Contributions are very welcome. If you think you need help planning your contribution, please ping us on [Slack](https://slack.pact.io) and let us know you are looking for a bit of help.
20
21
21
-
### Join our Slack
22
+
### Join our Community
22
23
23
-
We have a [Slack](https://slack.pact.io) to discuss all things about Pact and its development. Feel free to ask questions about Pact Python specifically in the [`#pact-python`](https://pact-foundation.slack.com/archives/C9VECUP6E) channel, or broader questions about the Pact ecosystem over in the [`#general`](https://pact-foundation.slack.com/archives/C5F4KFKR8) channel.
24
+
We have a [Slack](https://slack.pact.io) to discuss all things about Pact and its development. Feel free to ask questions about Pact Python specifically in the [`#pact-python`](https://pact-foundation.slack.com/archives/C9VECUP6E) channel, or broader questions about the Pact ecosystem over in the [`#general`](https://pact-foundation.slack.com/archives/C5F4KFKR8) channel. We store a searchable archive of our Slack channels on [linen.dev](https://linen.dev/s/pact-foundation).
25
+
26
+
Questions have also been asked over on StackOverflow, under the [`pact`](https://stackoverflow.com/questions/tagged/pact) tag. This is a great place to ask more general usage questions for pact, and discover existing answers.
24
27
25
28
### Triaging Issues and Pull Requests
26
29
@@ -39,15 +42,13 @@ All pull requests will be checked by the continuous integration system, GitHub a
39
42
40
43
### Branch Organization
41
44
42
-
Pact Python has one primary branch `master` and we use feature branches to deliver new features with pull requests. We use the following naming convention for branches:
45
+
Pact Python has one primary branch `master` and we use feature branches to deliver new features with pull requests. Typically, we scope the branch according to the [conventional commit](#conventional-commit-messages) categories. The more common ones are:
43
46
44
47
-`feature/<name>` or `feat/<name>` for new features
45
48
-`fix/<name>` for bug fixes
46
49
-`chore/<name>` for chores
47
50
-`docs/<name>` for documentation changes
48
51
49
-
These generally follow the [Conventional Commit](https://www.conventionalcommits.org/en/v1.0.0/) categories.
50
-
51
52
## Issues
52
53
53
54
When [opening a new issue](https://github.com/pact-foundation/pact-python/issues/new/choose), always make sure to fill out the issue template. **This step is very important!** Not doing so may slow down the response. Don't take this personally if this happens, and feel free to open a new issue once you've gathered all the information required by the template.
@@ -77,11 +78,15 @@ If you want to work on any of these issues, just drop a message saying "I'd like
77
78
78
79
Alternatively, when opening an issue, you can also click the "self service" checkbox to indicate that you'd like to work on the issue yourself, which will also make us see the issue as "claimed".
79
80
81
+
Once an issue is claimed, we hope to see a pull request; however we understand that life happens and you may not be able to complete the issue. If you are unable to complete the issue, please let us know so we can unassign the issue and make it available for others to work on.
82
+
83
+
The claiming process is there to help ensure effort is wasted. Even if you are not sure whether you can complete the issue, claiming it will help us know that someone is working on it. If you are not sure how to proceed, feel free to ask for help.
84
+
80
85
## Development
81
86
82
87
### Online one-click setup for contributing
83
88
84
-
You can also try using the new [github.dev](https://github.dev/pact-foundation/pact-python) feature. While you are browsing any file, changing the domain name from `github.com` to `github.dev` will turn your browser into an online editor. You can start making changes and send pull requests right away.
89
+
You can also try using the new [github.dev](https://github.dev/pact-foundation/pact-python) feature. While you are browsing any file, changing the domain name from `github.com` to `github.dev` will turn your browser into an online editor. You can start making changes and send pull requests right away. This is a great way to get started quickly, but it does not offer the full development environment and you won't be able to run tests.
85
90
86
91
### Installation
87
92
@@ -116,7 +121,9 @@ pre-commit install
116
121
117
122
## Pull Requests
118
123
119
-
So you have decided to contribute code back to upstream by opening a pull request. You've invested a good chunk of time, and we appreciate it. We will do our best to work with you and get the PR looked at.
124
+
So you are considering contributing to Pact Python's code? Great! We'd love to have you. First off, please make sure it is related to an existing issue. If not, please open a new issue to discuss the problem you are trying to solve before investing a lot of time into a pull request. While we do accept PRs that are not related to an issue (especially if the PR is very simple), it is best to discuss it first to avoid wasting your time.
125
+
126
+
Once you have opened a PR, we will do our best to work with you and get the PR looked at.
120
127
121
128
Working on your first Pull Request? You can learn how from this free video series:
122
129
@@ -130,7 +137,7 @@ Please make sure the following is done when submitting a pull request:
130
137
131
138
All pull requests should be opened against the `master` branch.
132
139
133
-
We have a lot of integration systems that run automated tests to guard against mistakes. The maintainers will also review your code and fix obvious issues for you. These systems' duty is to make you worry as little about the chores as possible. Your code contributions are more important than sticking to any procedures, although completing the checklist will surely save everyone's time.
140
+
We have a lot of integration systems that run automated tests to guard against mistakes. The maintainers will also review your code and may fix obvious issues for you. These systems' duty is to make you worry as little about the chores as possible. Your code contributions are more important than sticking to any procedures, although completing the checklist will surely save everyone's time.
0 commit comments