bergware / dynamix

51 stars 38 forks source link

Cache Dirs 2.2.0 #15

Closed arberg closed 6 years ago

arberg commented 6 years ago

I shared info on this here: https://lime-technology.com/forums/topic/34889-dynamix-v6-plugins/?page=81&tab=comments#comment-650924

If you don't like my inclusion of the cache_dirs script, you are of cause welcome to revert to linking to dlandons github.

Things to note:

Your dynamix plugins link to the most recent commit of txz file. If the plugin and txz file is always pushed at the same time that may work reasonably for new users installing the plugin. However when a new txz file is pushed, it will break all old version of the plugin, if/when users delete the txz file and just keep the plugin plg file elsewhere and reinstalls later. In my plg i've linked to a released version, which seems like a nicer way to go about it. You probably are aware of this, and are doing what is simplest for you, I just wanted to mention it.

Programmers notes (copied from the forum post above)

I've moved the cache_dirs to the dynamix plugin github. The plugin and the cache-dirs version are tied together, the current cache-dirs page does not work properly with older cache_dirs versions. The plugin contained the MD5 of the cache_dirs.zip, and if the cache_dirs.zip was updated but the plugin was not updated, it would cause 'unexpected' behaviour, such as redownload on each reboot.

Since I've moved cache_dirs to dynamix github I've added a note that its not under copyright of dynamix. You can move it back out if you want. The newest script is also committed in dlandons github (in my fork).

bergware commented 6 years ago

Thanks for your updates. I'll need to make some tests and once verified I'll merge and publish the new version.