Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Local override manifest.json?

Discussion in 'Package Manager' started by trnq1ll0, Apr 21, 2021.

  1. trnq1ll0

    trnq1ll0

    Joined:
    Aug 30, 2019
    Posts:
    42
    Hi,
    in our team all members use manifest.json in the "Packages" folder. This contains Github links to our private packages for a project.
    However, I don't want to use the Github version of the packages, but the one I have locally, since I work on the packages in parallel. So I am looking for a way to override the github links to local directories without entering the local paths in my manifest.json. Because otherwise I always have to be careful when committing to git not to commit the manifest.json as well. I imagine something like a local.json, whose content is always executed after the manifest.json. This local.json could then be ignored by git using gitignore. I think I've seen something similar with npm. For my personal programs I use such a configuration system for a long time and it is very practical.

    Thank you in advance
     
    ryan-at-melcher and jvien like this.
  2. UnityMaru

    UnityMaru

    Community Engagement Manager Unity Technologies

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Thank you for your post :) There's nothing in place to allow what you want to do here but the team will raise this in future discussions to see what we can do going forward.
     
  3. ryan-at-melcher

    ryan-at-melcher

    Joined:
    Oct 22, 2018
    Posts:
    13
    Awesome suggestion. I'm in the same situation and looking for solutions.