This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-16
Channels
- # beginners (103)
- # boot (48)
- # cider (2)
- # clara (12)
- # cljsrn (9)
- # clojure (133)
- # clojure-art (3)
- # clojure-dev (9)
- # clojure-korea (7)
- # clojure-russia (228)
- # clojure-spec (8)
- # clojure-uk (26)
- # clojurescript (131)
- # cursive (8)
- # datomic (30)
- # emacs (4)
- # events (2)
- # hoplon (47)
- # lein-figwheel (5)
- # off-topic (1)
- # om (12)
- # onyx (337)
- # perun (23)
- # planck (15)
- # proton (3)
- # re-frame (5)
- # spacemacs (20)
- # untangled (97)
- # utah-clojurians (1)
- # yada (13)
@pseud https://github.com/boot-clj/boot/wiki/Task-Options-DSL#types <-- how different types are parsed from the command line
@micha aaaah, thanks. I had tried using double-quotes and the like. This makes sense, though
hi all, first time working with bootlaces and pushing to clojars and gpg. I’m getting:
You need a passphrase to unlock the secret key for
user: "Levi I. Tan Ong <[email protected]>"
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
gpg-agent[42618]: command get_passphrase failed: Inappropriate ioctl for device
gpg: problem with the agent: Inappropriate ioctl for device
gpg: no default secret key: Operation cancelled
gpg: signing failed: Operation cancelled
Seems like it requires the passphrase but I’m not being prompted for it. Any ideas?@levitanong looks like an issue with your gpg-agent
configuration
pinentry
is the prorgam that prompts for the passphrase, there are ncurses terminal ones, GUI ones, etc
could this be it? https://www.gnupg.org/documentation/manuals/gnupg-devel/Invoking-GPG_002dAGENT.html
I remember reading an SO question about this, and it said something about pinentry and the TTY thing. I set it aside because I didn’t understand the context, but now that you mention pinentry...
http://unix.stackexchange.com/questions/217737/pinentry-fails-with-gpg-agent-and-ssh
Would you happen to be familiar with fish shell? 😛 I ask because I’m on fish, and I don’t know what $() means in bash 😮
oh there we go, haha that answers it
will try to do the TTY thing now
Yay! It worked! Thanks, @micha!
In fish, the appropriate command is set -x GPG_TTY (tty)
, where (tty)
is the equivalent of $(tty)
so I just added that to my fish config, the equivalent of .bashrc
, and voila!
oddly, it asks for the passphrase twice
Hi, I’ve got multiple projects with one top-level boot.build script to invoke them and do some deployment packaging. What is the ‘best practice’ for this? I don’t see an obvious way to directly invoke sub-project build tasks in the ‘master’ build.boot. I tried using shell to invoke them in a task but wierdly that exits the task before the shell script it finished and I can’t figure out why (and assume this isn’t what anyone intended). So I’ve ended up using a master BASH script instead… which I hate. What am I missing? How do I ‘daisy-chain’ boot tasks that live in build files in a project hierarchy?
@georgek what is deployment packaging in your case? pushing jars to a place?
i ask because boot gives you more flexibility than usual in dirs code is stored etc., so it might be possible to deploy the way you want with a single build.boot
Elastic beanstalk with a bunch of config files that have to be in the correct place within the zip (the actual deployment asset). Oh, also I’m using nginx-clojure so that get’s packaged with my created jar in its lib directory.
Doing all that in my master boot script works great but I have other dependent projects
So at a minimum I need to uberjar the library that is for nginx-clojure that lives in its own boot .build