Overview
Comment: | The package downloader client is now working again. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | pkgdSelfUpdate |
Files: | files | file ages | folders |
SHA1: |
e31d9b486a1fd3f899d194615759277f |
User & Date: | mistachkin on 2016-08-19 19:14:18 |
Other Links: | branch diff | manifest | tags |
Context
2016-08-19
| ||
19:37 | When downloading for a self-update, overwrite existing files. check-in: 09a7063c6e user: mistachkin tags: pkgdSelfUpdate | |
19:14 | The package downloader client is now working again. check-in: e31d9b486a user: mistachkin tags: pkgdSelfUpdate | |
04:51 | Refactoring work-in-progress on the package downloader client. check-in: 1b8b52e27d user: mistachkin tags: pkgdSelfUpdate | |
Changes
Modified client/1.0/pkgd.eagle from [d48f797d43] to [e00eecc8fc].
︙ | |||
64 65 66 67 68 69 70 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | - + - - + + + + + + + + + + + + | if {![info exists downloadUri]} then { set downloadUri {${baseUri}?download&ci=trunk&filename=${fileName}} } # # NOTE: The root directory where any persistent packages will be saved. # |
︙ | |||
94 95 96 97 98 99 100 | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | - + | # the file to check, which may or may not exist. # proc isPgpSignatureFileName { fileName } { if {[string length $fileName] == 0} then { return false } |
︙ | |||
117 118 119 120 121 122 123 | 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | - + | # of the file to check, which may or may not exist. # proc isHarpyCertificateFileName { fileName } { if {[string length $fileName] == 0} then { return false } |
︙ | |||
202 203 204 205 206 207 208 | 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 | - - + + + + + + - + + - + + | # proc downloadOneFile { language version fileName localFileName usePgp } { variable baseUri variable downloadUri variable quiet # |
︙ | |||
250 251 252 253 254 255 256 | 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 | - - - - - + + | # useAutoPath argument should be non-zero to modify the auto-path # to include the temporary or persistent directories containing # the downloaded files. # # <public> proc downloadFiles { language version fileNames persistent usePgp useAutoPath } { |
︙ | |||
277 278 279 280 281 282 283 | 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 | - - - - - - - - - - - - - - - + + + + - - - - + - - + + + + - + - - + + - + - - + + + + + - + + + + + + + - + | } set client true } else { error "unsupported language" } |
︙ |
Modified client/1.0/pkgd.eagle.harpy from [d275cf6011] to [24ba4af2c1].
︙ | |||
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/1.0/pkgr.eagle from [9dc3f0e9e9] to [ece670d676].
︙ | |||
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | 120 121 122 123 124 125 126 127 128 129 130 131 132 133 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 | + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + - - - - | }] $value] != -1} then { return true } else { return false } } # # NOTE: This procedure returns the fully qualified name of the directory # where temporary files should be written. The envVarName argument # is an optional extra environment variable to check (first). # proc getFileTempDirectory { {envVarName ""} } { global env if {[string length $envVarName] > 0 && \ [info exists env($envVarName)]} then { return $env($envVarName) } elseif {[info exists env(TEMP)]} then { return $env(TEMP) } elseif {[info exists env(TMP)]} then { return $env(TMP) } else { error [appendArgs \ "please set " $envVarName \ " (via environment) to temporary directory"] } } # # NOTE: This procedure returns a unique temporary file name. A script # error is raised if this task cannot be accomplished. There are # no arguments. # proc getFileTempName {} { if {[isEagle]} then { return [file tempname] } else { |
︙ |
Modified client/1.0/pkgr.eagle.harpy from [8c0f96195a] to [041e568d84].
︙ | |||
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> |