Add Project.tomls to all your repos!


I’ve made a Gist that lets you auto-generate pull requests which will add Project.toml to all your repos! It uses Stefan Karpinski’s gen_project.jl to generate Project.toml files.

You can find it here:

It works by using the GitHub.jl library to fork all of the repos given as command-line arguments into a user’s account, and then clones them, generates a Project.toml, pushes it to the forked repo, and makes a pull request!

I have only tested this on MacOS. It should work wherever a Git install and Julia are available, though!


FYI, here is a similar (more “low-tech”) script I wrote. It could be handy if you don’t want to set up the github token.