dcmeglio / hubitat-packagemanager

BSD 3-Clause "New" or "Revised" License
149 stars 56 forks source link

Add ability to template locations #120

Open ardichoke opened 3 years ago

ardichoke commented 3 years ago

It would be useful if we could have some basic templating for at least the location field in a package manifest. This would allow pointing at, for instance, tagged releases without having to update the URLs by inserting the version number into the URL automatically.

As it is right now, if you point the location at the primary branch of a repo, it's possible that users could end up getting different versions of an app or driver depending on when they installed it if there was a commit to the referenced branch but the package manifest hadn't been updated. This is obviously less than ideal.