buildbot/buildbot — pull request #336 by hborkhuis (2012-03-06 10:03:34+00:00)
Title: Fix sourcestampsetid

1)This patch fixes an issue in the SourceStamp.getSourceStampSetId method that returned sometimes a ssid instead of a setid. This is not a problem as long as the setid and the sourcestamp id are the same, this is not guaranteed (see second issue)

2)The Trigger step uses this function, but found an issue: When Trigger.sourceStamp is set then a sourcestamp is added to the database #without# a setid (from now on a new sourcestamp becomes a setid that is different from its ssid)

3)The sourcestamp has no method anymore to get its ssid. Instead of adding such a method, I changed the interface between Trigger and Triggerable from passing a ssid into passing a setid.

4)The sourcestamp in a pickle does not contain the ssid anymore.