Overview
Comment: | Finish adding support for the package downloader client settings file. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5c33a78a682813118d1a8535dc34cd8e |
User & Date: | mistachkin on 2016-08-19 02:33:15 |
Other Links: | manifest | tags |
Context
2016-08-19
| ||
02:48 | Remove the duplicated 'maybeReadSettingsFile' procedure as it is no longer necessary. check-in: 89022f2b30 user: mistachkin tags: trunk | |
02:33 | Finish adding support for the package downloader client settings file. check-in: 5c33a78a68 user: mistachkin tags: trunk | |
02:27 | In the package downloader client, replace all uses of 'pkgr' with 'pkgd'. check-in: 786ddec706 user: mistachkin tags: trunk | |
Changes
Modified client/pkgd.eagle from [bed106bd42] to [a81d1d41c6].
︙ | ︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # # NOTE: Use our own namespace here because even though we do not directly # support namespaces ourselves, we do not want to pollute the global # namespace if this script actually ends up being evaluated in Tcl. # namespace eval ::PackageDownloader { # # NOTE: This procedure sets up the default values for all configuration # parameters used by the package downloader client. There are no # arguments. # proc setupDownloadVars {} { # | > > > > > > > > > > > > > > > > > > > > > > | 16 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 | # # NOTE: Use our own namespace here because even though we do not directly # support namespaces ourselves, we do not want to pollute the global # namespace if this script actually ends up being evaluated in Tcl. # namespace eval ::PackageDownloader { # # NOTE: This procedure evaluates the package downloader client settings # script file, if it exists. Any script errors raised are not # masked. The script argument must be the fully qualified path # and file name for the primary package downloader client script # file. An identical procedure is defined in the package repository # client. # proc maybeReadSettingsFile { script } { if {[string length $script] == 0 || \ ![file exists $script] || ![file isfile $script]} then { return } set fileName [appendArgs \ [file rootname $script] .settings [file extension $script]] if {[file exists $fileName] && [file isfile $fileName]} then { uplevel 1 [list source $fileName] } } # # NOTE: This procedure sets up the default values for all configuration # parameters used by the package downloader client. There are no # arguments. # proc setupDownloadVars {} { # |
︙ | ︙ | |||
263 264 265 266 267 268 269 270 271 272 273 274 275 276 | addToAutoPath $language $downloadDirectory } } return $downloadDirectories } # # NOTE: Setup the variables, within this namespace, used by this script. # setupDownloadVars # # NOTE: This package requires the package repository client package. | > > > > > > | 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 | addToAutoPath $language $downloadDirectory } } return $downloadDirectories } # # NOTE: Attempt to read optional settings file now. This may override # one or more of the variable setup in the next step. # maybeReadSettingsFile [info script] # # NOTE: Setup the variables, within this namespace, used by this script. # setupDownloadVars # # NOTE: This package requires the package repository client package. |
︙ | ︙ |
Modified client/pkgd.eagle.harpy from [7e894a0ca9] to [b243062f84].
︙ | ︙ | |||
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 | 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>bf96387a-3231-489d-9266-59ef6b7fa8a6</Id> <HashAlgorithm>SHA512</HashAlgorithm> <EntityType>Script</EntityType> <TimeStamp>2016-08-19T02:31:02.1650859Z</TimeStamp> <Duration>-1.00:00:00</Duration> <Key>0x2c322765603b5278</Key> <Signature> TLYaI4hHQeic9I8MPxtoHep+yCOKPrRIVC96u0o2bdEDK7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XDT01UI9i4cpbpu 94bcHW+Z1ahnNUMUmFhFeQuM0YBY6qa1hUUhiBSb8Oe8fsGhYrT1nkirAVMl2btpSxS4YyeGzrOf p816NDvSfX1lVtjxe/1E/5dsytG8/AUennoGFcmEwDAMlUHyuH22q7yTsJP0Thm4wlpaDmG8pHrn WsmVu0KJrA7YpH9nk8NMYKwgVQ4WX0SAAcswNWwIkCbHgAXHD3TrQQoUP2z77NAiepIVZnceXQ== </Signature> </Certificate> |
Modified client/pkgr.eagle from [9dc3f0e9e9] to [b5a25f1f0a].
︙ | ︙ | |||
1157 1158 1159 1160 1161 1162 1163 | } # # NOTE: This procedure evaluates the package repository client settings # script file, if it exists. Any script errors raised are not # masked. The script argument must be the fully qualified path # and file name for the primary package repository client script | > | | 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 | } # # NOTE: This procedure evaluates the package repository client settings # script file, if it exists. Any script errors raised are not # masked. The script argument must be the fully qualified path # and file name for the primary package repository client script # file. An identical procedure is defined in the package downloader # client. # proc maybeReadSettingsFile { script } { if {[string length $script] == 0 || \ ![file exists $script] || ![file isfile $script]} then { return } |
︙ | ︙ |
Modified client/pkgr.eagle.harpy from [3faa5a2158] to [79c7230e15].
︙ | ︙ | |||
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 | 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>a1c4c2da-a7cb-4d62-94cc-cef93fc1c5ef</Id> <HashAlgorithm>SHA512</HashAlgorithm> <EntityType>Script</EntityType> <TimeStamp>2016-08-19T02:30:38.2090312Z</TimeStamp> <Duration>-1.00:00:00</Duration> <Key>0x2c322765603b5278</Key> <Signature> ZAg30xLB/NnK4rU7WRfpNcM+zG5EUpdBEB+0G3VsuA9QbFjs9jeD1qvSjXIroKkVULs1cN7ckWUd pVuTv8kuo3BY8IbXSKgYI3GaCUZp0y6T7tjvTPMYXQZrgu/OR14H3qk5Le0dEpjgAg6E4nvqaZyN Mp5gbKxt0++hxpel+fN6zCyFzHzwskL3XsPwbmnpwP7dhjOVTN2Or9tHA3gy9zqTOEkg15VPRuew 50NZwa8FpE1TFB/s6E7sFOnO7wQ8k1bpN77icK3OokV3ywJMNBb+ud4UkthvCpstyIKl5Yx7F5eD Yu8LAx7UFooXEDWZWfalhQw6buQGtkWfOf67iEEIfsZeV8Pas6Lf9JAQ8SH6dPrn4HqBBUdjni15 ALEzc9oMbvyEYrT4qlo71muXmhPNA0sAYx8WU3mrM0QB7u7TagNAa6632SUokOs8QU/KfiA3YeUi SVxhcHLvLV+bYXOk/o/aScr/XkJNtSWVcv6HHDvTjPJJzjD42hVc/ZV11gjT/qtYRKXwiCkjqfdb /6a7974dqqZo4z+aJWuKU0cdXLKSmj3hbMXJ7YtYZRD/UdneXEgNgyN3jTzTEqoNLclE8wDnw+aa K7FpLF15JkQBJ9jR5l0RmTcItTDNiuc4LgSNYxX92ZBJN/1cy3NuvzdaW4P1vjttFztCed7itJwB mlpnNSskfSMrxIEXXPUE3nphmEQaEXr1qywqECuGu8jXpNEzrIh92HiLdo6mLeNtETjEVDRYgSMK uxm0IuKc9AZJs3PVoP/cFAqEjn4eH53WQa+HquZCHu29d9vTG8e4RDz+J8KuXnfzGqMfhtTFEd+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