Scmbug integrates software configuration management (SCM) with bug-tracking. It aims to solve the integration problem once and for all. It will glue any source code version control system (such as CVS/CVSNT, Subversion, and Git) with any bug tracking system (such as Bugzilla, Mantis, Request Tracker, Test Director).
| Tags | Software Development Bug Tracking Version Control CVS Subversion Information Management Issue Tracking |
|---|---|
| Licenses | GPL |
| Operating Systems | OS Independent |
| Implementation | Perl |
Recent releases


Release Notes: This release corrects an unexpected exit related to binmode encoding raised by Bugzilla 4rc1, allows tag deletions when valid_product_name is disabled, and corrects deprecated syntax that would cause the daemon to exit under Perl 5.12 when mail notifications were enabled.


Release Notes: This release corrects the labeling support for Bugzilla 3.6.x.


Release Notes: This version adds support for Mantis 1.2.x by using Unix timestamps for date values.


Release Notes: This release corrects the broken integration_add_tag support for Bugzilla 3.4-3.6 introduced by SCMBUG_RELEASE_0-26-18, corrects the long-standing bug of "Package 'Bugzilla' not found in" for some Perl versions, allows using Bugzilla 3.6 when checking for version numbers, and improves error checking when comments are added to multiple bugs.


Release Notes: This version adds support for Bugzilla 3.6, corrects the broken status resolution for Bugzilla 3.4 introduced by v0.26.17, and corrects the recently failed packaging on Windows.
Recent comments
25 Jun 2011 14:44
We are migrating our CVS + Custom IssueTracker tool chain to SVN + Bugzilla and I came across this tool that allows for some neat integration. I was wondering if the scmbug merger perl script has been completed to allow for real merges as right now it seems to generate just a report of the changesets aka revision number for SVN commits related to the bug.
I have attempted to automate the action of applying a patch in SVN i.e. merge a set of commits on maintenance branch (trunk in this case) that have been tied to bugs in bugzilla to a local working copy of the release branch. The patch is identified by a target milestone in bugzilla. Find below the script. I wish scmbug merger could provide an automated way to do so.
{noformat}
#!/usr/bin/env bash
# read the patch.properties file for patch config
set -- $(cat patch.properties |
awk 'BEGIN { FS="="; } \
/^\#/ { } \
!/^\#/ { if (NF == 2) { print $2; } }')
bugzillaurl=$1
product=$2
repopath=$3
source=$4
sink=$5
milestone=$6
echo bugzilla url: $bugzillaurl
echo source: ${repopath}${source}
echo sink: ${repopath}${sink}
echo project: $product
echo patch: $milestone
# NOTE: local working copy must be the checkout of the sink i.e. release branch that you want to merge into
# backup the patch.properties before you revert you local changes on your working copy
cp 'patch.properties' ~/'test.prop'
#rm 'patch.properties'
svn revert --depth=infinity .
mv ~/'test.prop' 'patch.properties'
# Query bugzilla by product and target milestone (patch label) and get the list of bugs part of the target milestone (aka patch)
curl -s "$bugzillaurl/buglist.cgi?product=$product&target_milestone=$milestone" 2>&1 | awk -F '[<>]' '/show_bug/ && $3 !~ /[^0-9]/ {if($3 != "") array[n++] = $3}
END { result = array[0];for( i=1; i | sort -un | xargs -L 1 -I % svn merge -c % ${repopath}${product}${source}
done
{noformat}
25 Jun 2011 14:41
We are migrating our CVS + Custom IssueTracker tool chain to SVN + Bugzilla and I came across this tool that allows for some neat integration. I was wondering if the scmbug merger perl script has been completed to allow for real merges as right now it seems to generate just a report of the changesets aka revision number for SVN commits related to the bug.
02 Oct 2010 05:39
I'd rather not. We prefer issues to be reported to the project's mailing list, where they are visible by all, not just me.
30 Sep 2010 11:31
@mkgnu: You can click the feed icon next to "All comments" above to subscribe to this page's comments ( freshmeat.net/projects... ).
Sincerely,
Jeff
19 Sep 2010 20:22
Please don't add support comments here, because we simply don't know when one is added.
Instead ask for help on the project's mailing list.