Resource requires running a bat file. Make sure you trust the creator and apply your own security measures.
Private Hub Dependencies
Keep large private VAR libraries outside your active VaM setup and copy only the dependencies you actually need.A performance-focused extension of AutoGetDependencies by everlaster.
Overview
PrivateHubDependencies is an extension of AutoGetDependencies that adds support for private and local package sources. The original plugin detects missing dependencies and helps resolve them through the Hub, while this version can also copy matching packages from private local archives when needed. This makes it possible to keep large private VAR collections outside your active VaM setup and only bring required packages into AddonPackages when they are actually needed.How It Works
The plugin uses a helper bridge structure based on junctions / SymLinks.Because VaM plugins are sandboxed, the plugin cannot directly access arbitrary external folders.
Instead, it works through a prepared helper structure inside PluginData to:
- access one or more private/local source folders
- copy matching .var files into AddonPackages
- let VaM detect the copied packages after a package rescan
Features
- copying of missing private dependencies
- support for multiple private/local source folders
- cleaner active AddonPackages setup
- works alongside normal Hub dependency handling
Setup
- Install the plugin as a VaM session plugin
- Run CreatePrivateHubDependenciesSymLinks.bat
- Add one or more private source folders when prompted
- Load flurol.PrivateHubDependencies in VaM
- Scan dependencies in the plugin UI
- Click Copy local missing dependencies from local path
- Click Rescan packages so VaM detects the copied .var files
Notes
- Source files are copied, not moved
- The plugin does not create the junctions automatically
- The helper setup can be removed again with RemovePrivateHubDependenciesSymLinks.bat
- Remove the SymLinks helper structure before packaging the plugin into a .var
Credits & License
Adapted from AutoGetDependencies by everlasterOriginal license: CC BY 4.0
Original resource:
https://hub.virtamate.com/resources/autogetdependencies.51304/
Additional credits:
- SymLinks / junction workflow inspired by BrowserAssist by JayJayWon
- Includes MacGruber_Utils by MacGruber
- Modified and extended by flurol
Resource requires running a bat file. Make sure you trust the creator and apply your own security measures.