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:

<?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>

Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply


Messages In This Thread
Repo - auto-mark broken based on version dependency? Defining a maxversion? - by sualfred - 2018-12-05, 17:45
Logout Mark Read Team Forum Stats Members Help
Repo - auto-mark broken based on version dependency? Defining a maxversion?0