Check-in [d6262bea99]
Overview
Comment:Updated to fetch/update host index before fetching manifest
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d6262bea99c643e8237d5122b0baca84cbf708cc
User & Date: rkeene on 2014-11-12 15:23:07
Other Links: manifest | tags
Context
2014-11-14
04:05
Tweaked hashing algorithm, added destructor for threads so that as threads terminate they are cleaned up check-in: 770584ac09 user: rkeene tags: trunk
2014-11-12
15:23
Updated to fetch/update host index before fetching manifest check-in: d6262bea99 user: rkeene tags: trunk
08:36
Corrected issue where package name was not considered when looking up package check-in: eb52173aaa user: rkeene tags: trunk
Changes

Modified appfsd.tcl from [5efeea4271] to [f5542ce16c].

   507    507   					lappend retval "latest"
   508    508   				}
   509    509   
   510    510   				return $retval
   511    511   			}
   512    512   			"files" {
   513    513   				catch {
          514  +					::appfs::getindex $pathinfo(hostname)
   514    515   					::appfs::getpkgmanifest $pathinfo(hostname) $pathinfo(package_sha1)
   515    516   				}
   516    517   
   517    518   				set retval [::appfs::db eval {SELECT DISTINCT file_name FROM files WHERE package_sha1 = $pathinfo(package_sha1) AND file_directory = $pathinfo(file);}]
   518    519   
   519    520   				if {[info exists pathinfo(package)] && [info exists pathinfo(hostname)] && [info exists pathinfo(file)]} {
   520    521   					_as_user {