The source code of Galaxy
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 origin):
1 % cd galaxy.git 2 % git log --show-notes=hg2git -1 579edf01b1416d52ac99f8675b6f86d677d6ee0e 3 Author: Carl Eberhard <carlfeberhard@> 4 Date: Mon Feb 16 17:51:51 2015 -0500 5 6 UI, History: allow purging, implement purge option in multi-view dropdowns; Managers: fix purgable return value; API, histories: return purged in summary view 7 8 Notes (hg2git): 9 hg:6ed64b39bcef417a2361e42336c3a46ad10354de 10 % cd ../galaxy.hg 11 % hg log -r 6ed64b39bcef417a2361e42336c3a46ad10354de 12 changeset: 16658:6ed64b39bcef 13 user: Carl Eberhard <firstname.lastname@example.org> 14 date: Mon Feb 16 17:51:51 2015 -0500 15 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 YY.MM stable release
You can get the current "in-development" code (where in-development code is on the dev branch) with:
And receive updates
How to migrate a Galaxy instance from Mercurial Bitbucket to Git GitHub
- Backup everything.
- Find what branch and commit is your Mercurial Galaxy at:
$ hg log -b $(hg branch)
git clone https://github.com/galaxyproject/galaxy in 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 .hg/ folder.
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 status should show none.
- You can now update to the latest Git revision:
$ git pull