Differences From Artifact [5efeea4271]:
- File appfsd.tcl — part of check-in [eb52173aaa] at 2014-11-12 08:36:04 on branch trunk — Corrected issue where package name was not considered when looking up package (user: rkeene, size: 22316) [annotate] [blame] [check-ins using]
To Artifact [f5542ce16c]:
- File appfsd.tcl — part of check-in [d6262bea99] at 2014-11-12 15:23:07 on branch trunk — Updated to fetch/update host index before fetching manifest (user: rkeene, size: 22359) [annotate] [blame] [check-ins using]
| ︙ | |||
507 508 509 510 511 512 513 514 515 516 517 518 519 520 | 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 | + |
lappend retval "latest"
}
return $retval
}
"files" {
catch {
::appfs::getindex $pathinfo(hostname)
::appfs::getpkgmanifest $pathinfo(hostname) $pathinfo(package_sha1)
}
set retval [::appfs::db eval {SELECT DISTINCT file_name FROM files WHERE package_sha1 = $pathinfo(package_sha1) AND file_directory = $pathinfo(file);}]
if {[info exists pathinfo(package)] && [info exists pathinfo(hostname)] && [info exists pathinfo(file)]} {
_as_user {
|
| ︙ |