t/README: Add SMOKE_{COMMENT,TAGS}= to smoke_report target
The smoke server supports a free form text field with comments about a report, and a comma delimited list of tags. Change the smoke_report target to expose this functionality. Now smokers can send more data that explains and categorizes the reports they're submitting. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Aug 8, 2010 at 14:49 UTC
e38efac87d4542d2368ad772d1e9dd51ab650acb
2 files changed
+13
t/Makefile
+6
@@ -69,6 +69,12 @@ SMOKE_UPLOAD_FLAGS =
69
ifdef SMOKE_USERNAME
70
SMOKE_UPLOAD_FLAGS += -F username="$(SMOKE_USERNAME)" -F password="$(SMOKE_PASSWORD)"
71
endif
72
+ifdef SMOKE_COMMENT
73
+ SMOKE_UPLOAD_FLAGS += -F comments="$(SMOKE_COMMENT)"
74
+endif
75
+ifdef SMOKE_TAGS
76
+ SMOKE_UPLOAD_FLAGS += -F tags="$(SMOKE_TAGS)"
77
+endif
78
79
smoke_report: smoke
80
curl \
t/README
+7
@@ -600,6 +600,13 @@ and password you'll be able to do:
600
601
SMOKE_USERNAME=<username> SMOKE_PASSWORD=<password> make smoke_report
602
603
+You can also add an additional comment to attach to the report, and/or
604
+a comma separated list of tags:
605
+
606
+ SMOKE_USERNAME=<username> SMOKE_PASSWORD=<password> \
607
+ SMOKE_COMMENT=<comment> SMOKE_TAGS=<tags> \
608
+ make smoke_report
609
+
610
Once the report is uploaded it'll be made available at
611
http://smoke.git.nix.is, here's an overview of Recent Smoke Reports
612
for Git: