Hi Jun, I'm terribly sorry for not replying to this sooner.
On Mon, 2007-03-26 at 13:39 -0400, Jun wrote: > Hi, > > I have two question regarding vdd > 1. It is the first time I run the VDD tool. > I have subversion 1.4.2, bugzilla 2.22.2 and scmbug 0.19.9 installed > on Fedora 6. The glue is enabled. I checked in several files to the > TestProduct repository using bug1, then created test1 branch; I > checked in modified files using bug2, then I created another branch > test2. After I ran the scmbug_vdd_generator, the the vdd.xml, > vdd.smgl, and vdd.html don't have any bugs. My bugs are not under any > bug lists. The following is the command I used > scmbug_vdd_generator --scm=Subversion --product=TestProduct > --repository=/svn/test --from=jj/branches/p_jj_test1 > --to=jj/branches/p_jj_test2 --output-directory=/tmp This command will search for changes between the dates that two branches were created. I believe you issued the command correctly. The first thing I noticed is that you are running Bugzilla 2.22. I wonder if our Bugzilla backend implementation in Bugzilla.pm.in:integration_get_vdd is not retrieving data from the correct tables (if the database schema changed for Bugzilla 2.22). This would be the FIRST PLACE I would start to try to debug things. Another thing you need to be aware of is that the VDD Generator is inaccurate about the last comment entered: http://bugzilla.mkgnu.net/show_bug.cgi?id=947#c1 A quick way to check if this is the problem would be to repeat what you did but commit more than 2 changesets before creating branches/p_jj_test2. Another way would be to add debugging statements in src/lib/product/Tools/VDD_Generator.pm:process to report $from_label_date and $to_label_date. I wonder if these two days were computed incorrectly (but I doubt it). > 2. I find both the "--from=" and "--to=" must be spedified. As > described above, if I want to know what bugs are in the first branch, > jj/branches/p_jj_test1, can I use the following command: > scmbug_vdd_generator --scm=Subversion --product=TestProduct > --repository=/svn/test --from=jj/trunk --to=jj/branches/p_jj_test1 > --output-directory=/tmp No you can't. Because jj/trunk might have progressed further along, hence the from date would be greater than the to date. But I believe you pose an interesting question. You want to identify the list of bugs committed in a branch -- instead of the difference between two tags. I believe that this is possible to do, but it hasn't been implemented yet. I added it in the todo list. http://bugzilla.mkgnu.net/show_bug.cgi?id=952 _______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
