Re: raco pkg migrate

Laurent <[email protected]> Fri, 2 Jul 2021 08:28:00 +0100
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <CABNTSaGA8vvfWtHL4VipTATEBB9n6iYHsUQh3Dh7Yr+bkXYHxA@mail.gmail.com>
--00000000000025945905c61ee637
Content-Type: text/plain; charset="UTF-8"

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).

On Fri, Jul 2, 2021 at 4:21 AM Curtis Dutton <[email protected]> wrote:

> 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
>
> --
> 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CAPChLEoWdT4BrQnLgXen4g4A%2BCorxmQeQ61uu2x5oxQ2ibF2dQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/racket-users/CAPChLEoWdT4BrQnLgXen4g4A%2BCorxmQeQ61uu2x5oxQ2ibF2dQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CABNTSaGA8vvfWtHL4VipTATEBB9n6iYHsUQh3Dh7Yr%2BbkXYHxA%40mail.gmail.com.

--00000000000025945905c61ee637
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I usually use this script:=C2=A0<a href=3D"https://gist.gi=
thub.com/Metaxal/13c4effc483c5ef9f5797ace4950f97a">https://gist.github.com/=
Metaxal/13c4effc483c5ef9f5797ace4950f97a</a><div>The only drawback I&#39;ve=
 found so far for my own use cases (unix-wide distribution) is that it won&=
#39;t migrate between snapshots and releases (but it will migrate between s=
napshots and snapshots, and between releases and releases).</div></div><br>=
<div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Ju=
l 2, 2021 at 4:21 AM Curtis Dutton &lt;<a href=3D"mailto:[email protected]=
">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex"><div dir=3D"auto">after I install the newest racket pac=
kage 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 mig=
rate the packages from the latest previously installed version?<div dir=3D"=
auto"><br></div><div dir=3D"auto">Ideally I&#39;d like to automate that so =
when I apt-get upgrade the packages are migrated for me.</div><div dir=3D"a=
uto"><br></div><div dir=3D"auto">Thanks,</div><div dir=3D"auto">=C2=A0 =C2=
=A0 Curt</div></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Racket Users&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:racket-users+unsubscribe-/[email protected]" target=
=3D"_blank">racket-users+unsubscribe-/[email protected]</a>.<br>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/racket-users/CAPChLEoWdT4BrQnLgXen4g4A%2BCorxmQeQ61uu2x5oxQ2ibF2=
dQ%40mail.gmail.com?utm_medium=3Demail&amp;utm_source=3Dfooter" target=3D"_=
blank">https://groups.google.com/d/msgid/racket-users/CAPChLEoWdT4BrQnLgXen=
4g4A%2BCorxmQeQ61uu2x5oxQ2ibF2dQ%40mail.gmail.com</a>.<br>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Racket Users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:racket-users+unsubscribe-/[email protected]">racket=
-users+unsubscribe-/[email protected]</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/racket-users/CABNTSaGA8vvfWtHL4VipTATEBB9n6iYHsUQh3Dh7Yr%2BbkXYH=
xA%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.=
google.com/d/msgid/racket-users/CABNTSaGA8vvfWtHL4VipTATEBB9n6iYHsUQh3Dh7Yr=
%2BbkXYHxA%40mail.gmail.com</a>.<br />

--00000000000025945905c61ee637--