Closed as not planned
Description
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".
Metadata
Metadata
Assignees
Labels
No labels