Bug Repo - auto-mark broken based on version dependency? Defining a maxversion?
#1
-> https://kodi.wiki/view/Addon.xml#Dependency_versions

I'm currently reworking my personal repo to support multiple Kodi versions and have some troubles:

Skins usually are never backward compatible, because the xbmc.gui version has to be bumped to get it installed, but a Krypton skin version is still listed in my repo for Leia (even if it cannot be installed).

I'm not sure if this is a bug or if the ABI version for skins has never been bumped in the last Kodi versions, but shouldn't it be marked automatically as broken?
Quote:-> The ABI version you see in the table above is the backwards compatibility version for which add-ons are still marked "working".

By the way, is there a way to define a "maxversion" for the directories? Cannot find any documentation or info.

My repo addon.xml


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.repofred" name="Fred's Repository" version="0.0.3" provider-name="sualfred">
    <requires>
        <import addon="xbmc.addon" version="12.0.0"/>
    </requires>
    <extension point="xbmc.addon.repository" name="Kodi Emby Test Repo">
        <dir>
            <info compressed="false">https://repo.xxx.xxx/kodi-repo/repositories/addons.xml</info>
            <checksum>https://repo.xxx.xxx/kodi-repo/repositories/addons.xml.md5</checksum>
            <datadir zip="true">https://repo.xxx.xxx/kodi-repo/repositories/</datadir>
        </dir>
        <dir minversion="17.9.0">
            <info compressed="false">https://repo.xxx.xxx/kodi-repo/leia/addons.xml</info>
            <checksum>https://repo.xxx.xxx/kodi-repo/leia/addons.xml.md5</checksum>
            <datadir zip="true">https://repo.xxx.xxx/kodi-repo/leia/</datadir>
        </dir>
        <dir minversion="16.9.0">
            <info compressed="false">https://repo.xxx.xxx/kodi-repo/krypton/addons.xml</info>
            <checksum>https://repo.xxx.xxx/kodi-repo/krypton/addons.xml.md5</checksum>
            <datadir zip="true">https://repo.xxx.xxx/kodi-repo/krypton/</datadir>
        </dir>
    </extension>
    <extension point="xbmc.addon.metadata">
        <summary>Fred's Repository</summary>
        <description>This repo contains the Kodi addons</description>
        <disclaimer></disclaimer>
        <platform>all</platform>
        <assets>
            <icon>resources/icon.png</icon>
            <fanart>resources/fanart.jpg</fanart>
        </assets>
    </extension>
</addon>

Reply
#2
It is fixed with 14933 (PR).
Reply
#3
@Rechi 

Thanks, I'll give it a try but I think that it won't will solve the problem that it's still listed in the repo. I've tried it with a Jarivs skin on Krypton and Leia, it and it was still listed in the repo and wasn't marked automatically as broken. Installation was not possible, because the GUI version could not be satisfied.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Repo - auto-mark broken based on version dependency? Defining a maxversion?00