Skip to content

Package Manager Tools to automate some Unity package manager tasks and fill in some feature gaps.

License

Notifications You must be signed in to change notification settings

Gentlymad-Studios/PackageManagerTools

Repository files navigation

Package Manager Tools

Version GitHub last commit GitHub GitHub issues

This package helps to automate some Unity package manager tasks and fill in some feature gaps.

gitupdate

Picture of the git update window that lists any outstanding git package updates.

Current Features

  • git package dependency resolving
  • Detects git package updates by checking the remote source
  • Update checks are offloaded to another thread to be as low on performance as possible
  • Update checks are done periodically
  • Creating an optional blacklist where you can avoid to resolve certain dependency based on their unique identifier.

This package makes some assumptions you should be aware of:

  • There is no compatibility check for dependencies, the system will always initiate the download of the newest git dependency
  • Same for update checks. The system will only look for the latest release and download the newest version.

Installation

  1. Add https://github.com/Gentlymad-Studios/PackageManagerTools.git as a git url to your unity project using the standard package manager
  2. Add git dependencies to the package.json you want to use. The syntax for this is like so:
"custom_gitDependencies": {
  "com.gentlymadstudios.editorui": "https://github.com/Gentlymad-Studios/EditorUI.git"
},
  1. If you are not using github, specifiy a link in you package.json where the system can retrieve the package.json for remote version checking.
"custom_packageJsonLink": "https://raw.githubusercontent.com/Gentlymad-Studios/EditorHelper/master/package.json",
  1. Add your git packages via the package manager as usual.
  2. If you have valid git dependencies, these should now be automatically installed after your main package installed.
  3. If you want to update git packages more conveniently, open the GitUpdateWindow found under Tools.

Optional: Add a blacklist

image

If you need to prevent or excempt certain depedencies to automatically resolve you can add a blacklist. This is useful in cases where a dependency might already be available in your project (e.g. as a plugin or embedded in your project view).

To create a blacklist you need to:

  1. Right click in your project view in Unity and select: Create > PackageManagerTools > Blacklist
  2. Create a new entry by clicking on the '+' icon of the list.
  3. Add the unique identifier of a package (example: com.gentlymad.odinserializer) to exclude when dependencies should be resolved.

~ Use at your own risk. ~

About

Package Manager Tools to automate some Unity package manager tasks and fill in some feature gaps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages