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

Create new repos for optionalPlugins

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      4
    • Sprint:
      Summer 2019 Sprint 8, Summer 2019 Sprint 9, Summer 2019 Sprint 10, Summer 2019 Sprint 11

      Description

      Now that we are moving ahead with deploying IGB Apps using the new App Store, let's separate the Apps currently version-controlled and built as part of the integrated-genome-browser platform repository into their own repositories and build systems.

      Doing this will make understanding the platform code easier for users (less to look through) and will also allow each App to become a first-class project with independent versioning, build, and distribution system.

      Moving the Apps into their own separate repositories will not take long, but once this is done, we need to modify their respective pom.xml files to enable compilation.

      Tasks - for each optionalPlugin IGB App:

      • Create new repos for each IGB App currently in optionalPlugins
      • Re-configure pom.xml to enable local compilation of jar and OBR index file (parent pom no longer available)
      • Bundle artifact should include a properties file with last git commit hash, origin repository. Ask NZ for details and/or see related issue below.

        Attachments

          Issue Links

            Activity

            Hide
            ann.loraine Ann Loraine added a comment -

            How to create a new repository from a sub-folder of an existing repository:

            Show
            ann.loraine Ann Loraine added a comment - How to create a new repository from a sub-folder of an existing repository: https://help.github.com/en/articles/splitting-a-subfolder-out-into-a-new-repository
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            How I did this for the 23andMe SNP converter

            Step 0: Set-up:

            Note: Another developer would need to make their own fork. I recommend not using the one you are using for regular IGB development.

            Step 1: Cloned above fork to my local

            • git clone git@bitbucket.org:aloraine/for-filtering-optionalplugins.git

            Step 2: Inside my local clone, pruned all commits and files except for 23andMe SNP converter code in optionalPlugins

            • git filter-branch --prune-empty --subdirectory-filter optionalPlugins/23andMe-snp-converter master

            Step 3: Created a new empty repo in bitbucket, renamed origin in my local clone to use the new empty repo

            • git remote set-url origin git@bitbucket.org:lorainelab/23andme-snp-converter.git

            Note: My bitbucket user can create and configure repositories owned by team lorainelab. Another developer would create the new empty repo under their own account and then later transfer of ownership to lorainelab group to make it the team repository for this App project.

            Step 4: Pushed the new master branch to the new origin.

            • git push origin master
            Show
            ann.loraine Ann Loraine added a comment - - edited How I did this for the 23andMe SNP converter Step 0 : Set-up: Created an all-new fork of integrated-genome-browser team repository. This was: https://bitbucket.org/lorainelab/23andme-snp-converter/src/master/ Note : Another developer would need to make their own fork. I recommend not using the one you are using for regular IGB development. Step 1 : Cloned above fork to my local git clone git@bitbucket.org:aloraine/for-filtering-optionalplugins.git Step 2 : Inside my local clone, pruned all commits and files except for 23andMe SNP converter code in optionalPlugins git filter-branch --prune-empty --subdirectory-filter optionalPlugins/23andMe-snp-converter master Step 3 : Created a new empty repo in bitbucket, renamed origin in my local clone to use the new empty repo git remote set-url origin git@bitbucket.org:lorainelab/23andme-snp-converter.git Note : My bitbucket user can create and configure repositories owned by team lorainelab. Another developer would create the new empty repo under their own account and then later transfer of ownership to lorainelab group to make it the team repository for this App project. Step 4 : Pushed the new master branch to the new origin. git push origin master
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Progress thus far:

            • Created a new repository for the 23andMe SNP converter as described above.

            https://bitbucket.org/lorainelab/23andme-snp-converter/src/master/

            Show
            ann.loraine Ann Loraine added a comment - - edited Progress thus far: Created a new repository for the 23andMe SNP converter as described above. https://bitbucket.org/lorainelab/23andme-snp-converter/src/master/
            Hide
            ann.loraine Ann Loraine added a comment -

            New repositories have all been created, jars are being built, and each downloads location can function as an App repository.

            Show
            ann.loraine Ann Loraine added a comment - New repositories have all been created, jars are being built, and each downloads location can function as an App repository.

              People

              • Assignee:
                prutha Prutha Kulkarni (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: