Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 48 Next »

Version control

The IGB project uses git for version control. Previously, we used svn (subversion) and cvs before that. We migrated from an svn repository on SourceForge to a git repository on Bitbucket in 2014.

The main repository address is: https://bitbucket.org/lorainelab/integrated-genome-browser.

When you clone from this repository, by default you'll get the master branch, the latest, most recent version of the code base. This branch is under active development and ultimately will become the next major release of IGB. If you plan to develop IGB and would like your changes to be incorporated into the main repository and ultimately packaged for release to users, then you should issue pull requests to the master branch only.

To develop IGB, we use the Forking Workflow described in https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow

IGB branches and tags

IGB repository branches include:

  • Master branch - code under active development; developers issue pull requests to the master branch only
  • releaseCandidate branch - code to be packaged for release to users on BioViz.org; do not issue pull requests to this branch.

When we package IGB for release on the BioViz.org Web site, we create a new tag. If you need to view the source code for older versions of IGB corresponding to specific versions released to users, check out the corresponding tag.  If you are developing an IGB App and want to write an App that is compatible with the currently released version of IGB, then check out the corresponding tag.

IGB versioning - major and minor releases

IGB version names use semantic versioning, described in Semantic Versioning 2.0.

IGB releases have version names like 8.3.0 or 8.4.2, following the naming convention [M].[N].[P], where M, N, and P are integers.

In IGB, N is the major release number, M is the minor release number, and P is the micro or "bug fix" release number. (Bug fix releases are also called patches.)

All new minor release of IGB support all API methods available in earlier releases sharing the same major release number. New releases that increment the minor or micro numbers may contain changes to the API which are backwards compatible with all prior versions from the same major release. They also may contain new interfaces not present in the earlier versions. A new minor or bug fix release should always be compatible with IBG Apps built against earlier versions from the same major release.

New major releases of IGB contain so-called "contract breaking" changes to the IGB API. This means that a new release that increments the major number (e.g., releasing IGB N.0.0) may include changes to the API methods that affect IGB Apps built using the previous major release. To ensure that your users can run your App when a new major version is released, you should re-build your App using the latest IGB platform and release it in the usual way. We recommend you release versions of your App that are compatible with all major releases above IGB 8.0.0 to ensure that the greatest number of users can run your App.

However, if you are unable to release an update to your App, users will always be able to run it using older versions of IGB, which they can get from our files download page at Sourceforge.

Before making a major release, the IGB core development team contacts everyone we know of who is developing IGB Apps to alert them to upcoming changes in the API.

IGB release cycle - road map for 2016

The IGB core development team plans to release a new set of IGB service APIs for App developers in the first part of 2016 as part of the next major release of IGB, which will be IGB 9.0.0.

In the meantime, the team will continue making minor, mostly "bug fix" releases of IGB 8.5 and above.

All code released as part of IGB 8.5 will continue to support App APIs currently in place, but the IGB 9 release will include heavy refactoring of the API.

Development of IGB 9 will happen on the master branch. As soon as the master branch no longer supports existing APIs, we'll increment the version number in the repository to signal that we're now developing IGB 9. We may also make a new branch for IGB 8 to facilitate continued bug fix and minor releases developed for IGB 8.

Development of IGB versions being prepared for release to users will occur on the releaseCandidate branch, and we will tag each released version using the convention igb-M.N.P.

 

If you're developing the core IGB code base, you should make changes to the master branch. For details, see Developing IGB.

IGB code base

The IGB repository is organized into sub-projects, including:

  • genometry - genomic data models used in IGB and the DAS server code
  • igb - the core IGB application
  • plugins - functions added via plug-in interface, plug-ins are also called bundles (uses OSGi)
  • common - common classes used by the other projects

QuickLoad testing

The following git repository contains broken QuickLoad sites that are helpful for testing within IGB.

https://bitbucket.org/lorainelab/brokenquickloads

Genoviz SDK

IGB depends on the Genoviz Software Development Kit (Genoviz SDK) which is version-controlled in a separate repository at https://bitbucket.org/lorainelab/genoviz-sdk. When you build IGB, the compilation tool we use (maven) will obtain the latest copy of the genoviz compiled code (a "jar" file) and install it locally.

GenoPub project

For information about the GenoPub project, please contact David Nix, Huntsman Cancer Institute.

  • No labels