Fork me on GitHub
#boot
<
2015-10-19
>
martinklepsch12:10:10

btw, few days ago I played around a bit with filesets of varying sizes: https://gist.github.com/martinklepsch/6291206cff000a0182a0, will put it in a repo soon, not sure how useful it is though

martinklepsch12:10:38

Gist is:

100 files: 200ms
1000 files: 2s
3000 files: 6s

jgdavey13:10:10

Looks linear.

pesterhazy14:10:01

hey. Is there a way to make boot download all dependencies for a project?

pesterhazy14:10:18

... without actually performing boot dist (e.g.)

pesterhazy14:10:40

I tried boot show -e but it only download some jars, not all

martinklepsch14:10:58

@pesterhazy: it’s not as easy as in lein since dependencies are dynamic and can be modified by tasks but basically you can make a deps task that just looks like (deftask deps [])

martinklepsch14:10:16

@pesterhazy: the deps task will download everything that has been specified via set-env!/ merge-env!

pesterhazy14:10:19

will that also download cljs dependencies, e.g.?

martinklepsch14:10:31

if they’re specified

pesterhazy14:10:50

ok I'll try that simple_smile

martinklepsch14:10:44

Boot/Lein etc. usually don’t care if it’s a cljs or a Clojure dependency. Only thing that might be relevant in that case is the maven scope.

micha14:10:28

@juhoteperi: gpg stuff looks great!

micha14:10:36

i was hesitant at first about the :gpg and :env conventions because they add magical names, but i think i'm warming to it

martinklepsch15:10:34

What’s the jvm option I need to set again when (pst *e) just returns a single line?

martinklepsch15:10:49

nvm, probably better asked in #C03S1KBA2

martinklepsch15:10:18

-XX:-OmitStackTraceInFastThrow

chrisn21:10:59

OK, I am having problems getting boot to update from maven recently built snapshots. The workflow is:

go into project A
lein deploy
go into project B
boot show -U

chrisn21:10:03

nothing gets updated.

chrisn21:10:06

now, if I do:

chrisn21:10:27

go into project A
lein deploy
go into project B
lein deps

chrisn21:10:48

Then I get updated project A

chrisn22:10:12

When leiningen deploys, it does update information in the local repo indicating that there is a more recent snapshot (maven-metadata-snapshots.xml). Leiningen must check this while boot currently does not. I can research this if there isn't a known solution.

alandipert22:10:48

@chrisn: that would be worth researching, but a workaround -- if you can use boot to build/deploy project A -- is boot checkout, see boot checkout -h for more info

alandipert22:10:01

another way is to add A's sources to B's resource-paths

alandipert22:10:38

the latter would let you dev as if they were the same project, more or less... while still deploying A separately

chrisn22:10:56

OK, more background. I just started using boot. I am trying to build an automated build system for multiple projects that are interdependent. They currently use leiningen for their build system. On the build server, I want to (in dependency order) do:

lein test && lein deploy
then if everything does this correctly I have a boot build file which lists those projects as dependencies and using this and some work I create a final docker image with what I have ideally just deployed. I could always use lein install after the deploy step I guess but it would be smoother if boot updated snapshots in this case.

chrisn22:10:29

So using checkouts is not what I want because I would like the snapshost in maven for the rest of the team if they pass their respective tests.

chrisn22:10:39

And the docker image is for deploying to ec2.

chrisn22:10:13

I have literally all of this working except for updating dependencies.

chrisn22:10:21

which I guess lein install avoids.

alandipert22:10:26

i see. in this case, i would probably attempt to keep them all in the same boot project

alandipert22:10:27

but i don't have an example handy of doing that

alandipert22:10:12

it might be worth posting to discourse, see what people are doing in this area

flyboarder22:10:08

@alandipert: does deps-cljs require lib files to be included?