Galaxy is an open source software under AFL 3.0 license.
The source code is publicly available and hosted at GitHub. If you need help getting started, the GitHub Git tutorial is a good places to start.
Galaxy deployers and developers should now use GitHub.
The technical details regarding the transition can be found on the the GitHub transition Trello card.
https://github.com/galaxyproject/galaxy/ is the source repository.
If you have created piece of code for Galaxy that you would like to share with the community, please follow the instructions contained in https://github.com/galaxyproject/galaxy/blob/dev/CONTRIBUTING.md .
For commits made prior to the switch to git, you can find the former HG commit IDs via git notes. Assuming you have set the canonical Galaxy GitHub repository as the remote
upstream, it is done like so (if you cloned directly from the canonical source rather than your own GitHub fork, the remote would be
% git fetch upstream refs/notes/hg2git:refs/notes/hg2git` % git log --show-notes=hg2git [-1 git-commit-hash]
% cd galaxy.git % git log --show-notes=hg2git -1 579edf01b1416d52ac99f8675b6f86d677d6ee0e Author: Carl Eberhard <carlfeberhard@> Date: Mon Feb 16 17:51:51 2015 -0500 UI, History: allow purging, implement purge option in multi-view dropdowns; Managers: fix purgable return value; API, histories: return purged in summary view Notes (hg2git): hg:6ed64b39bcef417a2361e42336c3a46ad10354de % cd ../galaxy.hg % hg log -r 6ed64b39bcef417a2361e42336c3a46ad10354de changeset: 16658:6ed64b39bcef user: Carl Eberhard <firstname.lastname@example.org> date: Mon Feb 16 17:51:51 2015 -0500 summary: UI, History: allow purging, implement purge option in multi-view dropdowns; Managers: fix purgable return value; API, histories: return purged in summary view
The following branches exist:
dev- primary development, new features, largely untested, should not be run in production
master- always updated to the most recent stable release
release_YY.MM- contains commits of the
You can get the current "in-development" code (where in-development code is on the
dev branch) with:
% git clone https://github.com/galaxyproject/galaxy.git % cd galaxy
And receive updates
% git checkout dev % git pull
How to migrate a Galaxy instance from Mercurial Bitbucket to Git GitHub
- Backup everything.
Find what branch and commit is your Mercurial Galaxy at:
#! highlight sh $ hg log -b $(hg branch)
git clone https://github.com/galaxyproject/galaxyin a temporary directory.
- Find the corresponding commit in the cloned Git repository on the corresponding branch (Bitbucket default->GitHub dev; Bitbucket stable->GitHub master).
- Checkout the GitHub repository at the commit you found in the previous step.
- Backup your
- Replace your
.hg/folder with the
.git/folder from the new checkout.
- Your Galaxy should be switched to Git. Unless you have local changes,
git statusshould show none.
- You can now update to the latest Git revision:
#! highlight sh $ git pull