Fork me on GitHub
#admin-announcements
<
2015-08-26
>
ordnungswidrig13:08:17

How do you handle multi-project changes? Using leiningen’s checkouts feature is nice but does not take into account new revisions of dependencies? I find my self continuously lein installing a SNAPSHOT version of a dependency just to make the depending project pickup the changes.

bostonaholic14:08:55

@ordnungswidrig: that's how I do it

ordnungswidrig14:08:26

bostonaholic: which is annoying when you have 5 project with 3 level transitive dependencies simple_smile

bostonaholic14:08:35

I'm trying to recall how we handled that on a maven project I was on, but that was years ago

bostonaholic14:08:39

probably just wrote a shell script 😜

rauh14:08:36

@ordnungswidrig: I think leiningens "checkout" feature can do that.

darwin14:08:17

@ordnungswidrig: checkouts feature works for me

darwin14:08:36

@ordnungswidrig: don’t forget to add paths to checkouts to your cljs-build config as well

ordnungswidrig14:08:08

@rauh: I don’t see it using updated dependencies in the „checked out“ project descriptor

tel14:08:53

@ordnungswidrig: use the checkouts dir?

tel14:08:03

oh, damn, sorry, didn’t scroll

ordnungswidrig14:08:21

Leiningen docs say > If you change the dependencies of a checkout project you will still have to run lein install and restart your repl; it's just that source changes will be picked up immediately.

ordnungswidrig14:08:38

I just wonder how I can work around that simple_smile

tel14:08:24

@darwin (!) oh! I had never done that for cljs-build, good call

tel14:08:57

you could make more checkout directories recursively for the deps of the subprojects too…

darwin15:08:35

@tel I’m not sure about that, I think what is in your top-level checkouts wins on classpath

tel15:08:56

it just recursively reads the checkout projects as leiningen projects though, right? so if you want to edit the deps of a dep then you should be able to edit the checkout of a checkout

tel15:08:01

… total speculation though

estsauver21:08:19

I’m having a stupidly hard time setting up something like lein profiles in boot.

estsauver21:08:05

I’d really love to be able to set a set of different environment variables/configuration options on the basis of whether something is dev/test/prod but there doesn’t seem to be anything analogous to the way environ works with lein.

martinklepsch21:08:57

@estsauver: there is environ.boot I believe

estsauver21:08:18

Yah, but I don’t believe environ.boot supports profiles does it?

estsauver21:08:13

@martinklepsch: maybe I should clarify that I mean an environment of something like configuration variables.

estsauver21:08:01

It doesn’t seem like changes that are made to variables are persisted throughout the boot process?

martinklepsch21:08:27

How do you mean changes?

martinklepsch21:08:56

@estsauver: if you have any ideas to improve the wiki feel free to do so simple_smile

estsauver21:08:32

Thanks Martin, will do. I guess I maybe just don’t really understand pods still?

estsauver21:08:37

I’ll reread the wiki tonight and get back to you. I want to formulate a few questions/specific examples instead of asking very generic questions.

martinklepsch21:08:27

That part didn’t have much to do with pods actually. There’s also always #C053K90BR if you have questions simple_smile