This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-09
Channels
- # admin-announcements (9)
- # boot (114)
- # cider (15)
- # cljs-dev (10)
- # clojure (35)
- # clojure-boston (5)
- # clojure-dev (39)
- # clojure-greece (1)
- # clojure-japan (10)
- # clojure-nl (3)
- # clojure-poland (2)
- # clojure-russia (10)
- # clojure-sg (8)
- # clojure-switzerland (1)
- # clojure-uk (34)
- # clojurescript (76)
- # clojurescript-ios (3)
- # clojurewerkz (1)
- # clojurex (9)
- # cursive (3)
- # datomic (1)
- # devcards (137)
- # emacs (5)
- # events (1)
- # hoplon (99)
- # jobs (1)
- # ldnclj (50)
- # off-topic (1)
- # om (3)
- # onyx (10)
- # re-frame (4)
- # reagent (1)
- # ring-swagger (15)
- # yada (35)
Hi everyone. I'm just getting started with boot, and I'm having some trouble completing the tutorial on the github readme
I"m getting this error at the very end of it: Could not locate demo/boot_build__init.class or demo/boot_build.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.
src/demo/boot_build.clj does exist in my project and I've run out of ideas trying to figure out what the problem is.
I had that issue as well, dont use dashes
not sure, i just avoided the issue
didnt spend time on it
source-paths
you also have a typo
@flyboarder: i think that's it!
here i removed the dashes and fixed a few typos, try that and maybe add the dashes back in to test that separate
you had source-path
If boots env is supposed to conform to a specific schema, maybe it would be helpful to validate it as well
@martinklepsch: that's a good idea, i think
we could remove the default methods here https://github.com/boot-clj/boot/blob/master/boot/core/src/boot/core.clj#L565-L595
and perform an assertion using clojure.core/get-method
so we can tell the user which key(s) are unknown
you can eliminate the warning by specifying the version of clojure in your :dependencies
Also do you know if Boot uses JAVA_HOME when compiling or does it do something else?
Okay, thanks very much. I'll look into that and see if I can remove the AOT stuff. I really appreciate you taking the time to look at it
Not really, it's just a test. I originally wanted to run it via the repl but the first example I came across was a task to jar the app. I thought I'd go with that first, get the barebones code working and then come back running it without having to jar it up
hmm., latest everything and I can't seem to get cljs-repl to work:
java.lang.IllegalArgumentException: No value supplied for key: weasel.repl.websocket.WebsocketEnv@5165de1d
is there something I'm missing - having just got used to a cljs repl, I'm finding the lack of it quite painful
@malcolmsparks: works for me.
@malcolmsparks: sometimes dependencies import their own weasel/austin/piggieback causing wrong dependencies to be loaded.
@malcolmsparks: when you run with -vvv
you should see a line similar to this one:
Loaded REPL dependencies: ([org.clojure/tools.nrepl "0.2.8" :exclusions [[org.clojure/clojure]]] [cider/cider-nrepl "0.9.0-SNAPSHOT"] [weasel “0.7.0”] [org.clojure/tools.nrepl "0.2.11"] [com.cemerick/piggieback "0.2.1"] [org.clojure/clojurescript "1.7.58”])
If your dependencies differ try finding out which of your project's dependencies import the different one. (`boot show -d` will help)had a thought today i'd love to collaborate on with anyone interested... the idea is: make & share metadata about yourself with a specially named github repo, modify the repo using a set of boot tasks
here is what it looks like: https://github.com/alandipert/anyhub-userdata
i haven't written the tool yet, but the idea is i could have added my gpg key by doing boot -d anyhub/gpg --import
and some other user could encrypt a file for me by doing boot -d anyhub/gpg --encrypt -f passwords.txt --recipient alandipert
other consumers of the anyhub data wouldn't work with the git repo directly, but through the anyhub/gpg library
so, the specially named gh repo establishes the point of coordination, and software libraries work with the data at this special location
the grander plot is an ecosystem of tools with some social aspect, storing their state and finding data through the special repo
@alandipert: that seems pretty cool
@alandipert: Would the users have some mapping to tools/meta, or would this be a way to transmit?
@mahinshaw: what do you mean?
or, i don't quite understand your question
the purpose is to share information, and the point of centralization is github
coordination within the data is handled by tools
I guess I'm thinking about the file transfer example - This is like having a peer to peer from that angle?
oh, well the boot task would just clone the user's anyhub repo
and then look for data it needs in there
very similar to getting a library from clojars, except from github
the idea with git instead of clojars it to make it easy for non-clj tools
i think the tools would create the repo if it didn't exist
and tools could be found on https://github.com/anyhub
so, anyhub-user is in the user's github account just to establish their identity, not really for them to do anything with directly except through tools
cool, thanks!
the original use case was distributing passwords to the team at work
but, SSH pubkeys are only used for identification, not ideal for encryption
but there isn't a way to attach a gpg key to a github user
and it's helpful to use github, because our org structure is basically encoded on it
it's an alternative to (and inverse of, kinda?) https://keybase.io/
which lets you do keybase id
but it only does keys, and does other stuff like maintain your trustdb
yeah... i'm envisioning a library for clj to start ot manage the read/write
that... or not do gpg at all, just provide things for adding/searching/importing and leav encryption to local gpg
command
If you get to a place where you get things moving, let me know, and I will help out as time allows
@mahinshaw: thanks, i'll let you know when it picks up