691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
|
error "cannot stage files: still on wrong branch"
}
}
set newFileNames [list]
foreach fileName $fileNames {
if {![createOpenPgpSignature $fileName]} then {
error [appendArgs \
"cannot stage file \"" $fileName "\": OpenPGP signing failed"]
}
lappend newFileNames $fileName
lappend newFileNames [appendArgs $fileName .asc]
}
|
|
|
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
|
error "cannot stage files: still on wrong branch"
}
}
set newFileNames [list]
foreach fileName $fileNames {
if {![::PackageRepository::createOpenPgpSignature $fileName]} then {
error [appendArgs \
"cannot stage file \"" $fileName "\": OpenPGP signing failed"]
}
lappend newFileNames $fileName
lappend newFileNames [appendArgs $fileName .asc]
}
|
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
|
set scriptFileName [file join \
[::PackageRepository::getFileTempDirectory PKGR_UPLOAD_TEMP] \
[appendArgs pkgr_upload_ [::PackageRepository::getUniqueSuffix]]]
writeFile $scriptFileName $script
if {![createOpenPgpSignature $scriptFileName]} then {
error [appendArgs \
"cannot submit package metadata: OpenPGP signing of \"" \
$scriptFileName "\" failed"]
}
set certificate [readFile [appendArgs $scriptFileName .asc]]
|
>
|
|
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
|
set scriptFileName [file join \
[::PackageRepository::getFileTempDirectory PKGR_UPLOAD_TEMP] \
[appendArgs pkgr_upload_ [::PackageRepository::getUniqueSuffix]]]
writeFile $scriptFileName $script
if {![::PackageRepository::createOpenPgpSignature \
$scriptFileName]} then {
error [appendArgs \
"cannot submit package metadata: OpenPGP signing of \"" \
$scriptFileName "\" failed"]
}
set certificate [readFile [appendArgs $scriptFileName .asc]]
|
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
|
# requirements of this tool.
#
if {[haveArgumentData]} then {
#
# NOTE: All necessary arguments were supplied on the command line, use
# batch mode.
#
} else {
#
# NOTE: One or more of the necessary arguments were not supplied on the
# command line, use interactive mode. This will create a graphical
# user interface, using Tk or WinForms. If any of the necessary
# arguments were supplied on the command line, they will be used to
# populate those fields on the graphical user interface.
|
>
>
>
>
>
|
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
|
# requirements of this tool.
#
if {[haveArgumentData]} then {
#
# NOTE: All necessary arguments were supplied on the command line, use
# batch mode.
#
if {[isEagle]} then {
submitEventHandler null null
} else {
submitEventHandler
}
} else {
#
# NOTE: One or more of the necessary arguments were not supplied on the
# command line, use interactive mode. This will create a graphical
# user interface, using Tk or WinForms. If any of the necessary
# arguments were supplied on the command line, they will be used to
# populate those fields on the graphical user interface.
|