-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Lemur suitable as a library #31
base: master
Are you sure you want to change the base?
Make Lemur suitable as a library #31
Conversation
…th cider-nrepl, and should probably be brought in by a user profile if needed
(defn quit-by-error [ex] | ||
(quit* (:data (ex-data ex)))) | ||
|
||
(defn error [& {:keys [msg cmdspec exception exit-code] :as data :or {exit-code 0}}] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think you need to mention all the explicit keys here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. I'll remove them.
the context is set anyway
@mlimotte I've made corrections based on your suggestions. |
[ec2 :as ec2] | ||
[s3 :as s3] | ||
[emr :as emr]] | ||
[lemur [core :as l] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this line's indentation of [core] is inconsistent with the line below
Aside from me being picky about indentation, this seems great. @aykuznetsova said she might be able to test this out with our use cases, so let's wait a bit to merge for her verification. |
I've created a test environment to test the new changes https://github.com/jeroenvandijk/lemur-test-ground The old functionality seems to be okay. The new functionality is not complete yet and needs some more iterations, or at least some investigation. |
We should update CHANGES.txt also. And, eventually, the version number and the README-- but maybe we do those post-commit. |
Guided by #23 I've continued the work of @jimdowning.
The code should be suitable now to use a library, although it is a bit ugly still due to the use of one dynamic var. This was the easiest option for now. I hope to do some more iterations later on. I say "should" because I still need to test it from a project. The tests I could run without the need for AWS access were succeeding, but not sure about the others.
For short-term future work I see the following:
lemure.core
to a separate namespaceHappy to hear your first feedback on these changes