391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
|
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
|
-
+
|
# "win64-ia64", or "win64-x64". The fileNames argument is the list of
# (fully?) qualified file names to be downloaded when the associated
# package is being provided. The options argument is reserved for
# future use, it should be an empty list.
#
proc createRepositoryScript {
serverId versionId language version platform fileNames options } {
::PackageDownloader::verifyServerId $serverId
::PackageRepository::verifyServerId $serverId
::PackageDownloader::verifyVersionId $versionId
::PackageDownloader::verifyLanguageAndVersion $language $version isClient
set prologue ""
if {[string length $serverId] > 0} then {
append prologue " ::PackageDownloader::useServerId " $serverId \n
|
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
|
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
|
-
+
|
#
proc getSubmitUri {} {
#
# NOTE: Fetch the base URI for the package repository server. If it
# is not available for some reason, just return an empty string
# to the caller (i.e. as we cannot do anything productive).
#
set baseUri [::PackageRepository::getLookupBaseUri]
set baseUri [::PackageRepository::getSubmitBaseUri]
if {[string length $baseUri] == 0} then {
return ""
}
#
# NOTE: Build the HTTP request URI and include the standard query
|
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
|
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
|
-
+
|
set checkouts C:/checkouts
} else {
set repositories ~/repositories
set checkouts ~/checkouts
}
set message [subst {
The package client checkout directory has an issue:
The package client checkout directory has an issue:
%error%
Prior to running the package uploader client tool, Fossil must be
installed -AND- the Package File Server repository must be cloned
and opened, using commands very similar to the following:
|