649
650
651
652
653
654
655
656
657
658
659
660
|
649
650
651
652
653
654
655
656
657
658
659
660
661
662
|
-
-
+
+
+
+
|
} else {
set repositories ~/repositories
set checkouts ~/checkouts
}
set message [string trim [subst {
The package client checkout directory has an issue: %error%
set message [subst {
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:
|
667
668
669
670
671
672
673
674
675
676
677
|
669
670
671
672
673
674
675
676
677
678
679
|
-
+
|
After the above steps have been completed, package uploader client
tool can be executed using a command very similar to the following:
tclsh [joinPath ${checkouts} client 1.0 neutral pkgr_upload.eagle]
}]]
}]
if {![info exists checkoutDirectory]} then {
error [string map [list \
%error% "checkout directory is missing"] \
$message]
|
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
|
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
|
-
+
-
+
|
#
proc fossilMustBeInstalled {} {
variable fossilVersionCommand
variable fossilVersionPattern
set message [string trim {
set message {
Cannot use Fossil: it does not appear to be installed.
Fossil may be downloaded from "https://www.fossil-scm.org/"
and then installed by copying the (single) Fossil binary to
a directory that lies somewhere along the executable search
path.
Alternatively, it may be possible to install Fossil via the
package management subsystem included with your operating
system.
}]
}
if {[isEagle]} then {
if {[catch {
eval exec -nocarriagereturns -stdout output -stderr error \
$fossilVersionCommand
|