Results 1 to 3 of 3

Thread: Custom repository: maintaining different app versions for different boxee versions

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Posts
    8

    Default Custom repository: maintaining different app versions for different boxee versions

    For custom repository app, I was trying to maintaining different app versions for different boxee versions (e.g. 0.9.23 vs 1.5.0) so that users on older version of boxee get one version of the app while users on newer versions of boxee would get another version when they add the repository.

    I tried the below using the maxversion/minversion tags, but I keep getting the latest version (3.1 in this example) on both versions of Boxee. Is there something I am missing? I guess I could just name the apps differently but I wanted the installation process to take care of the version stuff


    The repository index.xml is as below
    Code:
    <apps>
       <app>
          <id>com.company.appname</id>
          <name>appname</name>
          <version>1.3</version>
           ....
          <platform>all</platform>
          <minversion>0.9.5</minversion>
          <maxversion>1.4.9</maxversion>
       </app>
       <app>
          <id>com.company.appname</id>
          <name>appname</name>
          <version>3.1</version>
           ....
          <platform>all</platform>
          <minversion>1.5.0</minversion>
       </app>
    </apps>
    And the descriptor.xml files for each of the apps are as below

    Code:
    <app>
      <id>com.company.appname</id>
      <name>appname</name>
      <version>1.3</version>
       ...
      <platform>all</platform>
      <minversion>0.9.5</minversion>
      <maxversion>1.4.9</maxversion>
    </app>
    
    <app>
      <id>com.company.appname</id>
      <name>appname</name>
      <version>3.1</version>
       ....
      <platform>all</platform>
      <minversion>1.5.0</minversion>
    </app>

    Any tips would be appreciated.

    Thanks!
    Last edited by verbal1714; February 3rd, 2012 at 04:51 AM.

  2. #2
    Join Date
    Nov 2010
    Location
    Jyväskylä, Finland
    Posts
    66

    Default

    I solved this with two different apps with different ids:

    http://tvkaistaboxeev2.googlecode.co...repo/index.xml

  3. #3
    Join Date
    Feb 2010
    Posts
    8

    Default

    Thanks! I copied your index.xml and got it to work correctly (ie it only shows the older version of the app on older boxee installations, and both apps on the newer installations).

    For anyone else who may run into this, here are the contents:

    Code:
    <apps>
       <app>
          <id>com.company.appnamenew</id>
          <name>appname</name>
          <version>1.3</version>
          <description>My app (for Boxee versions 1.5.x onwards)</description>
           ....
          <platform>dlink.dsm380</platform>
          <minversion>1.0.0</minversion>
       </app>
       <app>
          <id>com.company.appname</id>
          <name>appname</name>
          <description>My app (for Boxee versions prior to 1.5.x)</description>
          <version>3.1</version>
           ....
          <platform>win,mac,atv,linux</platform>
          <minversion>0.9.20</minversion>
       </app>
    </apps>

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •