This is just a suggestion, that does not help with your current dilemma, a 
strategy how you could prevent it in the future:

Create or expand your personal dotfile repository, within that repository 
create a folder my-racket-packages, within that folder create a info.rkt:
#lang info
(define collection "my-racket-packages")
(define deps
  (list "lens"
        "opengl"
        "gregor"
        "add your own packages here"))

This way you can create a personal package that lists all of the packages 
that you play around with explicitly.
https://docs.racket-lang.org/pkg/metadata.html
You can then just use drracket or raco to install that package locally.
Within the directory:
raco pkg install

to install the package.
When the dotfiles have changed, within the my-racket-packages directory:
raco pkg update --auto

I know this solution requires you to update the package manually, but if 
you install a package via raco pkg install <package-name>, you might as 
well add it to the info.rkt instead.
This way you have a single source of truth, instead of having to sync 
multiple different installations.

Instead of my-racket-packages you also could name it my-racket-experiments 
and save your experiment sessions with scripts along with the dependencies.
You never have to publish that package if you don't want to.



primer schrieb am Sonntag, 11. Oktober 2020 um 17:03:02 UTC+2:

> On Sunday, October 11, 2020 at 1:35:24 AM UTC-7 William J. Bowman wrote:
>
>> I'm not sure what you're asking: is your question equivalent to figuring 
>> out which packages are explicitly installed? 
>>
>
> That's part of the problem.  I have several computers, each with racket 
> installed.  I'd like to get them on the same page in terms of the 
> explicitly installed packages, which are currently different on each 
> machine depending on what I played with at the time.
>
> So I imagine the workflow to be something like this:
> 1.  On machine A, do something that generates a list of explicitly 
> installed packages
> 2.  Do something on machine B to bring in that list of packages and 
> automatically install them, while not disturbing any explicit packages 
> already installed on B
> 3. Repeat steps 1 and 2 starting with the now updated B.  After this A and 
> B should be in sync.
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/9857bd34-9022-44a0-a9a2-34c6d63e7446n%40googlegroups.com.

Reply via email to