googlesamples / unity-jar-resolver

Unity plugin which resolves Android & iOS dependencies and performs version management
Other
1.22k stars 339 forks source link

[FR] Can this plugin be made into a UPM Package? #530

Open ROBYER1 opened 2 years ago

ROBYER1 commented 2 years ago

Makes it easy to update the package via Unity Package Manager, as in the current plugin I had the version 1.2.171, the settings > Update button did nothing in the plugin.

Also this would help with ease of install on the Github Readme for this plugin, currently the Readme doesn't have a simple and easy to find recommendation of how to install the plugin - most of the time when I am on github looking for Unity packages, I would expect to see a very simple 'How to Install' or 'Quick Start' at the top with a git url to paste into package manager + also a link for the actual package file too - see this example https://github.com/Elringus/UnityGoogleDrive#installation

paulinon commented 2 years ago

Hi @ROBYER1,

The external dependency manager is available in .tgz format, and it can be found here.

I'll be closing this for now. Let me know if this solution does not apply for your use case.

ROBYER1 commented 2 years ago

Does the install have to be only .tgz local file? A git url would be most useful for updating across projects, we of course use source control but I have a lot of projects using this plugin and having a git url install in the Package Manager would make updating the plugin and checking versions much faster. Screenshot 2022-06-29 at 2 46 05 pm

paulinon commented 2 years ago

Thanks for the clarification, @ROBYER1. In terms of using a git url, this feature isn't officially supported yet, but I see its potential for your use case. That being said, I'll let the team know about this. I'll leave this open for future updates.

ROBYER1 commented 2 years ago

Thanks for the clarification, @ROBYER1. In terms of using a git url, this feature isn't officially supported yet, but I see its potential for your use cae. That being said, I'll let the team know about this. I'll leave this open for future updates.

Thanks so much. That and also adding a Quick Start/Install bit to the Readme here on git would be extremely useful as we use a lot of github plugins, any that don't have a simple quick start can add a lot of extra setup time in new projects when introducing new team members to using them due to needing to dig around in the readme for the setup parts or even when making a new project and setting up for the first time.

snorrsi commented 1 year ago

@paulinon and @chkuang-g any news on this. It's kindof silly that package that is meant to make dependency updates of other packages isn't available through package system. It's great that you have the .tgz file but that is not enough. There is nothing in the way of extracting the .tgz file and sharing that one as a package. I'm doing it myself because you don't, no change needed. Nothing. Google Play Plugins seem to be able to do this [](https://github.com/google/play-unity-plugins/tree/v1.8.0/GooglePlayPlugins/com.google.play.core) and so should you :)

CodeMasterYi commented 1 year ago

I dont think using a git url is a very good idea. my opinion is hosting the package on a scoped registry. e.g. npmjs or openupm or some google ones. Unity Package Manager will check the version list and give an updating suggestion if this is a newer version. @paulinon @ROBYER1

snorrsi commented 1 year ago

@CodeMasterYi it would be nice to have anything else than only .unitypackage and the .tgz files .. having git urls would be great and scoped registry also

CodeMasterYi commented 1 year ago

@CodeMasterYi it would be nice to have anything else than only .unitypackage and the .tgz files .. having git urls would be great and scoped registry also

@snorrsi I vote scoped registry. aha