Details
-
Type: Task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Fall 7 : 11 Nov to 22 Nov
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
- relates to
-
IGBF-2107 Improving Apps and Release Model
- Closed
*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. [~aloraine]