# Add Project.tomls to all your repos!

**URL:** https://discourse.julialang.org/t/add-project-tomls-to-all-your-repos/23747
**Category:** Tooling
**Tags:** package
**Created:** [May 1, 2019, 7:23pm UTC](https://discourse.julialang.org/t/add-project-tomls-to-all-your-repos/23747 "2019-05-01T19:23:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![asinghvi17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asinghvi17/32/8272_2.png) [@asinghvi17](https://discourse.julialang.org/u/asinghvi17)
#### Post date: [May 1, 2019, 7:23pm UTC](https://discourse.julialang.org/t/add-project-tomls-to-all-your-repos/23747/1 "2019-05-01T19:23:30Z")

</div>

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:  
[https://gist.github.com/asinghvi17/f20d14fa20743ef70414fc21703a9555](https://gist.github.com/asinghvi17/f20d14fa20743ef70414fc21703a9555)

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!

---

<div class="post-metadata">

### Author: ![tkf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkf/32/17635_2.png) [@tkf](https://discourse.julialang.org/u/tkf)
#### Post date: [May 1, 2019, 9:56pm UTC](https://discourse.julialang.org/t/add-project-tomls-to-all-your-repos/23747/2 "2019-05-01T21:56:53Z")

</div>

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