Hi Solo,

I did a big migration from 1.2 to 1.5 at work this past February.  Here are
a few of the things that I gleaned from that experience, i addition to the
great advice mentioned already in this thread:

* with 1000's of these applications, I'd take the approach of only
migrating to 1.5 when there's a change needed, because there's a good
chance a lot of them will never need to be modified.  Any extra apps you
need to migrate could be work down the drain.
* on the other hand, you can get a nice groove going, and may want to do a
bunch of reports in one go. The changes you may find can be repetitive.
* to make sure you are only including namespaces that absolutely need to be
used by your application, AND to convert the ns declarations into 1.5
format automatically I used https://github.com/technomancy/slamhound. Watch
out for any macro-heavy code though, because Slamhound can miss
dependencies used exclusively in macros.
* are these reports tested? If not well tested be wary, because there were
a lot of number-related changes from 1.2 to 1.3
* keep an eye out for duplicated patterns in the reports.  If there are
some common pieces you might be able to just migrate those to 1.5 and use
them as a library for the other reports. YMMV.
*

Best,
Alex

On Tue, Dec 24, 2013 at 10:48 AM, Sean Corfield <seancorfi...@gmail.com>wrote:

> On Tue, Dec 24, 2013 at 7:23 AM,  <solo.l...@gmail.com> wrote:
> > Yes, after looking into this, upgrading the libraries before upgrade the
> > Clojure version is unfeasible in our case. I prefer not to keep a 1.2
> > environment around forever but take our time phasing it out to avoid
> service
> > disruption. I think the dual environment consensus here is the way to go.
>
> Please keep us posted on how this goes - I think it's an interesting
> case study for what happens with a large legacy code base.
>
> Fortunately the 1.2 -> 1.3 changes were the biggest we've had to deal
> with so far and all the signs indicate we won't have to deal with that
> again, so this is a pain that only early adopters will be feeling.
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> World Singles, LLC. -- http://worldsingles.com/
>
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to