Fork me on GitHub
#boot
<
2015-09-22
>
tcrawley00:09:27

@micha: I fixed the checksums for maven-metadata.xml, and updated the metadata itself (it was missing any release past rc9). When you get a chance, can you deploy a snapshot of 2.3.2 to confirm that all is good?

micha00:09:10

@tcrawley: you're too awesome simple_smile

tcrawley00:09:43

heh, I just feel guilty for not yet implementing atomic deploys, which should prevent this in the future

micha00:09:50

i should probably wait till tomorrow when i have a solid internet at work

micha00:09:05

my home internet is really terrible for uploading, which i think caused the problem

tcrawley00:09:28

yeah, that's the usual cause that I have seen. no rush

tcrawley00:09:22

(crappy network, not people uploading from your house)

alandipert00:09:56

i tried to deploy from micha's house

kspear14:09:18

Is there a reference for what arg 'types' I can use with boot's defclifn and how they behave? I see I can use bool (https://github.com/boot-clj/boot/wiki/Scripts#command-line-args), for example, but the behaviour is not what I was expecting.

kspear14:09:39

@martinklepsch: Cool, will check it out. Ty.

kspear14:09:18

Hm. Bizarre. I try a simple script,

(require '[boot.cli :refer [defclifn]])

(defclifn -main [ t text str "A string argument" ]
    (println text))
When I execute with ./script.clj --text="Hello" or ./script.clj -t "Hello" I get an error that says, basically clojure.lang.ExceptionInfo: option :text must be of type str. Is this a bug, or am I doing it wrong? Any help would be appreciated. Thanks. Fedora Core 22, Leiningen 2.5.3 on java-1.8.0-openjdk-1.8.0.60-14, for what it's worth. Boot App Version: 2.3.0 Boot Lib Version: 2.3.0 Clojure Version: 1.7.0

martinklepsch15:09:33

@kspear: you forgot the optarg

martinklepsch15:09:09

[ t text TEXT str "A string argument" ]

pleasetrythisathome16:09:24

hey all i'm getting an error trying to pull boot from clojars

pleasetrythisathome16:09:30

Retrieving pod-2.3.0.jar from https://clojars.org/repo/ Exception in thread "main" org.sonatype.aether.resolution.DependencyResolutionException: Could not transfer artifact boot:pod:jar:2.3.0 from/to clojars (https://clojars.org/repo/): Checksum validation failed, no checksums available from the repository at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)

pleasetrythisathome16:09:44

just upgraded to 2.3.0

pleasetrythisathome16:09:30

@micha: did the new release not get pushed to clojars?

pleasetrythisathome16:09:12

ah i see. do you have an ETA on a fix?

alandipert16:09:34

im workin on it atm

cigitia17:09:15

@martinklepsch: Thanks! @micha: I see; thank you. Is (get-in fileset [:tree "public/index.html”]) public and idiomatic, or should I stick with filter or boot.core/by-name?

xifi21:09:07

if I use the latest alpha release of clojure boot doesn't seem to be working. Is that a known issue?

micha21:09:10

@xifi: i don't think that's known issue

xifi21:09:14

clojure.lang.Compiler$CompilerException: java.lang.VerifyError: (class: cljs/util$last_modified, method: invokeStatic signature: (Ljava/lang/Object;)Ljava/lang/Object;) Can only throw Throwable objects, compiling:(util.cljc:142:1)
                  java.lang.VerifyError: (class: cljs/util$last_modified, method: invokeStatic signature: (Ljava/lang/Object;)Ljava/lang/Object;) Can only throw Throwable objects

alandipert21:09:03

@xifi: i'll try to reproduce, but in the meantime if you can come up with a minimal-dependency example, that would be excellent

alandipert21:09:14

honestly it looks like it may be a bug in the clj compiler

alandipert21:09:28

it's missing a cast

ragge21:09:40

known issue 😕

ragge21:09:04

known issue with clojure compiler that is

xifi21:09:22

@alandipert: even though it's known and on jira here's a minimal build.boot

xifi21:09:43

(set-env!
 :source-paths #{"src/clj" "src/cljs" "src/hl"}
 :dependencies '[[adzerk/boot-cljs "1.7.48-4" :scope "test"]
                 [org.clojure/clojure "1.8.0-alpha5"]
                 [org.clojure/clojurescript "1.7.122"]
                 [hoplon/hoplon "6.0.0-alpha10"]
                 [hoplon/boot-hoplon "0.1.10"]])

(require '[adzerk.boot-cljs :refer [cljs]]
         '[hoplon.boot-hoplon :refer [hoplon prerender]])

(deftask dev []
  (comp (hoplon)
        (cljs)))

ragge21:09:44

so, hard to avoid in this case

alandipert21:09:35

thanks all for the info

alandipert21:09:26

it might be possible to workaround by turning off bytecode verification in JVM options

alandipert21:09:32

but the code might not work then

xifi21:09:38

1.7.0 works fine for now