raco pkg migrate

39 views
Skip to first unread message

Curtis Dutton

unread,
Jul 1, 2021, 11:21:31 PM7/1/21
to Racket Users List
after I install the newest racket package on my linux servers I always need to run raco pkg migrate to reinstall dependant packages. trouble is I can never figure out the version name of the previous install. Is there a raco pkg migrate command that can just migrate the packages from the latest previously installed version?

Ideally I'd like to automate that so when I apt-get upgrade the packages are migrated for me.

Thanks,
    Curt

Laurent

unread,
Jul 2, 2021, 3:28:20 AM7/2/21
to Curtis Dutton, Racket Users List
I usually use this script: https://gist.github.com/Metaxal/13c4effc483c5ef9f5797ace4950f97a
The only drawback I've found so far for my own use cases (unix-wide distribution) is that it won't migrate between snapshots and releases (but it will migrate between snapshots and snapshots, and between releases and releases).

--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAPChLEoWdT4BrQnLgXen4g4A%2BCorxmQeQ61uu2x5oxQ2ibF2dQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages