Alpha Repo won't install after PR 18341 (v19 addons-part5)
#1
So my repo won't install due to dependency on
xml:
<import addon="xbmc.addon" version="17.9.910"/>
and since the PR prohibits dependencies in repo addons.  The intent is to restrict installation to Kodi 18 and 19.  Is this not a correct concept, or should the dependency be allowed?

scott s.
.
Reply
#2
I just checked one my my Matrix repos, and here's the dependency I'm using:

<import addon="xbmc.python" version="3.0.0" />

But I haven't installed that repo since before the first Matrix Alpha (so one of the pre-Alpha nightlies).  It's about bed time for me in Hawaiʻi, but in the morning I'll get a test account setup on my dev machine with a clean Matrix install and see if that still works.

If you would like to try installing that repo, you can find it here:

https://github.com/pkscout/repository.be...ree/matrix
Reply
#3
Hey @scott967. I have an example repo addon.xml that we used for testing. I believe this is the preferred way to support 18/19. @pkscout can hopefully shed some more light on the topic which I admit I don't fully understand!

xml:

<?xml version="1.0" encoding="UTF-8"?>
<addon id="repository.leiamatrixndirs" name="Combined Leia/Matrix/Nnnnnn test repo" provider-name="Glenn Guy" version="1.0.0">
   <extension point="xbmc.addon.repository" name="(Separate dirs) Leia/Matrix/Nnnnnn test repo">
     <dir minversion="17.9.910">
       <info compressed="false">https://github.com/glennguy/repo-devel/raw/leia-matrix-dirs/leia/addons.xml</info>
       <checksum>https://github.com/glennguy/repo-devel/raw/leia-matrix-dirs/leia/addons.xml.md5</checksum>
       <datadir zip="true">https://github.com/glennguy/repo-devel/raw/leia-matrix-dirs/leia/</datadir>
     </dir>
     <dir minversion="18.9.701">
       <info compressed="false">https://github.com/glennguy/repo-devel/raw/leia-matrix-dirs/matrix/addons.xml</info>
       <checksum>https://github.com/glennguy/repo-devel/raw/leia-matrix-dirs/matrix/addons.xml.md5</checksum>
       <datadir zip="true">https://github.com/glennguy/repo-devel/raw/leia-matrix-dirs/matrix/</datadir>
     </dir>
     <dir minversion="20.0.0">
       <info compressed="false">https://github.com/glennguy/repo-devel/raw/leia-matrix-dirs/nnnnnn/addons.xml</info>
       <checksum>https://github.com/glennguy/repo-devel/raw/leia-matrix-dirs/nnnnnn/addons.xml.md5</checksum>
       <datadir zip="true">https://github.com/glennguy/repo-devel/raw/leia-matrix-dirs/nnnnnn/</datadir>
     </dir>
   </extension>
   <extension point="xbmc.addon.metadata">
      <summary>Leia/Matrix/Nnnnnn test repo</summary>
      <description>Leia/Matrix/Nnnnnn test repo</description>
      <platform>all</platform>
   </extension>
</addon>
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#4
The issue here is probably that xbmc.* addons should be allowed as dependencies if they are system dependencies. @pkscout repo also fails to install. We'll get a PR up shortly. Thanks for raising this @scott967
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#5
I saw the PR for this got approved.

https://github.com/xbmc/xbmc/pull/18366

That's good, as I really didn't want to setup a clean environment for another Matrix instance anyway.  Wink
Reply
#6
@pkscout yes, was able to install the repo then. is it a different issue (or wanted) that i actually cannot connect to its contents?
Reply
#7
Thanks all.  I do use the
xml:
<dir minversion="18.9.701">
convention to provide the desired addons on a per-version basis, but the dependency was intended to manage the install-ability of the whole repo.  Though thinking about that it probably isn't strictly required in my repo use case.  I think I probably "borrowed" that method from some one else's repo that seemed to work well and didn't think too much about it.

At any rate I saw the new PR and it looks like it solves my immediate non-install issue.  I still need to think if the dependency is really needed in the repo addon.xml or should be removed.

scott s.
.
Reply

Logout Mark Read Team Forum Stats Members Help
Repo won't install after PR 18341 (v19 addons-part5)0