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

To populate all fields of new version of released app from previous highest released app in Releases model

    Details

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

      Description

      When a user releases a new version of the app, populate all the fields of the app and also the authors information from the previous highest released version of the same app

        Attachments

          Issue Links

            Activity

            Hide
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment -

            *Issue:*To populate all fields of new version of released app from previous highest released app in Releases model

            Solution:
            Copy below fields from the previous released version of same (if present) in the new version of same app
            short_title
            license_url
            license_confirm
            website_url
            tutorial_url
            citation
            code_repository_url
            contact_email
            authors (reference of authors from Authors table)
            logo (Also save the logo to s3 bucket with new released version)
            categories

            Files changed:
            submit_app/models.py
            submit_app/views.py
            https://bitbucket.org/rpatil14/appstore_riddhi/branch/IGBF-2131#diff

            Testing steps:
            1) Submit and release an app. Edit the app to update above fields of the app
            2) Submit and release and upgrade version of released app. The above mentioned fields will be pre-populated for this app

            Testing results:
            EC2 - Code changes deployed to https://dev-appstore-6.bioviz.org. Admin user name and password is same as devappstore2
            S3 - https://s3.console.aws.amazon.com/s3/buckets/devappstore6-media-0000/media/?region=us-east-1&tab=overview

            cc. Ann Loraine

            Show
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - *Issue:*To populate all fields of new version of released app from previous highest released app in Releases model Solution: Copy below fields from the previous released version of same (if present) in the new version of same app short_title license_url license_confirm website_url tutorial_url citation code_repository_url contact_email authors (reference of authors from Authors table) logo (Also save the logo to s3 bucket with new released version) categories Files changed: submit_app/models.py submit_app/views.py https://bitbucket.org/rpatil14/appstore_riddhi/branch/IGBF-2131#diff Testing steps: 1) Submit and release an app. Edit the app to update above fields of the app 2) Submit and release and upgrade version of released app. The above mentioned fields will be pre-populated for this app Testing results: EC2 - Code changes deployed to https://dev-appstore-6.bioviz.org . Admin user name and password is same as devappstore2 S3 - https://s3.console.aws.amazon.com/s3/buckets/devappstore6-media-0000/media/?region=us-east-1&tab=overview cc. Ann Loraine
            Hide
            aloraine Ann Loraine added a comment -

            Please merge.
            Note: Creating new ticket to copy old assets to new release directory.

            Show
            aloraine Ann Loraine added a comment - Please merge. Note: Creating new ticket to copy old assets to new release directory.
            Show
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - Pull request submitted: https://bitbucket.org/lorainelab/appstore/pull-requests/161/igbf-2131/diff
            Hide
            aloraine Ann Loraine added a comment -

            Merged but not yet deployed on dev-appstore-2

            Show
            aloraine Ann Loraine added a comment - Merged but not yet deployed on dev-appstore-2
            Hide
            noor91zahara Noor Zahara added a comment -

            Working as expected.

            Show
            noor91zahara Noor Zahara added a comment - Working as expected.

              People

              • Assignee:
                rpatil14 Riddhi Jagdish Patil (Inactive)
                Reporter:
                rpatil14 Riddhi Jagdish Patil (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: