Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Further improvements to the download page update script. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
872bd8c9ee232f72e67f403411eab1fc |
User & Date: | mistachkin 2015-07-30 18:13:28.670 |
Context
2015-07-30
| ||
18:30 | Update release procedures wiki page. check-in: fc9062d656 user: mistachkin tags: trunk | |
18:13 | Further improvements to the download page update script. check-in: 872bd8c9ee user: mistachkin tags: trunk | |
17:59 | Improve robustness of the download page update script. check-in: a2473ecc36 user: mistachkin tags: trunk | |
Changes
Changes to Setup/updateFileInfo.tcl.
︙ | ︙ | |||
97 98 99 100 101 102 103 104 105 106 107 108 109 110 | set pattern2 {<a\ href=".*?/package/.*?/\d+\.\d+\.\d+\.\d+">(.*?)</a>.*?\((\d+?\.\d+?)\ MiB\).*?sha1: ([0-9A-F]{40})} set pattern3 {href="/downloads/(.*?)"} set pattern4 {\(sha1: ([0-9A-F]{40})\)} # # NOTE: Grab all the data from the file to be updated. # set data [readFile $updateFileName] # | > | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | set pattern2 {<a\ href=".*?/package/.*?/\d+\.\d+\.\d+\.\d+">(.*?)</a>.*?\((\d+?\.\d+?)\ MiB\).*?sha1: ([0-9A-F]{40})} set pattern3 {href="/downloads/(.*?)"} set pattern4 {\(sha1: ([0-9A-F]{40})\)} set pattern5 {\((\d+?\.\d+?) MiB\)} # # NOTE: Grab all the data from the file to be updated. # set data [readFile $updateFileName] # |
︙ | ︙ | |||
184 185 186 187 188 189 190 | } # # NOTE: Attempt to verify that each file name now has the correct SHA1 hash # associated with it on the page. # foreach {dummy3 fileName} [regexp -all -inline -nocase -- $pattern3 $data] \ | | > > > > > > > > > | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | } # # NOTE: Attempt to verify that each file name now has the correct SHA1 hash # associated with it on the page. # foreach {dummy3 fileName} [regexp -all -inline -nocase -- $pattern3 $data] \ {dummy4 fileHash} [regexp -all -inline -nocase -- $pattern4 $data] \ {dummy5 fileSize} [regexp -all -inline -nocase -- $pattern5 $data] { # # NOTE: Get the fully qualified file name based on the configured # directory. # set fullFileName [file join $outputDirectory [file tail $fileName]] # # NOTE: Make sure the file hash from the [modified] data matches the # calculated hash for the file. If not, fail. # set fullFileHash [getFileHash $fullFileName] if {$fileHash ne $fullFileHash} then { puts stdout "ERROR: SHA1 hash mismatch for\ file \"$fullFileName\", have \"$fileHash\" (from data),\ need \"$fullFileHash\" (calculated)." } set fullFileSize [getFileSize $fullFileName] if {$fileSize ne $fullFileSize} then { puts stdout "ERROR: Byte size mismatch for\ file \"$fullFileName\", have \"$fileSize\" (from data),\ need \"$fullFileSize\" (calculated)." } } # # NOTE: Write the [modified] data to the file to be updated. # if {$count > 0} then { writeFile $updateFileName $data } else { puts stdout "WARNING: No changes, update of \"$updateFileName\" skipped." } |
Changes to www/downloads.wiki.
︙ | ︙ | |||
2118 2119 2120 2121 2122 2123 2124 | </td> </tr> <tr> <td width="10"> </td> <td width="30%" valign="top" align="right"> <a href="http://www.sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/1.0.66.0/SQLite-1.0.66.0-setup.exe/download">SQLite-1.0.66.0-setup.exe</a> | < < | 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 | </td> </tr> <tr> <td width="10"> </td> <td width="30%" valign="top" align="right"> <a href="http://www.sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/1.0.66.0/SQLite-1.0.66.0-setup.exe/download">SQLite-1.0.66.0-setup.exe</a> </td> <td width="5"></td> <td valign="top"> Legacy versions, as well as the original support forums, may still be found at <a href="http://sqlite.phxsoftware.com/">http://sqlite.phxsoftware.com/</a>, though there have been no updates to this version since April of 2010. |
︙ | ︙ |