[oe-commits] org.oe.dev oestats-client.bbclass: report METADATA_BRANCH variable

jeremy_laine commit oe at amethyst.openembedded.net
Wed May 21 13:24:28 UTC 2008


oestats-client.bbclass: report METADATA_BRANCH variable

Author: jeremy_laine at openembedded.org
Branch: org.openembedded.dev
Revision: c008a2bf3f9e53cf3bf76a12f1c77b7bac3700dc
ViewMTN: http://monotone.openembedded.org/revision/info/c008a2bf3f9e53cf3bf76a12f1c77b7bac3700dc
Files:
1
classes/oestats-client.bbclass
Diffs:

#
# mt diff -re35bdcf6c9fcbc4e3d6cc9de37e231ab256f245a -rc008a2bf3f9e53cf3bf76a12f1c77b7bac3700dc
#
#
#
# patch "classes/oestats-client.bbclass"
#  from [cbad9e93d8f90cd155c2108cdca1f0bbd27b2000]
#    to [9f4ff853acd1082675e4590ab2bfe012dc7e2fc3]
#
============================================================
--- classes/oestats-client.bbclass	cbad9e93d8f90cd155c2108cdca1f0bbd27b2000
+++ classes/oestats-client.bbclass	9f4ff853acd1082675e4590ab2bfe012dc7e2fc3
@@ -44,7 +44,7 @@ def oestats_send(server, action, vars = 
 
 	# build headers
 	headers = {
-		"User-agent": "oestats-client/0.3",
+		"User-agent": "oestats-client/0.4",
 		"Content-type": "multipart/form-data; boundary=%s" % bound,
 		"Content-length": str(len(body))}
 
@@ -66,6 +66,7 @@ def oestats_start(server, builder, d):
 	try:
 		data = oestats_send(server, "/builds/", {
 			'builder': builder,
+			'branch': bb.data.getVar('METADATA_BRANCH', d, True),
 			'revision': bb.data.getVar('METADATA_REVISION', d, True),
 			'machine': bb.data.getVar('MACHINE', d, True),
 			'distro': bb.data.getVar('DISTRO', d, True),






More information about the Openembedded-commits mailing list