Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Local override manifest.json?

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

  1. trnq1ll0

    trnq1ll0

    Joined:
    Aug 30, 2019
    Posts:
    53
    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
     
    organick, ryan-at-melcher and jvien like this.
  2. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    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:
    16
    Awesome suggestion. I'm in the same situation and looking for solutions.
     
  4. bhallion

    bhallion

    Joined:
    Mar 26, 2018
    Posts:
    6
    Same here
     
  5. organick

    organick

    Joined:
    Jul 17, 2012
    Posts:
    19
    +1
    Been a few years since the original post, but any update on this?