# Switching package registration systems soon

**URL:** <https://discourse.julialang.org/t/switching-package-registration-systems-soon/22677>\
**Category:** Announcements\
**Tags:** package-manager\
**Created:** [April 3, 2019, 6:48am UTC](https://discourse.julialang.org/t/switching-package-registration-systems-soon/22677 "2019-04-03T06:48:03Z")\
**Posts on this page:** 1\
**Showing post:** 106

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [April 9, 2019, 5:06am UTC](https://discourse.julialang.org/t/switching-package-registration-systems-soon/22677/106 "2019-04-09T05:06:05Z")

</div>

Here’s a script that can generate a project file for a package with a REQUIRE file:

[https://github.com/JuliaLang/Pkg.jl/pull/1133/files](https://github.com/JuliaLang/Pkg.jl/pull/1133/files)

You call it with `ARGS` as directories where packages live. If the first argument is `-f` then it will overwrite existing `Project.toml` files, otherwise it will refuse to do so. It generates a `[compat]` section that approximates the bounds in the REQUIRE file as closely as possible, but unfortunately since the `[compat]` section doesn’t support version ranges this translation can be a bit messy. It is strongly encouraged that you manually review the `[compat]` section and edit by hand as appropriate.

Oh, I should also note that this will only generate a correct project file if all of the dependencies have METADATA-compatible UUIDs. If you try to use this to generate a project file for a package that has dependencies that are not registered in General, this might not be the case and the results will be wrong. This is designed primarily to work for already-registered packages.

The sync script is still offline because of a hardware failure. I’m getting the sync script up and running on a different machine.

---

_[View the full topic](https://discourse.julialang.org/t/switching-package-registration-systems-soon/22677)._
