I have made a small script for the CHDK-shell to download & unzip the recent trunk version. Place the attached exe file in the chdk-shell folder und run it.
We can get the recent revision from the svn address. With this information we can create the link for the zip file.https://www.assembla.com/code/chdk/subversion/nodes/<revision>/trunk?_format=zip
The structure of the zip file is not the same of the trace file. You can not use the unzip button from the shell.
; get recent trunk from assembla as zip file
InetGet("http://subversion.assembla.com/svn/chdk/trunk/","revision.txt")
$file=FileOpen("revision.txt")
$line = FileReadLine($file, 1)
FileClose($file)
FileDelete("revision.txt")
$rev=StringRegExpReplace($line,"[^0-9]","")
$dirtrunk=@ScriptDir & "\trunk\trunk" & $rev
$ziptrunk=$dirtrunk & "\trunk" & $rev & ".zip"
DirCreate($dirtrunk)
InetGet("https://www.assembla.com/code/chdk/subversion/nodes/" & $rev & "/trunk?_format=zip", $ziptrunk)
If FileExists(@ScriptDir & "\CHDK-Shell\7za.exe") Then
RunWait(@ScriptDir & '\CHDK-Shell\7za.exe x "' & $ziptrunk & '" -o' & $dirtrunk & ' * -r -aoa')
MsgBox(0, "Ready", "Trunk revision " & $rev & " loaded." & @CR & "Unzipped in " & $dirtrunk)
Else
MsgBox(0, "Ready", "Trunk revision " & $rev & " loaded." & @CR & "Could not unzip!")
EndIf
I hope that helps for the moment. I'm sure Whim already working on a good solution.
msl