On 09/02/2017 12:10 PM, Michał Górny wrote: > Update the description for --bug and --closes to account for the fact > that the tags are now handled by git hooks on Gentoo Infra, and cause > actions on Gentoo Bugzilla. > > // NB: It would probably make sense for --closes to default to Gentoo > bug numbers now. However, I have doubts that some people might have > already started using it for pull requests, and that might cause > confusion. What do you think?
Yeah it's hard do say, maybe add a --closes-bug option for gentoo bugs? > --- > repoman/man/repoman.1 | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) > > diff --git a/repoman/man/repoman.1 b/repoman/man/repoman.1 > index a49c72c0d..4b518e6f1 100644 > --- a/repoman/man/repoman.1 > +++ b/repoman/man/repoman.1 > @@ -27,13 +27,16 @@ be either a Gentoo bug number or a full bug URL (either > Gentoo > or upstream). Gentoo bug URLs are automatically shortened to > the canonical \fBhttps://bugs.gentoo.org/NNNNNN\fR form, and HTTPS > is forced for known bug trackers. > + > +When pushing to the Gentoo repository, the reference to the commit > +will be automatically added as a comment on the bug. > .TP > \fB-c\fR, \fB--closes\fR > Include a \fBCloses\fR tag in the commit message footer that can be used > -to close pull requests (and issues) on GitHub and other compatible > -services (GitLab, Bitbucket). The argument can be either a PR number for > -the gentoo/gentoo GitHub repository or a full PR/bug URL. For bug URLs, > -HTTPS is forced automatically for known bug/PR trackers. > +to close bugs and pull requests (e.g. on Gentoo Bugzilla, GitHub, GitLab, > +Bitbucket). The argument can be either a PR number for the gentoo/gentoo > +GitHub repository or a full PR/bug URL. For bug URLs, HTTPS is forced > +automatically for known bug/PR trackers. > .TP > \fB\-\-digest=<y|n>\fR > Automatically update Manifest digests for modified files. This > Looks good. -- Thanks, Zac