8000 Support GitHub Issues by Mariatta · Pull Request #431 · python/core-workflow · GitHub
[go: up one dir, main page]

Skip to content

Support GitHub Issues #431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 7, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update readme to use gh-issue instead of gh-
  • Loading branch information
Mariatta committed Mar 28, 2022
commit 46b0f2c31926182d639eed6e81ac6241a94e6cbb
4 changes: 2 additions & 2 deletions blurb/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Under ``Misc/NEWS.d`` you'll find the following:
the various ``Misc/NEWS`` categories. Inside these subdirectories
are more ``.rst`` files with long, uninteresting, computer-generated
names. Example:
``Misc/NEWS.d/next/Library/2017-05-04-12-24-06.gh-25458.Yl4gI2.rst``
``Misc/NEWS.d/next/Library/2017-05-04-12-24-06.gh-issue-25458.Yl4gI2.rst``


blurb subcommands
Expand Down Expand Up @@ -130,7 +130,7 @@ with the following format::

For example, a file added by ``blurb add`` might look like this::

Misc/NEWS.d/next/Library/2017-05-04-12-24-06.gh-25458.Yl4gI2.rst
Misc/NEWS.d/next/Library/2017-05-04-12-24-06.gh-issue-25458.Yl4gI2.rst

``<section>`` is the section provided in the checkin message.

Expand Down
2 changes: 1 addition & 1 deletion blurb/blurb.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def finish_entry():
if not body:
throw("Blurb 'body' text must not be empty!")
text = textwrap_body(body)
for naughty_prefix in ("- ", "Issue #", "bpo-", "gh-"):
for naughty_prefix in ("- ", "Issue #", "bpo-", "gh-", "gh-issue-"):
if re.match(naughty_prefix, text, re.I):
throw("Blurb 'body' can't start with " + repr(naughty_prefix) + "!")

Expand Down
0