Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2084

Refactor App Store release and app models

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Our current App Store code assumes that mutable App details such as Bundle_Description, short title, authors, user ratings (stars), authors, short title, screen captures, license URL, etc. are shared across all versions of an App.

      However, this is problematic because some information might change between releases of an App.

      For example, version 2.0.0 of "AnApp" could use a different license than "AnApp" version 1.0.0. Version 2.0.0 might also have different authors. Or it could require a different version of the IGB platform itself.

      We need to refactor the App Store to enable different content to appear for different versions of the same App. Also, the content shown will depend on which version of IGB (if any) is running on the user's desktop.

      When a user launches a particular version of IGB and then visits the App Store page for "AnApp" in their Web browser, details for the highest version of "AnApp" compatible with that particular version of IGB should be displayed. To find out which version that is, App Store can use function "get_app_info" implemented in appstore/static/apps/js/app_page.js, which hits an IGB REST endpoint sending the Bundle_SymbolicName as a parameter.

      To save time for developers, we should migrate much of the information for the highest current release of "AnApp" over to new releases. For example, we should "copy over" details such as the source code URL, authors, etc, excluding content that gets imported directly from the uploaded jar file, e.g., BundleName and BundleDescription. The developer will then be able to edit details for the newly released App using the previously entered information as a starting point.

      When displaying ratings (stars) and number of downloads for "AnApp", the summary views should show the total across all releases of the same App.
      We can provide more details, fine-grained statistics via a "Download Stats" button similar to Cytoscape App Store.

      Tasks:

      • Refactor app models.py to capture immutable App release information in the "releases" table, user-editable details needed to build the page in EditableAppDetails
      • Ensure that BundleDescription field is initially populated from the repository.xml file uploaded with the bundle jar
      • Ensure that IGB App Manager and IGB App Store are showing the same BundleDescription

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Epic Child IGBF-2091 [ 18209 ]
            ann.loraine Ann Loraine made changes -
            Epic Child IGBF-2091 [ 18209 ]
            ann.loraine Ann Loraine made changes -
            Link This issue blocks IGBF-2096 [ IGBF-2096 ]
            ann.loraine Ann Loraine made changes -
            Epic Child IGBF-2097 [ 18215 ]
            ann.loraine Ann Loraine made changes -
            Issue Type Epic [ 10000 ] Task [ 3 ]
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-2107 [ IGBF-2107 ]
            ann.loraine Ann Loraine made changes -
            Link This issue blocks IGBF-2096 [ IGBF-2096 ]
            ann.loraine Ann Loraine made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            ann.loraine Ann Loraine made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            ann.loraine Ann Loraine made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]

              People

              • Assignee:
                ann.loraine Ann Loraine
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: