Skip to content

Commit 1e7cd10

Browse files
committed
Document the CVE field in the readme and howto page
Neither mentioned the field. Say that it appears for Security entries, the form it takes, and that it is stored as .. cve: metadata in the news file.
1 parent 125a0a9 commit 1e7cd10

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎readme.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ A ``Misc/NEWS.d`` file `is needed
2222
<https://devguide.python.org/getting-started/pull-request-lifecycle/#news-entry>`_
2323
for almost all non-trivial changes to CPython.
2424

25+
For an entry in the ``Security`` section, blurb-it also offers an optional
26+
CVE field. Give the identifier in the ``CVE-YYYY-NNNN`` form and blurb-it
27+
records it as ``.. cve:`` metadata at the top of the news file.
28+
2529
To use blurb-it, you must be logged in to GitHub.
2630

2731
Install blurb-it GitHub App to your account, and then grant the ``write`` access to your

‎templates/howto.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<p>So far, the way you would add the news entry is by using blurb command line tool, that can be installed using PyPI.</p>
77
<p>But now, we’re going to defy the Zen of Python’s “there should be only one way to do it”, and present you with another way to do it: <strong>blurb-it</strong>. <a href="{{ app_protocol }}://{{ app_url }}/">{{ app_protocol }}://{{ app_url }}/</a></p>
88
<p>blurb-it provides a web interface for you to create news entry to your own CPython pull request. That means, you can do this from your phone, as long as you have a webbrowser and connected to the internet.</p>
9+
<p>Fill in the issue and pull request numbers, choose the section, and write the entry. When you choose the <strong>Security</strong> section, an optional <strong>CVE</strong> field appears. Give the identifier in the <code>CVE-YYYY-NNNN</code> form and blurb-it records it as <code>.. cve:</code> metadata at the top of the news file.</p>
910
<p>blurb-it is a <a href="https://github.com/apps/blurb-it">GitHub App</a> owned by The PSF. You’ll need to <a href="/install"><strong>install it</strong></a> and <strong>give write permission</strong> to your own fork’s cpython repo (so it can create the news file). Since <strong>the app will have write access to the repo</strong>, you should not install this on any other repo.</p>
1011
<p>Please give this a try and let me know of any issues by filing a bug in the <a href="https://github.com/python/blurb_it">blurb-it repo</a>.</p>
1112
<p>The use of blurb-it is optional. You can still add news file using the <a href="https://pypi.org/project/blurb/">blurb command line tool</a>.</p>

0 commit comments

Comments
 (0)