CMR-11429 warnings about libs overwriting built in clojure functions - #2494
Conversation
…ge write status better
…ing the other testing threads
…he logs complaining about clojure libraries being replaced
… a version number
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2494 +/- ##
==========================================
- Coverage 57.92% 57.92% -0.01%
==========================================
Files 1075 1075
Lines 74666 74666
Branches 2178 2176 -2
==========================================
- Hits 43252 43251 -1
Misses 29380 29380
- Partials 2034 2035 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| "Common nREPL component for CMR apps." | ||
| (:require | ||
| [clojure.tools.nrepl.server :as nrepl] | ||
| [nrepl.server :as nrepl] |
There was a problem hiding this comment.
the old package was replaced with this project and we need to update our code
| :dev {:dependencies [[org.clojars.gjahad/debug-repl "0.3.3"] | ||
| [org.clojure/tools.namespace "0.2.11"] | ||
| [org.clojure/tools.nrepl "0.2.13"] | ||
| [nrepl/nrepl "1.1.0"] |
There was a problem hiding this comment.
why not have it inherent from parent project.clj?
| :dev {:dependencies [[org.bouncycastle/bcpkix-jdk18on "1.85"] | ||
| [org.clojure/tools.namespace "0.2.11"] | ||
| [org.clojure/tools.nrepl "0.2.13"] | ||
| [nrepl/nrepl "1.1.0"] |
There was a problem hiding this comment.
you added nrepl and tools.nrepl to the parent project.clj, so why not use it here? Instead of explictly adding the versions? This note is for all your changes across all the projects here
There was a problem hiding this comment.
I only used parent if the project was was already using it. I could be more aggressive and add it, but I have had trouble in the past doing to much at once.
Overview
While working on https://bugs.earthdata.nasa.gov/browse/CMR-11368 an attempt was made to clean up some long standing warnings in the compile logs related to libraries trying to overwrite built in clojure functions. These log entries were getting in the way and making it hard to read other errors of interest. So, some time was taken to resolve those issues.
These changes are all the changes which were not directly related to CMR-11368, since there were two tickets this one is used for the overflow changes allowing each set of changes to have their own life cycle.
Example of removed warnings
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer.utils, being replaced by: #'clojure.tools.analyzer.utils/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: clojure.tools.analyzer.utils, being replaced by: #'clojure.tools.analyzer.utils/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer, being replaced by: #'clojure.tools.analyzer.utils/update-vals
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: clojure.tools.analyzer, being replaced by: #'clojure.tools.analyzer.utils/update-keys
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer.passes, being replaced by: #'clojure.tools.analyzer.utils/update-vals
WARNING: update-vals already refers to: #'clojure.core/update-vals in namespace: clojure.tools.analyzer.passes.uniquify, being replaced by: #'clojure.tools.analyzer.utils/update-vals
WARNING: abs already refers to: #'clojure.core/abs in namespace: medley.core, being replaced by: #'medley.core/abs
What are the changes?
Required Checklist