Fork me on GitHub
#juxt
<
2017-03-08
>
dominicm09:03:03

https://github.com/juxt/joplin/pull/97 Whilst I don't think joplin should really have load-string in the first place, and is clearly a commonality to aero. I don't think aero should become a dependency. Any reason you can't use aero to load a config (bypass joplin load string) and then pass that map to the functions?

acron10:03:24

@dominicm No reason whatsoever, just thought it might be a nicer alternative to use aero, and there was a PR made to aero to add 'envf' so that the port would be compatible. But yeah, this is an opinionated PR. Discuss/reject at will 🙂

acron10:03:18

@dominicm If you're looking at PRs, https://github.com/juxt/joplin/pull/98 is keeping us on a fork at the moment and there'll be a follow-up PR which adds some additional configuration to joplin.dynamodb

dominicm10:03:26

@acron I have no idea about DyanmoDB generally 🙃 But I see no reason to bump that. Your configurable table name looked good too.

acron10:03:42

🙂

dominicm10:03:20

RE Aero, concerned that it will basically end up with classpath collisions & exclusions for most people. Aero still has the occasional breaking change added. For example there's some recent discussion about preferring #aero/ref #aero/join #aero/env as the default. I think my design preferences differ from the original authoring of Joplin, I've always found it awkard that it had it's own configuration. That's possibly by design though (that I'm not seeing)

acron10:03:55

@dominicm That makes total sense. I am happy to close the PR. With your design preferences in mind perhaps the inverse would be a good idea then; removing the load-config function entirely and encourage people to use their own configuration solution (which could be Aero if they like).

dominicm10:03:53

@acron My only questionmark over that is whether joplin is this way because of something like lein-joplin.

acron10:03:12

@dominicm Yes, I suspect that's probably the kink in that plan

acron10:03:33

Also, the aliases concept becomes a bit harder

acron10:03:48

lein seed, lein migrate etc

acron10:03:51

(That might be what you're referring to by lein-joplin)

dominicm10:03:54

@acron Yeah. I think on projects I've been on, our migration process was: 1) lein repl 2) (migrate-and-seed :local) (a helper)

dominicm10:03:05

So we didn't really run into that.

acron10:03:30

@dominicm Our use case is similar

dominicm10:03:22

@acron Hadn't realised that lein-joplin was deprecated… that makes this much easier then imo. Want to use your own migrate-and-seed? New aliases!

dominicm10:03:22

lein run -m app.joplin.alias/migrate is your new alias I would suppose.

dominicm10:03:47

@acron I think I'd just deprecate the function (never remove it, Hickey–style), no?

otfrom10:03:18

jonpither thx for calling me. As you can see I nudged the affected parties. 😄

acron16:03:47

@dominicm Anything else we need to do to get this merged? 😉 https://github.com/juxt/joplin/pull/98

acron16:03:41

Or did you wanna talk about Faraday 1.9.0 ?

dominicm16:03:14

@jonpither who's clicking buttons and doing releases?

jonpither16:03:15

Thatd be you :-)