http://reviews.review-board.org/
Describe the enhancement and the motivation for it.
*NOTE: Do not post confidential information in this bug report.*
This is a request which might be specific to our setup so let me give some
background.
The way perforce and bugzilla are integrated at my office is as follows.
1. Whenever a bug is reported a job is created in perforce with name of the
format 'bug<bug_number>'.
2. When creating changelist we are expected to specify the jobs that are fixed.
3. When a changelist is submitted the job gets marked as fixed and also the
bug is marked fixed.
So my request is that we make use of this information available in the
changelist in following way.
1. The jobs fixed can be found with command 'p4 fixes -c <changenum>'
2. Retrieve the bugs number from each line by using regular expression
'^bug(\d+).*'
3. Add these bug numbers in a list.
4. Use join function to join the bug numbers with comma (',') as separator.
5. Send this comma separated bug list to server.
I am currently modifying the post-review script to make this work. And if
it works then I will post the diff.