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

Update biojava 2bit reader example App

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      1.5
    • Sprint:
      Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb, Spring 4 : 2 Mar to 13 Mar, Spring 5 : 16 Mar to 27 Mar, Spring 6 : 30 Mar to Apr 10

      Description

      Update:

      https://bitbucket.org/lorainelab/2bit-reader/

      To update the App:

      • Add code to the POM to trigger building of an OBR index file "repository.xml"
      • Ensure that repository.xml will get included with the jar file so that we can release the App on App Store
      • Add a bitbucket pipelines YML file to trigger building and copying of the jar file and repository.xml file to Downloads
      • Create an "md" file for display in the App Store and in IGB App Manager (not the current README.md file, which is for bitbucket users and developers)
      • Create an image we can use as a logo (something with base letters or?)
      • Contact Deepti Joshi (the author) to get her preferred contact information

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Epic Link IGBF-1908 [ 17998 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Description Update:

            https://bitbucket.org/lorainelab/biojava-example-app

            To update the App:

            * Add code to the POM to trigger building of an OBR index file "repository.xml"
            * Ensure that repository.xml will get included with the jar file so that we can release the App on App Store
            * Add a bitbucket pipelines YML file to trigger building and copying of the jar file and repository.xml file to Downloads
            * Create an "md" file for display in the App Store and in IGB App Manager (not the current README.md file, which is for bitbucket users and developers)
            * Create an image we can use as a logo (something with base letters or?)
            * Contact Deepti Joshi (the author) to get her preferred contact information
            Update:

            https://bitbucket.org/lorainelab/2bit-reader/

            To update the App:

            * Add code to the POM to trigger building of an OBR index file "repository.xml"
            * Ensure that repository.xml will get included with the jar file so that we can release the App on App Store
            * Add a bitbucket pipelines YML file to trigger building and copying of the jar file and repository.xml file to Downloads
            * Create an "md" file for display in the App Store and in IGB App Manager (not the current README.md file, which is for bitbucket users and developers)
            * Create an image we can use as a logo (something with base letters or?)
            * Contact Deepti Joshi (the author) to get her preferred contact information
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Note: Just now added two Powerpoint presentations by Deepti Joshi to new folder in the repository.

            Show
            ann.loraine Ann Loraine added a comment - Note: Just now added two Powerpoint presentations by Deepti Joshi to new folder in the repository.
            ann.loraine Ann Loraine made changes -
            Sprint Spring 2 : 20 Jan to 31 Jan [ 85 ] Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb [ 85, 86 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment -

            Investigated the issue while uploading the app on dev-appstore-2 with the help of Sameer Shanbhag

            The app upload fails due to export-package being mentioned in the manifest. This was used by Cytoscape to upload the package on one of their repository using Submit-API function which was removed by us in earlier sprints.

            To allow the app to install, here are few suggestion:
            1. Bring back submit api (Not Recommended)
            2. Remove submit api from the code base as we are not using any other cloud service to store our packages differently. (Recommended - Can be done as a part of IGBF-2231)

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - Investigated the issue while uploading the app on dev-appstore-2 with the help of Sameer Shanbhag The app upload fails due to export-package being mentioned in the manifest. This was used by Cytoscape to upload the package on one of their repository using Submit-API function which was removed by us in earlier sprints. To allow the app to install, here are few suggestion: 1. Bring back submit api (Not Recommended) 2. Remove submit api from the code base as we are not using any other cloud service to store our packages differently. (Recommended - Can be done as a part of IGBF-2231 )
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Let's remove this now in a single commit because it will take some time before IGBF-2231 can be merged.
            Please do it as part of this older ticket which I have re-opened: https://jira.transvar.org/browse/IGBF-1994
            Maybe Noor Zahara or Sameer Shanbhag can do it quickly?

            Show
            ann.loraine Ann Loraine added a comment - Let's remove this now in a single commit because it will take some time before IGBF-2231 can be merged. Please do it as part of this older ticket which I have re-opened: https://jira.transvar.org/browse/IGBF-1994 Maybe Noor Zahara or Sameer Shanbhag can do it quickly?
            ann.loraine Ann Loraine made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ]
            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 ] To-Do [ 10305 ]
            Hide
            sameer Sameer Shanbhag (Inactive) added a comment -

            Prof. [~aloraine] I can take it up.
            I'll do it as a part of https://jira.transvar.org/browse/IGBF-1994

            Show
            sameer Sameer Shanbhag (Inactive) added a comment - Prof. [~aloraine] I can take it up. I'll do it as a part of https://jira.transvar.org/browse/IGBF-1994
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment -

            The following changes have been made to the app.
            1) OBR index file now gets generated and induced in the jar.
            2) A bitbucket-pipelines.yml file has been added to trigger building and copying jar and repository.xml to Downloads.
            3) An AppDescription.md file was added to display the description in App Manager.
            4) A logo was added to the resources folder.
            The changes are present in
            https://bitbucket.org/skulka2710/shamika-2bit-reader/branch/IGBF-2238#diff

            The app can be uploaded to Appstore after Sameer Shanbhag finishes his work on IGBF-1994.
            Moving to first level review.

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - The following changes have been made to the app. 1) OBR index file now gets generated and induced in the jar. 2) A bitbucket-pipelines.yml file has been added to trigger building and copying jar and repository.xml to Downloads. 3) An AppDescription.md file was added to display the description in App Manager. 4) A logo was added to the resources folder. The changes are present in https://bitbucket.org/skulka2710/shamika-2bit-reader/branch/IGBF-2238#diff The app can be uploaded to Appstore after Sameer Shanbhag finishes his work on IGBF-1994 . Moving to first level review.
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Request for Shamika Gajanan Kulkarni

            Can you investigate: Is it necessary to export packages from the bundle? There may be some weirdness related to how the biojava library is being handled which may require that the OSGi header includes an export packages statement. But if the biojava library is on the bundle's own classpath, that should not matter.

            Show
            ann.loraine Ann Loraine added a comment - Request for Shamika Gajanan Kulkarni Can you investigate: Is it necessary to export packages from the bundle? There may be some weirdness related to how the biojava library is being handled which may require that the OSGi header includes an export packages statement. But if the biojava library is on the bundle's own classpath, that should not matter.
            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 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Try unpacking the jar - looks like some things are being packaged with the jar that may should not be, including:

            • guava-19.0.jar
            • log4j-api-2.5.jar
            • log4j-core-2.5.jar
            • log4j-slf4j-impl-2.5.jar

            $ jar xvf biojava-igb-app-0.0.1.jar
            inflated: META-INF/MANIFEST.MF
            created: META-INF/
            created: META-INF/maven/
            created: META-INF/maven/igb-app-examples/
            created: META-INF/maven/igb-app-examples/biojava-igb-app/
            inflated: META-INF/maven/igb-app-examples/biojava-igb-app/pom.properties
            inflated: META-INF/maven/igb-app-examples/biojava-igb-app/pom.xml
            created: OSGI-INF/
            inflated: OSGI-INF/org.lorainelab.igb.sequencereader.TwoBitReaderApp.xml
            inflated: biojava-alignment-4.2.8.jar
            inflated: biojava-core-4.2.8.jar
            inflated: biojava-genome-4.2.8.jar
            inflated: biojava-phylo-4.2.8.jar
            inflated: forester-1.038.jar
            inflated: guava-19.0.jar
            inflated: log4j-api-2.5.jar
            inflated: log4j-core-2.5.jar
            inflated: log4j-slf4j-impl-2.5.jar
            inflated: logo.png
            created: org/
            created: org/biojava/
            created: org/biojava/nbio/
            created: org/biojava/nbio/genome/
            created: org/biojava/nbio/genome/parsers/
            created: org/biojava/nbio/genome/parsers/twobit/
            inflated: org/biojava/nbio/genome/parsers/twobit/TwoBitParser.class
            created: org/lorainelab/
            created: org/lorainelab/igb/
            created: org/lorainelab/igb/sequencereader/
            inflated: org/lorainelab/igb/sequencereader/TwoBitFileSummarizer.class
            inflated: org/lorainelab/igb/sequencereader/TwoBitReaderApp.class
            inflated: repository.xml
            inflated: slf4j-api-1.7.14.jar
            inflated: summarize.png

            There's a lot going on here – we might want to make an all-new ticket called "Re-factor biojava 2bit parser POM" to omit some of these things that are probably not needed.

            I have a PDF that talks about how to transform 3rd party jars into OSGi bundles – I will add a link to it here. (I have to find it.)

            Show
            ann.loraine Ann Loraine added a comment - Try unpacking the jar - looks like some things are being packaged with the jar that may should not be, including: guava-19.0.jar log4j-api-2.5.jar log4j-core-2.5.jar log4j-slf4j-impl-2.5.jar $ jar xvf biojava-igb-app-0.0.1.jar inflated: META-INF/MANIFEST.MF created: META-INF/ created: META-INF/maven/ created: META-INF/maven/igb-app-examples/ created: META-INF/maven/igb-app-examples/biojava-igb-app/ inflated: META-INF/maven/igb-app-examples/biojava-igb-app/pom.properties inflated: META-INF/maven/igb-app-examples/biojava-igb-app/pom.xml created: OSGI-INF/ inflated: OSGI-INF/org.lorainelab.igb.sequencereader.TwoBitReaderApp.xml inflated: biojava-alignment-4.2.8.jar inflated: biojava-core-4.2.8.jar inflated: biojava-genome-4.2.8.jar inflated: biojava-phylo-4.2.8.jar inflated: forester-1.038.jar inflated: guava-19.0.jar inflated: log4j-api-2.5.jar inflated: log4j-core-2.5.jar inflated: log4j-slf4j-impl-2.5.jar inflated: logo.png created: org/ created: org/biojava/ created: org/biojava/nbio/ created: org/biojava/nbio/genome/ created: org/biojava/nbio/genome/parsers/ created: org/biojava/nbio/genome/parsers/twobit/ inflated: org/biojava/nbio/genome/parsers/twobit/TwoBitParser.class created: org/lorainelab/ created: org/lorainelab/igb/ created: org/lorainelab/igb/sequencereader/ inflated: org/lorainelab/igb/sequencereader/TwoBitFileSummarizer.class inflated: org/lorainelab/igb/sequencereader/TwoBitReaderApp.class inflated: repository.xml inflated: slf4j-api-1.7.14.jar inflated: summarize.png There's a lot going on here – we might want to make an all-new ticket called "Re-factor biojava 2bit parser POM" to omit some of these things that are probably not needed. I have a PDF that talks about how to transform 3rd party jars into OSGi bundles – I will add a link to it here. (I have to find it.)
            Hide
            ann.loraine Ann Loraine added a comment -

            Moving previous two comments to a new ticket and recommending PR.

            Show
            ann.loraine Ann Loraine added a comment - Moving previous two comments to a new ticket and recommending PR.
            ann.loraine Ann Loraine made changes -
            Status To-Do [ 10305 ] Pull Request Submitted [ 10101 ]
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-2264 [ IGBF-2264 ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Assignee Shamika Gajanan Kulkarni [ shamika ] Ann Loraine [ aloraine ]
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment -

            Yes I found that many jars are being packaged in the target jar. I like the idea of making a separate ticket for it. I haven't submitted a pull request yet for this one.

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - Yes I found that many jars are being packaged in the target jar. I like the idea of making a separate ticket for it. I haven't submitted a pull request yet for this one.
            ann.loraine Ann Loraine made changes -
            Sprint Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb [ 85, 86 ] Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 21 Feb [ 85, 86, 87 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Shamika Gajanan Kulkarni [ shamika ]
            Hide
            ann.loraine Ann Loraine added a comment -
            Show
            ann.loraine Ann Loraine added a comment - Shamika Gajanan Kulkarni Please resolve conflict with your branch and submit PR: https://bitbucket.org/skulka2710/shamika-2bit-reader/branch/IGBF-2238#diff
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] To-Do [ 10305 ]
            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - Resolved the conflicts and submitted a PR. https://bitbucket.org/lorainelab/2bit-reader/pull-requests/2/igbf-2238-update-pomxml/diff
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            shamika Shamika Gajanan Kulkarni (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            shamika Shamika Gajanan Kulkarni (Inactive) 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 -
            Assignee Shamika Gajanan Kulkarni [ shamika ]
            nfreese Nowlan Freese made changes -
            Sprint Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb [ 85, 86, 87 ] Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb, Spring 4 : 2 Mar to 13 Mar [ 85, 86, 87, 89 ]
            nfreese Nowlan Freese made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Sprint Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb, Spring 4 : 2 Mar to 13 Mar [ 85, 86, 87, 89 ] Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb, Spring 4 : 2 Mar to 13 Mar, Spring 5 : 16 Mar to 27 Mar [ 85, 86, 87, 89, 90 ]
            nfreese Nowlan Freese made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Sprint Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb, Spring 4 : 2 Mar to 13 Mar, Spring 5 : 16 Mar to 27 Mar [ 85, 86, 87, 89, 90 ] Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb, Spring 4 : 2 Mar to 13 Mar, Spring 5 : 16 Mar to 27 Mar, Spring 6 : 30 Mar to Apr 10 [ 85, 86, 87, 89, 90, 91 ]
            nfreese Nowlan Freese made changes -
            Rank Ranked higher
            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 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: