Check-in [e9fdb85e3f]
Overview
Comment:More metadata in API
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e9fdb85e3fafba30b830b81b11cf9301244c70f8
User & Date: rkeene on 2019-02-28 09:20:31
Other Links: manifest | tags
Context
2019-02-28
09:28
Slightly more safety check-in: ff41f3e354 user: rkeene tags: trunk
09:20
More metadata in API check-in: e9fdb85e3f user: rkeene tags: trunk
08:55
Better formatting of results check-in: 5445a8ff26 user: rkeene tags: trunk
Changes

Modified build/utils/download-api-client from [5f112c56ea] to [fe769d0473].

55
56
57
58
59
60
61













62
63
64
65
66
67
68
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81







+
+
+
+
+
+
+
+
+
+
+
+
+








	exit 1
fi

kit_url="$(jq -crM .kit_url <<<"${info}")"
if [ -z "${kit_filename}" ]; then
	kit_filename="${kit_url//*\//}"
	case "${kit_filename}" in
		*.*)
			kit_filename_base="${kit_filename//.*/}"
			kit_filename_ext=".${kit_filename//*./}"
			;;
		*)
			kit_filename_base="${kit_filename}"
			kit_filename_ext=''
			;;
	esac
	kit_filename_platform="$(jq -crM .platform <<<"${info}")"
	kit_filename_tcl_version="$(jq -crM .tcl_version <<<"${info}")"
	kit_filename="${kit_filename_base}-${kit_filename_platform}-${kit_filename_tcl_version}${kit_filename_ext}"
fi

curl -sSL "${kit_url}" > "${kit_filename}"
chmod 755 "${kit_filename}"

echo "Wrote: ${kit_filename}"
exit 0

Modified build/web/building.cgi from [ce6b7093ed] to [acd01c9456].

142
143
144
145
146
147
148



149
150
151
152
153
154
155
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158







+
+
+







		terminal $terminalBoolean \
	]
	if {[string tolower $status] eq "complete"} {
		dict set resultsDict kit_url $url
	}
	if {[string tolower $status] in {complete building}} {
		dict set resultsDict build_log_url $build_log_url
		dict set resultsDict tcl_version $buildinfo(tcl_version)
		dict set resultsDict kitcreator_version $buildinfo(kitcreator_version)
		dict set resultsDict platform $buildinfo(platform)
	}
}

switch -exact -- $resultFormat {
	"html" {
		# Handled below
	}