X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=extra%2Fzealot%2Ffactor%2Ffactor.factor;fp=extra%2Fzealot%2Ffactor%2Ffactor.factor;h=dbf172aa47251d8f45ca7789e72371ba909105c0;hp=bd13fc93dcfb6255965951f2b6fcabaff24ff59a;hb=e20bf9b97fe60ebe18b8972b2b56fe681fce64a8;hpb=db559f6f98522594be8ef9a9392fb6d95fab3abe diff --git a/extra/zealot/factor/factor.factor b/extra/zealot/factor/factor.factor index bd13fc93dc..dbf172aa47 100644 --- a/extra/zealot/factor/factor.factor +++ b/extra/zealot/factor/factor.factor @@ -2,13 +2,12 @@ ! See https://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs bootstrap.image calendar cli.git combinators combinators.short-circuit concurrency.combinators -environment formatting http.client io io.directories -io.encodings.utf8 io.launcher io.pathnames kernel math.parser -memory modern.paths namespaces parser.notes prettyprint -regexp.classes sequences sequences.extras sets splitting system -system-info threads tools.test tools.test.private vocabs -vocabs.hierarchy vocabs.hierarchy.private vocabs.loader -vocabs.metadata zealot ; +environment formatting http.download io io.directories +io.launcher io.pathnames kernel math.parser memory modern.paths +namespaces parser.notes prettyprint regexp.classes sequences +sequences.extras sets splitting system system-info threads +tools.test tools.test.private vocabs vocabs.hierarchy +vocabs.hierarchy.private vocabs.loader vocabs.metadata zealot ; IN: zealot.factor ! XXX: Could check if it's a branch instead with a git command @@ -16,10 +15,10 @@ IN: zealot.factor { [ length 40 = ] [ [ hex-digit? ] all? ] } 1&& ; : download-boot-checksum-branch ( path branch -- ) - '[ _ "https://downloads.factorcode.org/images/%s/checksums.txt" sprintf download ] with-directory ; + '[ _ "https://downloads.factorcode.org/images/%s/checksums.txt" sprintf download drop ] with-directory ; : download-boot-checksum-git-checksum ( path checksum -- ) - '[ _ "https://downloads.factorcode.org/images/build/checksums.txt.%s" sprintf download ] with-directory ; + '[ _ "https://downloads.factorcode.org/images/build/checksums.txt.%s" sprintf download drop ] with-directory ; : download-boot-checksums ( path branch/checksum -- ) dup git-checksum? @@ -27,7 +26,7 @@ IN: zealot.factor [ download-boot-checksum-branch ] if ; : download-boot-image ( path url -- ) - '[ _ my-arch-name "boot.%s.image" sprintf download-to ] with-directory ; + '[ _ my-arch-name "boot.%s.image" sprintf download-to drop ] with-directory ; : arch-git-boot-image-path ( arch git-id -- str ) "https://downloads.factorcode.org/images/build/boot.%s.image.%s" sprintf ;