File tree Expand file tree Collapse file tree 7 files changed +28
-11
lines changed Expand file tree Collapse file tree 7 files changed +28
-11
lines changed Original file line number Diff line number Diff line change 11name : " Bug Report"
2- description : Report a bug with pyton .org website to help us improve
2+ description : Report a bug with python .org website to help us improve
33title : " Bug: <title>"
44labels : ["bug", "Triage Required"]
55
66body :
77 - type : markdown
88 attributes :
99 value : |
10- This is the repository and issue tracker for the https://www.pyton .org website.
10+ This is the repository and issue tracker for the https://www.python .org website.
1111
1212 If you're looking to file an issue with CPython itself, please click here: [CPython Issues](https://github.com/python/cpython/issues/new/choose).
1313
Original file line number Diff line number Diff line change 77 - type : markdown
88 attributes :
99 value : |
10- This is the repository and issue tracker for the https://www.pyton .org website.
10+ This is the repository and issue tracker for the https://www.python .org website.
1111
1212 If you're looking to file an issue with CPython itself, please click here: [CPython Issues](https://github.com/python/cpython/issues/new/choose).
1313
Original file line number Diff line number Diff line change 11name : " Feature Request"
2- description : Suggest an idea for www.pyton .org
2+ description : Suggest an idea for www.python .org
33title : " Enhancement: <title>"
44labels : ["enhancement"]
55
66body :
77 - type : markdown
88 attributes :
99 value : |
10- This is the repository and issue tracker for the https://www.pyton .org website.
10+ This is the repository and issue tracker for the https://www.python .org website.
1111
1212 If you're looking to file an issue with CPython itself, please click here: [CPython Issues](https://github.com/python/cpython/issues/new/choose).
1313
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ def strip_minor_version(version):
88 return '.' .join (version .split ('.' )[:2 ])
99
1010
11+ @register .filter
12+ def has_gpg (files : list ) -> bool :
13+ return any (f .gpg_signature_file for f in files )
14+
15+
1116@register .filter
1217def has_sigstore_materials (files ):
1318 return any (
Original file line number Diff line number Diff line change @@ -136,6 +136,12 @@ resource "fastly_service_vcl" "python_org" {
136136 statement = " req.http.host == \" python.org\" "
137137 type = " REQUEST"
138138 }
139+ condition {
140+ name = " Always False"
141+ priority = 10
142+ statement = " false"
143+ type = " RESPONSE"
144+ }
139145
140146 condition {
141147 name = " Don't cache 404s for /static"
@@ -262,9 +268,10 @@ resource "fastly_service_vcl" "python_org" {
262268 }
263269
264270 logging_datadog {
265- name = " ratelimit-debug"
266- token = var. datadog_key
267- region = " US"
271+ name = " ratelimit-debug"
272+ token = var. datadog_key
273+ region = " US"
274+ response_condition = " Always False"
268275 }
269276
270277 logging_s3 {
@@ -361,7 +368,7 @@ resource "fastly_service_vcl" "python_org" {
361368 dynamic "dictionary" {
362369 for_each = var. activate_ngwaf_service ? [1 ] : []
363370 content {
364- name = var. edge_security_dictionary
371+ name = var. edge_security_dictionary
365372 force_destroy = true
366373 }
367374 }
Original file line number Diff line number Diff line change 11{% extends "base.html" %}
22{% load boxes %}
33{% load sitetree %}
4+ {% load has_gpg from download_tags %}
45{% load has_sigstore_materials from download_tags %}
56{% load has_sbom from download_tags %}
67{% load sort_windows from download_tags %}
@@ -51,7 +52,9 @@ <h1 class="page-title">Files</h1>
5152 < th > Description</ th >
5253 < th > MD5 Sum</ th >
5354 < th > File Size</ th >
55+ {% if release_files|has_gpg %}
5456 < th > GPG</ th >
57+ {% endif %}
5558 {% if release_files|has_sigstore_materials %}
5659 < th colspan ="2 "> < a href ="https://www.python.org/download/sigstore/ "> Sigstore</ a > </ th >
5760 {% endif %}
@@ -68,7 +71,9 @@ <h1 class="page-title">Files</h1>
6871 < td > {{ f.description }}</ td >
6972 < td > {{ f.md5_sum }}</ td >
7073 < td > {{ f.filesize|filesizeformat }}</ td >
74+ {% if release_files|has_gpg %}
7175 < td > {% if f.gpg_signature_file %}< a href ="{{ f.gpg_signature_file }} "> SIG</ a > {% endif %}</ td >
76+ {% endif %}
7277 {% if release_files|has_sigstore_materials %}
7378 {% if f.sigstore_bundle_file %}
7479 < td colspan ="2 "> {% if f.sigstore_bundle_file %}< a href ="{{ f.sigstore_bundle_file}} "> .sigstore</ a > {% endif %}</ td >
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ and international community of Python programmers (the **"Programs"**);
3333and the PSF previously entered into a Sponsorship Agreement
3434with the effective date of the
3535{{ previous_effective|date:"j" }}{{ previous_effective_english_suffix }} of {{ previous_effective|date:"F Y" }}
36-
37- ** WHEREAS** , Sponsor wishes to renew its support the Programs by making a contribution to the PSF.
3836and a term of one year (the “Sponsorship Agreement”).
37+
38+ ** WHEREAS** , Sponsor wishes to renew its support of the Programs by making a contribution to the PSF.
3939{% else %}
4040wishes to support the Programs by making a contribution to the PSF.
4141{% endif %}
You can’t perform that action at this time.
0 commit comments