Overview
Comment: | All package scripts must now use Unix-style line-endings. Make the downloader use a unique temporary directory name per run. Normalize file names used by the downloader. Enhance the downloader so it verifies PGP signatures if requested, adds to the auto-path only if requested, and returns the final list of directories. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
0f6fc67b10ad890ef6544d1d477f0e50 |
User & Date: | mistachkin on 2016-08-19 01:42:40 |
Other Links: | manifest | tags |
Context
2016-08-19
| ||
02:27 | In the package downloader client, replace all uses of 'pkgr' with 'pkgd'. check-in: 786ddec706 user: mistachkin tags: trunk | |
01:42 | All package scripts must now use Unix-style line-endings. Make the downloader use a unique temporary directory name per run. Normalize file names used by the downloader. Enhance the downloader so it verifies PGP signatures if requested, adds to the auto-path only if requested, and returns the final list of directories. check-in: 0f6fc67b10 user: mistachkin tags: trunk | |
01:20 | For the AES Tcl package, use PGP signatures. check-in: 96c1cb0da8 user: mistachkin tags: trunk | |
Changes
Modified client/pkgd.eagle from [c4607ff2e7] to [0c6ca1e162].
︙ | |||
82 83 84 85 86 87 88 89 90 91 92 93 94 95 | 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | + | # NOTE: This procedure adds a directory to the auto-path of the specified # language (i.e. native Tcl or Eagle). The directory will not be # added if it is already present. The language argument must be the # literal string "eagle" or the literal string "tcl". The directory # argument is the fully qualified path for the directory to add to # the auto-path. # # <public> proc addToAutoPath { language directory } { # # NOTE: Add the specified directory to the auto-path if not already # present. # if {[string length $language] == 0 || $language eq "eagle"} then { if {[isEagle]} then { |
︙ | |||
133 134 135 136 137 138 139 | 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 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 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 | - + + + + + + + - + + - + + + + - + - + - + + + + - - + + - - + + + + - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - - - + + + + + + | # literal string "tcl". The version argument must be the literal # string "8.4", "8.5", or "8.6" when the language is "tcl" -OR- # the literal string "1.0" when the language is "eagle". The # fileNames argument must be a well-formed list of file names to # download, each one relative to the language/version-specific # directory on the package file server. The persistent argument # should be non-zero if the downloaded files should be saved to |
︙ |
Modified client/pkgd.eagle.harpy from [82723fcc45] to [3ca43ce2f2].
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | - + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + | THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED. --> <Certificate xmlns="https://eagle.to/2011/harpy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Protocol>None</Protocol> <Vendor>Mistachkin Systems</Vendor> |
Modified client/pkgr.eagle from [637e610e45] to [9dc3f0e9e9].
︙ | |||
336 337 338 339 340 341 342 | 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 | - + + | # NOTE: This procedure issues an HTTP request that should return metadata # that can be used to load and/or provide the specified package. # The apiKey argument is the API key to use -OR- an empty string if # a public package is being looked up. The package argument is the # name of the package, it cannot be an empty string. The version # argument is the specific version being looked up -OR- an empty # string for any available version. This procedure may raise script |
︙ | |||
366 367 368 369 370 371 372 | 367 368 369 370 371 372 373 374 375 376 377 378 379 380 | - | if {$verboseUriDownload} then { pkgLog [appendArgs \ "raw response data is: " $data] } set data [string map [list <\; < >\; > "\; \" &\; &] $data] set data [string map [list \r\n \n \r \n] $data] |
︙ |
Modified client/pkgr.eagle.harpy from [098ea262fd] to [3faa5a2158].
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | - + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + | THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED. --> <Certificate xmlns="https://eagle.to/2011/harpy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Protocol>None</Protocol> <Vendor>Mistachkin Systems</Vendor> |