Overview
Comment: | Initial work on supporting packages that have multiple historical versions that reside in the same directory. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
6dad70015976bfbe8ba01693caef60ea |
User & Date: | mistachkin on 2016-11-15 05:31:43 |
Other Links: | manifest | tags |
Context
2016-12-17
| ||
05:07 | Initial work on the package uploader client. Add procedures to permit programmatically signing package files. check-in: 9f66ed055c user: mistachkin tags: trunk | |
2016-11-15
| ||
05:31 | Initial work on supporting packages that have multiple historical versions that reside in the same directory. check-in: 6dad700159 user: mistachkin tags: trunk | |
2016-11-13
| ||
21:40 | The client source files are now located in the 'neutral' directory. Update the 'deploy.bat' tool accordingly. check-in: 5458637330 user: mistachkin tags: trunk | |
Changes
Modified client/1.0/neutral/pkgd.eagle from [5d8da8ea5d] to [6a1409dce3].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | namespace eval ::PackageDownloader { # # NOTE: This procedure sets up the default values for all URN configuration # parameters used by the package downloader client. If the force # argument is non-zero, any existing values will be overwritten and # set back to their default values. # |
︙ | |||
74 75 76 77 78 79 80 81 82 83 84 85 86 87 | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | + + + + + + + + + + + + + + + + + + | variable logoutUrn; # DEFAULT: pkgd_logout if {$force || ![info exists logoutUrn]} then { set logoutUrn pkgd_logout } } # # NOTE: This procedure sets up the default values for all version # configuration parameters used by the package downloader client. # If the force argument is non-zero, any existing values will be # overwritten and set back to their default values. # proc setupDownloadVersionVars { force } { # # NOTE: The name of the branch where the package files should be fetched # from. # variable branchName; # DEFAULT: trunk if {$force || ![info exists branchName]} then { set branchName trunk } } # # NOTE: This procedure sets up the default values for all URI configuration # parameters used by the package downloader client. If the force # argument is non-zero, any existing values will be overwritten and # set back to their default values. # proc setupDownloadUriVars { force } { |
︙ | |||
119 120 121 122 123 124 125 | 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 | - + - + | # # NOTE: The URI where the list of supported platforms for a single # package may be found. # variable platformsUri; # DEFAULT: ${baseUri}/${platformsUrn}?... if {$force || ![info exists platformsUri]} then { |
︙ | |||
268 269 270 271 272 273 274 | 286 287 288 289 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 | - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | set loginUrn [appendArgs pkgd_login_ $serverId] set downloadUrn [appendArgs pkgd_file_ $serverId] set logoutUrn [appendArgs pkgd_logout_ $serverId] } else { # # NOTE: Forcibly reset URN variables to their default values. # |
︙ | |||
1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 | 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 | + | # directory on the package file server and may be an empty string. # The fileNames argument is the list of file names to be downloaded. # The usePgp argument should be non-zero when an OpenPGP signature # needs to be verified for the downloaded file. # proc downloadAllPlatforms { language version packageName fileNames usePgp } { variable baseUri variable branchName variable platformsUri variable platformsUrn variable temporaryRootDirectory set temporaryDirectory [file join \ $temporaryRootDirectory [appendArgs \ pkgd_plat_ [::PackageRepository::getUniqueSuffix]]] |
︙ | |||
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 | 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 | + | # file should be written. The usePgp argument should be non-zero when # the OpenPGP signature file needs to be verified for the downloaded # file. # proc downloadOneFile { language version platform fileName localFileName usePgp } { variable baseUri variable branchName variable downloadUri variable downloadUrn # # NOTE: First, build the full relative file name to download from # the remote package repository. # |
︙ | |||
1547 1548 1549 1550 1551 1552 1553 | 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 | - - + + + + - + | # # NOTE: Setup the variables, within this namespace, used by this script. # setupDownloadVars [info script] # |
︙ |
Modified client/1.0/neutral/pkgd.eagle.asc from [46b42dd7f9] to [9df36a56d2].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - - - - - - - - - - - - - + + + + + + + + + + + + + | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository |
Modified client/1.0/neutral/pkgd.eagle.harpy from [500a620acc] to [a7a7bcae74].
︙ | |||
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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | 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/neutral/pkgd.eagle.harpy.asc from [fdcfa0274e] to [782f665a11].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - - - - - - - - - - - - - + + + + + + + + + + + + + | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository |
Modified client/1.0/neutral/pkgr.eagle from [4c4322f0ab] to [e66cb55376].
︙ | |||
2236 2237 2238 2239 2240 2241 2242 | 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 | - + | # NOTE: Emit important diagnostic information related to this # HTTP request here. This may be enhanced in the future. # pageLog [appendArgs \ "attempting to download URL \"" $uri \"...] } |
︙ |
Modified client/1.0/neutral/pkgr.eagle.asc from [ad69ef34ad] to [8833d23a74].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - - - - - - - - - - - - - + + + + + + + + + + + + + | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository |
Modified client/1.0/neutral/pkgr.eagle.harpy from [634204504b] to [33fe6beb55].
︙ | |||
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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | 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/neutral/pkgr.eagle.harpy.asc from [a1d6bec6b9] to [342a1a6138].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - - - - - - - - - - - - - + + + + + + + + + + + + + | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository |