NEXT:
+ * Fix collect_project, include default result and its deps into the BuildID
e2factory-2.3.16
* Fix e2 fetch-sources --update for git repos
end
function collect_project_class:buildid()
- local rc, re, bid, hc
+ local rc, re, bid, hc, res
bid, re = self._stdresult:buildid()
if not bid then
hc = hash.hash_start()
hash.hash_append(hc, bid)
- hash.hash_append(hc, self:cp_default_result())
+
+ res = result.results[self:cp_default_result()]
+ bid, re = res:buildid()
+ if not bid then
+ return false, re
+ end
+ hash.hash_append(hc, bid)
+
bid = hash.hash_finish(hc)
assertIsStringN(bid)