Thread Rating:
  • 0 Vote(s) - 0 Average
Different versions of a script.module in the offical repository
#1
Is it possible to have two different versions of a script.module in the addon repository? For example

script.module.foo exists in repo at version 0.1
plugin.video.bar specifies script.module.foo version 0.1 in its addon.xml

I want to update script.module.foo, but there are potentially incompatible API changes that would break plugin.video.bar, until I have a chance to update it.

If I commit script.module.foo version 0.2 to the repo, will plugin.video.bar automatically use the new version of script.module.foo?

Any pointers would be appreciated.

Thanks!
Reply
#2
If you specify that version 0.2 is backward compatible to 0.1, then yes it will pull down the newer version when a user installs it. However, there is no runtime checking done to my knowledge, so if the user has version 0.2 then it may well just import the new one. Please test it out and see what happens Smile

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply



Different versions of a script.module in the offical repository00