So I’ve found a solution.
-
I cloned repository from Github onto a shared network drive accessible over VPN or corporate network, and will pull changes from Github when I’m ready to issue a new release. So this is the single entry point as suggested.
-
Created a bare repository and made my clone from step 1 the remote origin. These are right next to each other on the network drive.
git init --bare --shared
git remote add origin [clone_path]
-
Now I can use my_extension.git as the source for installation and updates without needing Github credentials.
pyrevit extend ui [ext_name] "file:///\\server\path\to\my_extension.git" --dest="C:\pyRevit-Master\extensions" --branch=[branch] --debug
I’m assuming there is a speed advantage associated with using a Git daemon instead of accessing over file system protocol?
VPN cuts throughput from ~900 down to around ~200 down if that when working remote, but at least we aren’t dealing with large amount of data if its just updating and not installing.