Fork me on GitHub
#boot
<
2017-10-22
>
Jon15:10:57

Could not sign /var/folders/6p/qnt9f2tn4p5gmchth6g7brjm0000gn/T/pom4867298259650213549.xml
gpg: no default secret key: No secret key
gpg: signing failed: No secret key


If you don't expect people to need to verify the authorship of your jar, don't set :gpg-sign option of push task to true.
                              java.lang.Thread.run              Thread.java:  748
java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
 java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149

Jon15:10:09

(deftask deploy []
  (comp
    (build)
    (push :repo "clojars" :gpg-sign false)))

Jon15:10:24

I don't get it. Is it telling me to put a false?

olegakbarov15:10:53

guys, did anyone of you stumbled upon this?

`
adzerk.boot_cljs.util.proxy$clojure.lang.ExceptionInfo$ff19274a: ERROR: No implementation of method: :emit-instruction of protocol: #'cljs.core.async.impl.ioc-macros/IEmittableInstruction found for class: cljs.core.async.impl.ioc_macros.Jmp at file src/app/api.cljs, line 16, column 2
(ns app.api
  (:require-macros [cljs.core.async.macros :refer [go go-loop]])
.... )

(defn listen-ws! []
 (go
  (let [endpoint (:ws-endpoint config)
        stream (<! (ws/connect endpoint  {:source (chan 1)}))]
    (go-loop []
           ....
      (recur))))

gonewest81815:10:03

@jiyinyiyong I don’t use boot but I think (push :repo "clojars") would push without signing

Jon15:10:06

@gonewest818 my bad. Working now. I edited the wrong file. 😞

gonewest81815:10:05

ok. by the way, that error seems to be saying you don’t have a gpg key or maybe you have multiple secret keys. If gpg --list-secret-keys displays no output then something went wrong when you tried to create one. If you see multiple secret keys then you need to tell boot which one you intend to sign with. That would look something like (push :repo "clojars" :gpg-sign :gpg-user-id KEY) where KEY is the name or id of the key you want to sign with.

Jon16:10:15

actually I deleted all keys.