Overview
| Comment: | Updated to incldue a description once building has started | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | 
| Files: | files | file ages | folders | 
| SHA1: | 
0b8d107e1473c145486508e35f853326 | 
| User & Date: | rkeene on 2014-07-23 04:38:39 | 
| Other Links: | manifest | tags | 
Context
| 
   2014-07-23 
 | ||
| 04:59 | Moved description check-in: 0478a7f8f6 user: rkeene tags: trunk | |
| 04:38 | Updated to incldue a description once building has started check-in: 0b8d107e14 user: rkeene tags: trunk | |
| 01:34 | Updated to define a path to Tclkit check-in: 99ac6273b2 user: rkeene tags: trunk | |
Changes
Modified build/web/building.cgi from [f8abb77a8c] to [2572ff68c9].
| ︙ | ︙ | |||
28 29 30 31 32 33 34 35 36 37 38 39 40 41  | 
		set outfile [file join $workdir $filename]
		set logfile "${outfile}.log"
	} else {
		set status "Queued"
	}
}
if {[info exists outfile]} {
	if {[file exists $outfile]} {
		set status "Complete"
		set terminal 1
		set url "http://kitcreator.rkeene.org/kits/$key/$filename"
 | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 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 82 83 84 85 86 87 88  | 
		set outfile [file join $workdir $filename]
		set logfile "${outfile}.log"
	} else {
		set status "Queued"
	}
}
if {[info exists buildinfo]} {
	set description "Tcl $buildinfo(tcl_version)"
	append description ", KitCreator $buildinfo(kitcreator_version)"
	append description ", Platform $buildinfo(platform)"
	foreach {option value} $buildinfo(options) {
		switch -- $option {
			"kitdll" {
				if {$value} {
					append description ", Built as a Library"
				}
			}
			"threaded" {
				if {$value} {
					append description ", Threaded"
				} else {
					append description ", Unthreaded"
				}
			}
			"debug" {
				if {$value} {
					append description ", With Symbols"
				}
			}
			"storage" {
				switch -- $value {
					"mk4" {
						append description ", Metakit-based"
					}
					"zip" {
						append description ", Zip-kit"
					}
					"cvfs" {
						append description ", Static Storage"
					}
				}
			}
		}
	}
	if {[llength $buildinfo(packages)] > 0} {
		append description ", Packages: [join $buildinfo(packages) {, }]"
	} else {
		append description ", No packages"
	}
}
if {[info exists outfile]} {
	if {[file exists $outfile]} {
		set status "Complete"
		set terminal 1
		set url "http://kitcreator.rkeene.org/kits/$key/$filename"
 | 
| ︙ | ︙ | |||
60 61 62 63 64 65 66  | puts "" puts "<html>" puts "\t<head>" puts "\t\t<title>KitCreator, Web Interface</title>" puts "\t</head>" puts "\t<body>" puts "\t\t<h1>KitCreator Web Interface</h1>"  | > > > | | |  | 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132  | 
puts ""
puts "<html>"
puts "\t<head>"
puts "\t\t<title>KitCreator, Web Interface</title>"
puts "\t</head>"
puts "\t<body>"
puts "\t\t<h1>KitCreator Web Interface</h1>"
if {[info exists description]} {
	puts "\t\t<p><b>Description:</b> $description"
}
puts "\t\t<p><b>Status:</b> $status"
if {[info exists url]} {
	puts "\t\t<p><b>URL:</b> <a href=\"$url\">$url</a>"
}
if {[info exists logfile]} {
	catch {
		set fd [open $logfile]
		set logdata [read $fd]
		close $fd
		puts "\t\t<p><b>Log:</b><pre>\n$logdata</pre>"
	}
}
puts "\t</body>"
puts "</html>"
 |