Overview
Comment: | Move the downloader client temporary directory name building logic into the new 'getUniqueTempDirectory' procedure. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7031dfbb46654341be71abca5d92fd05 |
User & Date: | mistachkin on 2017-10-03 21:15:24 |
Other Links: | manifest | tags |
Context
2017-10-03
| ||
21:30 | Emit diagnostic messages for temporary directories used by the package downloader client. check-in: 0018648ed7 user: mistachkin tags: trunk | |
21:15 | Move the downloader client temporary directory name building logic into the new 'getUniqueTempDirectory' procedure. check-in: 7031dfbb46 user: mistachkin tags: trunk | |
19:26 | Emit a diagnostic message if a package cannot be downloaded because it is needed by the package downloader itself. check-in: 1e32d114b1 user: mistachkin tags: trunk | |
Changes
Modified client/1.0/neutral/pkgd.eagle from [79c1d13e80] to [2e856ff1bf].
︙ | ︙ | |||
1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 | # # NOTE: Always return an empty string (i.e. and not any response data). # return "" } # # NOTE: This procedure checks if there is a higher version available of the # specified package on the package file server. The language argument # must be one of the literal strings "eagle", "tcl", or "client". The # version argument must be one of the literal strings "8.4", "8.5", or # "8.6" when the language is "tcl" -OR- the literal string "1.0" when # the language is either "eagle" or "client". The platform argument # must be an empty string -OR- one of the literal strings "msil" or # "neutral", or one of the values returned by the [getPlatform] # procedure. An empty string means that the associated package does # not require a specific platform. The packageName argument is a # directory name relative to the language and version-specific # directory on the package file server and may be an empty string. # The usePgp argument should be non-zero when an OpenPGP signature # file needs to be downloaded and verified for the downloaded file. # # <public> proc checkForHigherVersion { language version platform packageName usePgp } { variable clientDirectory variable persistentRootDirectory | > > > > > > > > > > > > > > > > > > > > < | < < | 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 | # # NOTE: Always return an empty string (i.e. and not any response data). # return "" } # # NOTE: This procedure returns a unique temporary directory where one or # more files may be saved. The prefix argument is a prefix for the # directory name and it may be an empty string. There is no attempt # to actually create the resulting directory. # proc getUniqueTempDirectory { {prefix ""} } { variable temporaryRootDirectory set suffix [::PackageRepository::getUniqueSuffix] if {[string length $prefix] > 0} then { return [file join $temporaryRootDirectory \ [appendArgs $prefix $suffix]] } else { return [file join $temporaryRootDirectory \ $suffix] } } # # NOTE: This procedure checks if there is a higher version available of the # specified package on the package file server. The language argument # must be one of the literal strings "eagle", "tcl", or "client". The # version argument must be one of the literal strings "8.4", "8.5", or # "8.6" when the language is "tcl" -OR- the literal string "1.0" when # the language is either "eagle" or "client". The platform argument # must be an empty string -OR- one of the literal strings "msil" or # "neutral", or one of the values returned by the [getPlatform] # procedure. An empty string means that the associated package does # not require a specific platform. The packageName argument is a # directory name relative to the language and version-specific # directory on the package file server and may be an empty string. # The usePgp argument should be non-zero when an OpenPGP signature # file needs to be downloaded and verified for the downloaded file. # # <public> proc checkForHigherVersion { language version platform packageName usePgp } { variable clientDirectory variable persistentRootDirectory verifyLanguageAndVersion $language $version isClient verifyPlatform $platform platform set temporaryDirectory [getUniqueTempDirectory pkgd_ver_] if {$isClient} then { set persistentDirectory $clientDirectory } else { verifyPersistentRootDirectory set persistentDirectory $persistentRootDirectory } |
︙ | ︙ | |||
1425 1426 1427 1428 1429 1430 1431 | # needs to be verified for the downloaded file. # proc downloadAllPlatforms { language version packageName fileNames usePgp } { variable baseUri variable branchName variable platformsUri variable platformsUrn | < | < < | 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 | # needs to be verified for the downloaded file. # proc downloadAllPlatforms { language version packageName fileNames usePgp } { variable baseUri variable branchName variable platformsUri variable platformsUrn # # NOTE: Verify that the package language and version are correct. # verifyLanguageAndVersion $language $version isClient set temporaryDirectory [getUniqueTempDirectory pkgd_plat_] set localFileName [file join $temporaryDirectory manifest.txt] file mkdir [file dirname $localFileName] # # NOTE: First, build the final URI to download from the remote package # repository, performing any applicable substitutions in the URI |
︙ | ︙ | |||
1636 1637 1638 1639 1640 1641 1642 | # -allowUpdate option should be non-zero to allow existing package # files to be overwritten. # # <public> proc downloadFiles { language version platform fileNames options } { variable clientDirectory variable persistentRootDirectory | < | < < | 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 | # -allowUpdate option should be non-zero to allow existing package # files to be overwritten. # # <public> proc downloadFiles { language version platform fileNames options } { variable clientDirectory variable persistentRootDirectory variable viaInstall verifyLanguageAndVersion $language $version isClient verifyPlatform $platform platform set temporaryDirectory [getUniqueTempDirectory pkgd_lib_] if {$isClient} then { set persistentDirectory $clientDirectory } else { verifyPersistentRootDirectory set persistentDirectory $persistentRootDirectory } |
︙ | ︙ |
Modified client/1.0/neutral/pkgd.eagle.asc from [0437baedb6] to [8a86163b69].
1 2 3 4 | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository | | | | | | | | | | | | | | | 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 iQIcBAABCAAGBQJZ0/24AAoJEFAslq9JXcLZ2AIP/1B163piGpqzJauVGMzY05sv Tv8Xpdd4q4U/0un0EntVrs+X5E06T7LSUMhjODeEdHtPojLBmJHnCH+1MI7nQAF/ hZ4pqwBu2iCEmXlwEPvTe7DXuoYujQB5O6pNrDerVSff1ZtXoMeuJyOXw5uJrggJ ZIAemYUPX5Psr3HUpj6vhluo0YZNR6FQzs58BEdeDlcfhZYGgdN2C4kO8wkYF8yS LqP9pVEaowBB8lahAQAfTctnPdY25jFteNvP2Uis5cXqEslmVrtUj8uWODDzldzV ng6K/x9a1TFHA/4dX7UxoQOQ06L+nOTrQnYvUmd1uw/quQiHwyzFdZGb1Na880oN Jch8jHmjjx8qiY60QxbsEkluSkKgyE9qXzX4qe2EZ6pO2EyM4dP42WoH5pKHiAPi hdU7vTx2EIqhbA0g0x6k5WRhVJC9eTmTPxMg4ARsFH7GP1oDHvOk79rTLy6nyauS PxpAlRV+q6FsJ5qcFhw2tSX+bxiukt75lTp8V21+hUUNU3LN9894iRLhDgfxoSad XUr5H6B+KdsnNGZBD+g8jsQva8k4aGZpdXh64+Th4PEc5ysPREzgQlVyTE4IahPq 5SCx0rdO4BXRSQfqXVoL5AJacqP+7uGPGGBYFlPKHBlqE9Scqu6Clri0PQXD0LHP nPIxTHuRnmP8O5twWTDB =Ffna -----END PGP SIGNATURE----- |
Modified client/1.0/neutral/pkgd.eagle.harpy from [7854d61389] to [4f952ebfe2].
︙ | ︙ | |||
17 18 19 20 21 22 23 | 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> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> <Id>98b37240-2e4a-4735-b911-571429d0a5b7</Id> <HashAlgorithm>SHA512</HashAlgorithm> <EntityType>Script</EntityType> <TimeStamp>2017-10-03T21:14:12.2267811Z</TimeStamp> <Duration>-1.00:00:00</Duration> <Key>0x9559f6017247e3e2</Key> <Signature> VE+NIHNJ2x4z5+vlVhU3O+3tOPW2PmTvr1k1W7bY/yk2B6A4gvmQtqNE7SIQQbyGxI2EMuhy0K8g +YrVlnThHbxoCCOoqBOxx61NxbnT9n5TgvwlKS462CgquP2te66tnWx6Y4JtWq7VNaz540UvIqy0 pKXWnMRPeXFB4t4QQtWLv+iVQ3rZD30uglrcZ6onMO1q5+noRbsp79SotVP5c/9i/caMcBHCX4NX erG+kVSFrqOIl3UktojJT+yO16Yz6Z2zGtfwinvVPDFnMWO0MFxrloOJ25n42IxY6huBtucQVSRO OJwpmNr6io6DoXnROpxfln0d3TjOW5TXEWsw8P4WB3vHknQVuC7xBOaXBMuI3YUx0m7/syvXcM7O bbmUvBZnq0/DP4gwhwzHrIB7aued/zDLrAr+FAu0Iq0qrCaKXUZBSexod/KKtLM7PRqDdfpT0Ca6 PkmWRw5Bp9vGf+/PjcFkRWPvXlcGd1prMotIK2Ib2JNl+YmAJYl2ebKsRep/E/1ZgvvD3ELkvZUc Rv8f8u4ADs701RaFBhy71tC0YD7A53BNZi1ez5eij+zXjV8V6BRxFEkX2orMiEdt75kx+WlWm06A 2DyVxsNWCGUSWlOvNI5vhUFTrl95T4/uclk6Ea4J13eM7PmsZ4eWB4KhzlZOpoYG02XhSndFiqZx sROy1rDpbndZEr/NZJkCkduo9xqFCJM9JR/LLY2ujehikdxNXtKY/o/R7M0ly/fn5xavq9haOBtI fAENGE8W1WlIesG1FLPmyGykrY7021DRFTnJYtFG91YKl1NsZbkWoPmKXYJx+fEu+wCfoLLvFwk/ /8UhLFrkRGqJNBWfM6K4c1vdlwHRciovQrDhGLfnvzoqOc/kD7pPn+mMctPtognyk72OOnLigOTd +ioQOQ/W/ysqLFcXVUXVRaBC6PsB3rEyXaqlM/45hhia6uzPdS1JW/nAZOiGxpN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CKQb Ei9yCPqYtXOeTYdSOCC50k7ri+qzf8jMxA3Zt7PsZr9WPunVRBO9WBVCOOAXOw1IyEIeJxqz+bga RgqBHv9UwoaqvHfS7fDbYC8GH1DNxi23mdy+SYKNLenwKezsVvO9jau6VbM3q3V0Boh9g+k38OHx XnbyCg/vmCx3fI90ic0BjnXGqNyOCHfxYxA0v23HvacElbmiiWtm3ua7h3ayCNuo8XuNPBEOUbQ+ +T0lwMpIwzbdARNHlGE19kgwAJcWVGMQBE9X2am40Jfmy6QunuqLJONfhglYi+002W7ZL8MDecOA Wb89+tWXf9+Exx1MfSDq6bgglup9pp9Ces8KDYgH5oCDUJ088EQvWjT374tCq9d1iXguRzcxcdU9 DaX2UaaM/cXk0+Zkl6B54QG23FSvYx7B0L8co5gVvvIq1ZY1cen3UvK7oYsQOs/gIVw7nTJAfssd U2O/osdysFRaq4fMqsRkS8StkRTOlSFUePv3FeNgMvxle5lbp/73UemXoRVMC7gASb+4qvnVc5OR QeJeFf8wgGoIGRRoGqyqmgORXIsEfCXuRBwEzlfBvXsaOSuNwVbGAVX4krXQM3MSOBuQbC3KT7sp 6QmmDn3BfBSEkBzTChGhLlv5hHkRxRHvAdtxx9u1vpNZum6KsiT0ehDr4ge2gT6/s4wGVwk= </Signature> </Certificate> |
Modified client/1.0/neutral/pkgd.eagle.harpy.asc from [dcfb1afdf9] to [777ba492d6].
1 2 3 4 | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository | | | | | | | | | | | | | | | 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 iQIcBAABCAAGBQJZ0/25AAoJEFAslq9JXcLZ4qIP/0Qv9yS1DbCsOi1ZUjuwHQNs bhMk9uYaG3GwAiy2SWCbxqtV8TsFW/xaEBPXhOnM0yAQNfxPNTc954z1kIVyGtpH d29I19lQV8mI8tXwZhmrIT/VNDPPVnQ6p2iNueK0exfOVzU6H8iRU1zqNEhtrQ/h wegaWLcEyL0L4Mqb8pa7oOBDf+H6oSB8gYtezt2Uaxj5GFdaaTWMx8Id1T9KYQE5 sviM9oIjqjcJvwdvi7VjHEvsL+NxXLQwOBFguYe9Zjl8rNOi2RYgXW5MAI11upiQ ///Gv7sCiB3sgEpNGy1LTm8txcT3piHQhzq65s5XBh7NvIpZscZuWc1vtDUsj/ro xkmTQI+JH+SEZZ/OyD8yhoa6QoHS3LxkjX7R36/qYcG3PpnpEHN8tn0+3Y8js8fr JDmR3pfmIReT6U/JOAM0Ij2vCvdau425zKPKRnn4C0A58o2SFtDVHUdK74gDkQIv Cs77ym0dmNDLzXHATygAeQp43ks3TXuqyC/P5W4fCohy6V0At0MfEk9z9jL2QA4b bbkR7R/MWbgDOM0NyTk8CX+tQMzg1nLJ/rqSO/27h0wdyJFPUEbdXpvW5L6gtaoa +PNO4vNi0QHoSK2T5Jk9Hwjzp4EX2Bw76VEreE2dLcTWOiTKr42gbDp6lhvuKIVj 3c1oOJLcHE9ClVK2QWSc =5Psy -----END PGP SIGNATURE----- |