This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-17
Channels
- # admin-announcements (4)
- # aws (26)
- # beginners (88)
- # boot (132)
- # cljs-dev (4)
- # cljsrn (35)
- # clojars (11)
- # clojure (41)
- # clojure-art (33)
- # clojure-austin (1)
- # clojure-chicago (4)
- # clojure-dev (3)
- # clojure-russia (2)
- # clojured (3)
- # clojurescript (9)
- # community-development (19)
- # datomic (34)
- # devcards (2)
- # editors-rus (4)
- # hoplon (29)
- # leiningen (4)
- # music (2)
- # off-topic (21)
- # om (69)
- # other-lisps (1)
- # perun (6)
- # re-frame (1)
- # reagent (9)
- # spacemacs (3)
- # yada (13)
https://www.refheap.com/113732 lines 2-6 are expected output (from showing documentation about the template), then lines 7-18 are produced by Boot… @micha @alandipert What is the "correct" way to exit successfully from the middle of a task? Or should I just structure the code to avoid that?
Boot new is coming along…
(! 542)-> boot -d seancorfield/boot-new:0.1.0-SNAPSHOT new -h
Retrieving boot-new-0.1.0-20160117.001942-4.jar from
Generate a new project from a template. The long form arguments mostly
follow those of `lein new` except that -n / --name is required and you
specify the template with -t / --template.
Options:
-h, --help Print this help info.
-a, --args ARG Conj ARG onto arguments for the template itself.
-f, --force Force Boot new to overwrite existing directory.
-n, --name NAME Set generated project name to NAME.
-o, --to-dir DIR Set directory to use instead of NAME to DIR.
-s, --show Show documentation for the template.
-S, --snapshot Look for a SNAPSHOT version of the template.
-t, --template TEMPLATE Set the template to use to TEMPLATE.
-V, --template-version VER Set the version of the template to use to VER.
That’s par with lein new
(and it works by reusing leiningen.new.templates
file and leiningen-core
as a lib).
fyi I don't have access to that Windows Vista machine any more and didn't get very far testing boot on it, but the next time I can get to that machine I will try to do more.
OK, there’s a 0.1.0
release of seancorfield/boot-new
that should have parity with lein new
. Working on 0.2.0
now that should support Boot templates.
Me too! @micha please send me one at my address here on Slack
@seancorfield: niice, thanks for working on boot-new
! Besides the obvious "template" benefits, I feel like it will allow a lot more people to join the boot party smoothly, and then gradually understand internal concepts.
Yeah, I'll definitely be looking for feedback from everyone on the built-in templates so we can on-board people with best practices.
Hi, I have a problem with my boot based problem and the java class path. When I eval this line in boot repl
it works fine: https://github.com/fromheten/rad/pull/23/files#diff-de351ca7812703db36c5475b663fc516R62.
But when I run boot test
, I get the error clojure.lang.ExceptionInfo: java.io.FileNotFoundException: Could not locate test_package__init.class or test_package.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.
(full stack trace: https://www.refheap.com/113760).
In my build.boot
I set-env!
to include sources from ./test
, where the tests are as well as my test packages.
I wonder: why does it work fine from the interactive REPL, but not from boot test
? And what is the solution? Now I just comment out those tests, and then run boot test
. But that is not a good solution...
@codemartin: test-package
ns is in wrong path, packages/test_package.clj
should have ns packages.test-package
@juhoteperi: Thanks for answering! I found the error in another file, and it was my spelling mistake. I'm sorry for wasting everyones time with this question, but thanks for being so kind to check it out!
hi @codemartin, welcome!
Trying to understand what :scope
does in build.boot. Is this documented anywhere?
@pesterhazy: https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope
ah didn't think of looking at maven
thanks !
@pesterhazy: IMHO not all the maven scopes make sense in CLJ/CLJS. I never saw any used scope other than “test”
, ”provided”
and the default ”compile”
if you do not specify any scope.
@pesterhazy: HIH https://github.com/magomimmo/modern-cljs/blob/master/doc/second-edition/tutorial-20.md#dependency-scope
ah your great tutorial again
I really should go through it more thoroughly
it's really one of the best introductions on boot out there
maybe we should put a link on the front page of the wiki, or the boot README in github?
link here? https://github.com/magomimmo/modern-cljs/blob/master/doc/second-edition/tutorial-01.md
Or maybe it's best to link to index? (readme.md)
maybe add specific links to chapter 1, 3 and 20?
1,2 3 and 20
@pesterhazy: i was thinking to put it at the top of the "Getting Started" section, perhaps?
@micha, sounds good
I really don’t know. I use boot because it has a great noise/signal ratio when compared with leining/cljsbuils/figwheel stuff and it’s fan too.
(damn bug)
thanks @micha for the invitation!
the search does not work well, do I need to put the whole link in my tweet...weird...I had to do it again
@richiardiandrea: it's not liking your github verification now
> ✖️ "arichiardi" on github failed: No server-given hint for sig=d6efe5aeabcf4fc36c8a81a74417200b19f7e0ceeadff286b23bc4f1362365a90f (code=306)
I am about to do it
pretty neat btw
to publish a gist 😄
can you try it out again?
@richiardiandrea: everything looks good now
I'll flesh out my profile when I have time - super busy right now. Much thanks, Micha. 💌
" a mystery user with no key" LOL
I'm on a borrowed laptop - does it make sense to do this pgp stuff within an account on someone else's machine
Btw. I did sign few releases today with my new GPG key which is on Keybase (my old key was 2k).
Now we just need tooling to verify packages
Hmm, probably is
btw, digging into http://keybase.io, you discover that they rock! https://keybase.io/docs/server_security/merkle_root_in_bitcoin_blockchain
GPG faq recommends 2k and says 4k doesn't really offer any better security because dismissing returns after 2k
they basically sync they trust model in the blockchain, amazing!
@meow: the is a way to create a gpg key pair and then backup safely the secret key and leave on the machine only the public one...of course you won't be able to sign
@meow: You should keep your private key in a usb stick
and when you want to sign, you point to the kyring on the usb
(which contains the private key)
Or YubiKey would probably be more user friendly if one needs to use the private key often
yep YubiKey is awesome
I still wonder what's the best way to setup gpg keys with Keybase (without YubiKey), should I copy the same private key to both my computers? Or have separate keys?
tracking frenzy!
from PGP background 1 key pair = 1 identity
Well, YubiKey at least solves this. I'll just keep the key there.
Btw. I wonder how necessary it is to provide support for using keybase command for signing, the private key is also usable from gpg?
I am using gpg commands, it was choice 1 when I did keybase login
I will still check what keybase says when I log in with my laptop without manually copying the key
what I think they do it to store your (encrypted) private key for using it with keybase if you choose option 2
about multi device, let me fetch a link for you
Yeah I wonder if one can encrypt files with keybase program if one stored the private key on keybase
multi devices ^
about the last question, in PGP encrypting is done using the (public) key of the recipient
which uses his/her private key to decrypt
Ah right
so it should encrypt for you even w/o private key
this is also a very nice overview of their trust model -> https://keybase.io/docs/tracking
@podviaznikov: Should we have separate perun channel?
sounds good to me. Create one
#C0JM5DUFL