Skip to content
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

add --bpo to blurb #10

Closed
matrixise opened this issue Feb 15, 2019 · 4 comments
Closed

add --bpo to blurb #10

matrixise opened this issue Feb 15, 2019 · 4 comments

Comments

@matrixise
Copy link
Member

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".
@Mariatta
Copy link
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 ?).

@Mariatta
Copy link
Member

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

@matrixise
Copy link
Member Author

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

@hugovk hugovk transferred this issue from python/core-workflow Mar 28, 2024
@merwok
Copy link
Member

merwok commented Mar 28, 2024

duplicate of #6 ?

@hugovk hugovk closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants