Add Project.tomls to all your repos!

package
#1

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!

8 Likes
#2

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. https://gist.github.com/tkf/eee56c7a989530fdaa87471333d0c06a

2 Likes