Skip to content

add --bpo to blurb #10

Description

@matrixise

Could we add a --bpo NUMBER parameter to blurb add command?
This parameter would be used by for the template of blurb and would fill the .. bpo: NUMBER in the template.

why? when I create a branch for an issue, I use the number of the issue from bpo and I create a branch with this number.

Attention: I use the fish shell and not bash/zsh

for the checkout

> git checkout -b bpo-12345
> ./configure --prefix=$PWD-(git rev-parse --abbrev-ref HEAD) --with-pydebug
> make -j 4
> make install

I can get the issue number via git rev-parse --abbrev-ref HEAD | string sub --start=5
example:

> git rev-parse --abbrev-ref HEAD
bpo-12345
> git rev-parse --abbrev-ref HEAD | string sub --start=5
12345

and I would like to pass the bpo number on the command line like that:

> blurb add --bpo (git rev-parse --abbrev-ref HEAD | string sub --start=5)

Of course, maybe we could do the same thing for the section and the paragraph.

Example:

blurb add --bpo 12345 --section Documentation "Travis can build the documentation with the doctest. Contributed by Awesome Contributor".

Activity

  1. Mariatta commented on Feb 15, 2019

    @Mariatta
    Member

    GitMate.io thinks possibly related issues are python/core-workflow#275 (CalledProcessError attempting to add a blurb), python/core-workflow#74 (Add bpo link to mention-bot when issue id provide), python/devguide#3 (Add Travis support), #7 (blurb won't let me create a NEWS entry without a bpo issue number), and python/core-workflow#166 (blurb and garglemox ?).

  2. Mariatta commented on Feb 15, 2019

    @Mariatta
    Member

    I think work has been done in python/core-workflow#184, status is awaiting changes.

  3. matrixise commented on Feb 15, 2019

    @matrixise
    MemberAuthor

    Thanks, it's clearly my need. I am going to ping @tiran

  4. merwok commented on Mar 28, 2024

    @merwok
    Member

    duplicate of #6 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions