Skip to content

Commit 268c575

Browse files
Merge branch 'master' into master
2 parents 7cf6819 + dab21a4 commit 268c575

File tree

170 files changed

+3279
-1515
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+3279
-1515
lines changed

.codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
codecov:
22
branch: master
3+
notify:
4+
after_n_builds: 10
35

46
coverage:
57
range: "95..100"

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
---
2+
name: Bug Report
3+
description: Create a report to help us improve.
4+
labels: [bug]
5+
assignees: aio-libs/triagers
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
**Thanks for taking a minute to file a bug report!**
11+
12+
13+
Verify first that your issue is not [already reported on
14+
GitHub][issue search].
15+
16+
_Please fill out the form below with as many precise
17+
details as possible._
18+
19+
[issue search]: ../search?q=is%3Aissue&type=issues
20+
21+
- type: textarea
22+
attributes:
23+
label: Describe the bug
24+
description: >-
25+
A clear and concise description of what the bug is.
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
attributes:
31+
label: To Reproduce
32+
description: >-
33+
Describe the steps to reproduce this bug.
34+
placeholder: |
35+
1. Implement the following server or a client '...'
36+
2. Then run '...'
37+
3. An error occurs.
38+
validations:
39+
required: true
40+
41+
- type: textarea
42+
attributes:
43+
label: Expected behavior
44+
description: >-
45+
A clear and concise description of what you expected to happen.
46+
validations:
47+
required: true
48+
49+
- type: textarea
50+
attributes:
51+
label: Logs/tracebacks
52+
description: |
53+
If applicable, add logs/tracebacks to help explain your problem.
54+
Paste the output of the steps above, including the commands
55+
themselves and their output/traceback etc.
56+
render: python-traceback
57+
validations:
58+
required: true
59+
60+
- type: textarea
61+
attributes:
62+
label: Python Version
63+
description: Attach your version of Python.
64+
render: console
65+
value: |
66+
$ python --version
67+
validations:
68+
required: true
69+
- type: textarea
70+
attributes:
71+
label: aiohttp Version
72+
description: Attach your version of aiohttp.
73+
render: console
74+
value: |
75+
$ python -m pip show aiohttp
76+
validations:
77+
required: true
78+
- type: textarea
79+
attributes:
80+
label: multidict Version
81+
description: Attach your version of multidict.
82+
render: console
83+
value: |
84+
$ python -m pip show multidict
85+
validations:
86+
required: true
87+
- type: textarea
88+
attributes:
89+
label: yarl Version
90+
description: Attach your version of yarl.
91+
render: console
92+
value: |
93+
$ python -m pip show yarl
94+
validations:
95+
required: true
96+
97+
- type: textarea
98+
attributes:
99+
label: OS
100+
placeholder: >-
101+
For example, Arch Linux, Windows, macOS, etc.
102+
validations:
103+
required: true
104+
105+
- type: dropdown
106+
attributes:
107+
label: Related component
108+
description: >-
109+
aiohttp is both server framework and client library.
110+
For getting rid of confusing make sure to select
111+
'server', 'client' or both.
112+
multiple: true
113+
options:
114+
- Server
115+
- Client
116+
validations:
117+
required: true
118+
119+
- type: textarea
120+
attributes:
121+
label: Additional context
122+
description: |
123+
Add any other context about the problem here.
124+
125+
Describe the environment you have that lead to your issue.
126+
This includes proxy server and other bits that are related to your case.
127+
128+
- type: checkboxes
129+
attributes:
130+
label: Code of Conduct
131+
description: |
132+
Read the [aio-libs Code of Conduct][CoC] first.
133+
134+
[CoC]: https://github.com/aio-libs/.github/blob/master/CODE_OF_CONDUCT.md
135+
options:
136+
- label: I agree to follow the aio-libs Code of Conduct
137+
required: true
138+
...

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
name: 🚀 Feature request
3+
description: Suggest an idea for this project.
4+
labels: enhancement
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
**Thanks for taking a minute to file a feature for aiohttp!**
10+
11+
12+
Verify first that your feature request is not [already reported on
13+
GitHub][issue search].
14+
15+
_Please fill out the form below with as many precise
16+
details as possible._
17+
18+
[issue search]: ../search?q=is%3Aissue&type=issues
19+
20+
- type: textarea
21+
attributes:
22+
label: Is your feature request related to a problem?
23+
description: >-
24+
Please add a clear and concise description of what
25+
the problem is. _Ex. I'm always frustrated when [...]_
26+
27+
- type: textarea
28+
attributes:
29+
label: Describe the solution you'd like
30+
description: >-
31+
A clear and concise description of what you want to happen.
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
attributes:
37+
label: Describe alternatives you've considered
38+
description: >-
39+
A clear and concise description of any alternative solutions
40+
or features you've considered.
41+
validations:
42+
required: true
43+
44+
- type: dropdown
45+
attributes:
46+
label: Related component
47+
description: >-
48+
aiohttp is both server framework and client library.
49+
For getting rid of confusing make sure to select
50+
'server', 'client' or both.
51+
multiple: true
52+
options:
53+
- Server
54+
- Client
55+
validations:
56+
required: true
57+
58+
- type: textarea
59+
attributes:
60+
label: Additional context
61+
description: >-
62+
Add any other context or screenshots about
63+
the feature request here.
64+
65+
- type: checkboxes
66+
attributes:
67+
label: Code of Conduct
68+
description: |
69+
Read the [aio-libs Code of Conduct][CoC] first.
70+
71+
[CoC]: https://github.com/aio-libs/.github/blob/master/CODE_OF_CONDUCT.md
72+
options:
73+
- label: I agree to follow the aio-libs Code of Conduct
74+
required: true
75+
...

.github/dependabot.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ updates:
66
directory: "/"
77
labels:
88
- dependencies
9-
- autosquash
109
schedule:
1110
interval: "daily"
1211

@@ -15,7 +14,6 @@ updates:
1514
directory: "/"
1615
labels:
1716
- dependencies
18-
- autosquash
1917
schedule:
2018
interval: "daily"
2119
open-pull-requests-limit: 10
@@ -25,17 +23,36 @@ updates:
2523
directory: "/"
2624
labels:
2725
- dependencies
28-
- autosquash
2926
target-branch: "3.8"
3027
schedule:
3128
interval: "daily"
29+
open-pull-requests-limit: 10
30+
31+
# Maintain dependencies for Python aiohttp 3.8
32+
- package-ecosystem: "pip"
33+
directory: "/"
34+
labels:
35+
- dependencies
36+
target-branch: "3.8"
37+
schedule:
38+
interval: "daily"
39+
open-pull-requests-limit: 10
40+
41+
# Maintain dependencies for GitHub Actions aiohttp 3.8
42+
- package-ecosystem: "github-actions"
43+
directory: "/"
44+
labels:
45+
- dependencies
46+
target-branch: "3.8"
47+
schedule:
48+
interval: "daily"
49+
open-pull-requests-limit: 10
3250

3351
# Maintain dependencies for Python aiohttp 3.8
3452
- package-ecosystem: "pip"
3553
directory: "/"
3654
labels:
3755
- dependencies
38-
- autosquash
3956
target-branch: "3.8"
4057
schedule:
4158
interval: "daily"

.github/workflows/auto-merge.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Dependabot auto-merge
2+
on: pull_request_target
3+
4+
permissions:
5+
pull-requests: write
6+
contents: write
7+
8+
jobs:
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: ${{ github.actor == 'dependabot[bot]' }}
12+
steps:
13+
- name: Dependabot metadata
14+
id: metadata
15+
uses: dependabot/[email protected]
16+
with:
17+
github-token: "${{ secrets.GITHUB_TOKEN }}"
18+
- name: Enable auto-merge for Dependabot PRs
19+
run: gh pr merge --auto --squash "$PR_URL"
20+
env:
21+
PR_URL: ${{github.event.pull_request.html_url}}
22+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)