Search Unity

[Feature Request] Support for non-root git packages

Discussion in 'Package Manager' started by starikcetin, Aug 15, 2019.

  1. starikcetin

    starikcetin

    Joined:
    Dec 7, 2017
    Posts:
    340
    See: https://github.com/mob-sakai/UpmGitExtension/issues/46

    Extenject repository has their main files at a sub-directory in their main repository (root/Unity-Project/Assets/Plugins/Zenject).

    By following the subtree split approach, we can currently create a separate branch that has the package files on its root. But it clutters the main branch hierarchy and, well, it is additional maintenance load for the repository maintainers.

    Maybe you guys could introduce a support for these kind of situations, where you only fetch the package folder and ignore the rest of the repository. I imagine a simple json file at the root of the repository that contains the path to the package.json would be enough for this.

    This way, we can simply maintain the git repository as-is, without any additional work for releasing to the UPM.

    What do you think?
     
    Last edited: Aug 15, 2019
  2. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
    Hi @starikcetin ,

    This is a feature on our roadmap.

    Regards,

    Pascal
     
    starikcetin likes this.
  3. starikcetin

    starikcetin

    Joined:
    Dec 7, 2017
    Posts:
    340
    I'm very glad to hear that, good job on the package manager so far, I am loving it.
     
    okcompute_unity likes this.