Fork me on GitHub
#boot
<
2017-06-05
>
juhoteperi06:06:59

Hmh, still having huge problems with Aether transfer speeds even with 2.7.2-SNAPSHOT

juhoteperi06:06:15

Posting the file with curl takes 0.5sec and Boot push takes 10 minutes πŸ˜•

juhoteperi07:06:51

On my laptop both Boot push and Lein deploy take ~2minutes, for some reason CI is much slower

juhoteperi10:06:04

Does BOOT_VERSION or boot.properties file take precedence? The CI has BOOT_VERSION set to 2.7.1 so perhaps the SNAPSHOT is not getting used

dominicm10:06:21

@juhoteperi the env takes priority

juhoteperi10:06:45

Well that explains it

juhoteperi10:06:32

Now it works! Deploy time down from 10 minutes to 1 second on CI πŸ˜„

dominicm10:06:59

@juhoteperi that's amazing. & that's because boot deploy does a lot of logging (speculative)

juhoteperi10:06:18

Yes, that is now fixed on 2.7.2-SNAPSHOT

dominicm10:06:38

I was hoping we'd see some performance improvements. But digging in, I think we have slow because we do (require 'juxt.system) and we have ns with lots of requires. Boot made it really easy to automate auto-requiring each of them & exiting with time command in there, so I'm gonna dig in to that later.

dominicm10:06:48

I should probably use resolve in the task at the least

juhoteperi10:06:35

Yeah I do always take care to not require project namespaces in boot file, instead I use require + resolve when starting the system

dominicm10:06:32

The other little biter is that boot doesn't cache cljs between restarts. It would be nice to figure that out at some point.

dominicm10:06:56

I know generally people don't restart the repl, but it's a pain during training when a mistake blows up the system & requires a restart. This happens often enough πŸ™‚.

nonrecursive12:06:30

hey y’all is there a way to get boot to reload jars? My project relies on a library I’m developing, and I’d like to be able to pull changes into my project when I update the library without having to restart the project

dominicm12:06:32

nonrecursive: boot supports checkouts πŸ™‚

nonrecursive12:06:47

oh sweet! awesome!

dominicm12:06:45

No problem!

richiardiandrea15:06:27

Quite an improvement!

seancorfield20:06:26

Just done our first build/deployment with Boot 2.7.2-SNAPSHOT β€” huge improvement in artifact download speed (or whatever Boot was logging behind the scenes). Thank you!!!

qqq21:06:32

is there any nice way to interfaced boot and component so that everytyhing is correctly reloaded on boot detecting a file change in a *.clj file ?

micha21:06:03

@qqq have you seen "system"?

qqq21:06:58

@micha: was just looking at it; do you recommend it ?

micha21:06:30

i don't use component myself but i'm pretty sure system is good

micha21:06:37

it says so in the readme, even πŸ™‚

micha21:06:52

very well documented and maintained

richiardiandrea21:06:11

same here, I do not use component now now, but I have used system in the early days and it was working great

qqq21:06:24

@micha: I'd like to sell you some qqq-crypto-coins

qqq21:06:49

alright, I'm going to work through the system tutorial and see what it provides