You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you rename the namespaces, you probably want to rename the group/artifact since right now it's clojure.java-time/clojure.java-time which is both repetitive and a bit misleading (since people might think it's somehow a core/Contrib library).
Then you wouldn't need to keep the old ns at all: folks could have both libs on their classpath and they wouldn't conflict, allowing them to require both and migrate from one to the other piecemeal. That's what I did with HoneySQL.
Thanks @seancorfield, added a notice at the top of the readme to attempt to dissuade any association with Clojure. Not going to take further action for now.
"This library has no relation Clojure's" -- missing to.
Thanks for adding the clarification.
We use this library quite a bit at work so it's good to see it getting some love, although we're sort of ambivalent about using a wrapper rather than plain interop in many cases (we've already migrated away from both date-clj and clj-time).
Activity
seancorfield commentedon Sep 27, 2022
When you rename the namespaces, you probably want to rename the group/artifact since right now it's
clojure.java-time/clojure.java-timewhich is both repetitive and a bit misleading (since people might think it's somehow a core/Contrib library).Then you wouldn't need to keep the old ns at all: folks could have both libs on their classpath and they wouldn't conflict, allowing them to
requireboth and migrate from one to the other piecemeal. That's what I did with HoneySQL.Close #91: add java-time.api, soft deprecate java-time ns
frenchy64 commentedon Sep 28, 2022
Thanks @seancorfield, added a notice at the top of the readme to attempt to dissuade any association with Clojure. Not going to take further action for now.
seancorfield commentedon Sep 28, 2022
"This library has no relation Clojure's" -- missing
to.Thanks for adding the clarification.
We use this library quite a bit at work so it's good to see it getting some love, although we're sort of ambivalent about using a wrapper rather than plain interop in many cases (we've already migrated away from both
date-cljandclj-time).frenchy64 commentedon Sep 28, 2022
FWIW this command helped me get 80% of the way to migrating a large codebase.
Stop using single-segment ns `java-time`, migrate to `java-time.api` (#…
update java-time example