Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Local/NAS package registry? Updating a local/NAS package?

Discussion in 'Package Manager' started by GarthSmith, Nov 13, 2018.

  1. GarthSmith

    GarthSmith

    Joined:
    Apr 26, 2012
    Posts:
    1,240
    Hello!

    We have multiple projects using ECS and we would like to share code between our projects. We plan on making local packages that we add to each Git repository to accomplish this code share.

    Is there a way to run our own internal package registry?

    It looks like we have to manually copy our updated package to each project's Git repository. Each time we update a package, we have to go through each project's repository and add the updated package.

    It would be super sweet if I could just add the updated package to Networked Attached Storage, and have the new package version appear in all our programmer's package managers. Has anyone accomplished anything like this?

    I might end up writing a script to commit our updated packages to all our project repositories at once. Then edit manifest.json for each project with an updated path and version. Not ideal, so what are other people doing to code share?

    Thanks for the help and ideas, everyone!
     
    Last edited: Nov 13, 2018
  2. M_R

    M_R

    Joined:
    Apr 15, 2015
    Posts:
    559
    pedro_unity likes this.