Skip to content

Commit 7abd09e

Browse files
committed
Merge pull request #1 from galaxyproject/dev
Staying up to date with galaxy dev
2 parents 8311b72 + 13c7143 commit 7abd09e

663 files changed

Lines changed: 13516 additions & 17959 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ci/flake8_wrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -e
55
flake8 --exclude `paste -sd, .ci/flake8_blacklist.txt` .
66

77
# Apply stricter rules for the directories shared with Pulsar
8-
flake8 --ignore= --max-line-length=150 lib/galaxy/jobs/runners/util/ lib/pulsar/
8+
flake8 --ignore= --max-line-length=150 lib/galaxy/jobs/runners/util/

.ci/py3_sources.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
lib/galaxy/util/
22
lib/galaxy/jobs/runners/util/
3-
lib/pulsar/
3+
lib/galaxy/tools/cwl/
44
lib/galaxy/tools/parser/
55
lib/galaxy/tools/lint.py
66
lib/galaxy/tools/lint_util.py

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ database/citations
1414
database/community_files
1515
database/compiled_templates
1616
database/files
17+
database/jobs_directory
1718
database/job_working_directory
1819
database/pbs
1920
database/tmp
@@ -64,6 +65,8 @@ object_store_conf.xml
6465
job_metrics_conf.xml
6566
workflow_schedulers_conf.xml
6667
config/*
68+
config/plugins/interactive_environments/**/*.ini
69+
!config/plugins
6770
static/welcome.html.*
6871
static/welcome.html
6972

CONTRIBUTORS.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The following individuals have contributed code to Galaxy:
1111
* Finn Bacall <finn.bacall@cs.man.ac.uk>
1212
* Dannon Baker <dannon.baker@gmail.com>
1313
* Christopher Bare <christopherbare@gmail.com>
14+
* Marius van den Beek <m.vandenbeek@gmail.com>
1415
* Dan Blanchard <dan.blanchard@gmail.com>
1516
* Daniel Blankenberg <dan.blankenberg@gmail.com> <dan@bx.psu.edu>
1617
* James Boocock <sfk2001@gmail.com>
@@ -19,6 +20,7 @@ The following individuals have contributed code to Galaxy:
1920
* Dave Bouvier <dave@bx.psu.edu>
2021
* Adam Brenner <aebrenne@uci.edu>
2122
* Anthony Bretaudeau <anthony.bretaudeau@rennes.inra.fr> <abretaud@irisa.fr>
23+
* Freek de Bruijn <freek.de.bruijn@nbic.nl>
2224
* Richard Burhans <burhans@bx.psu.edu>
2325
* Jennifer Cabral <jencabral@gmail.com>
2426
* Martin Čech <marten@bx.psu.edu>
@@ -42,14 +44,16 @@ The following individuals have contributed code to Galaxy:
4244
* Eric Enns <eric.enns@gmail.com>
4345
* Dorine Francheteau <dorine@bx.psu.edu>
4446
* Jaime Frey <jfrey@cs.wisc.edu>
45-
* Carie Genote <cganote@iu.edu>
47+
* Carrie Ganote <cganote@iu.edu>
4648
* Jeremy Goecks <jeremy.goecks@emory.edu> <jgoecks@gwu.edu>
4749
* Nuwan Goonasekera <nuwan.goonasekera@gmail.com>
4850
* Björn Grüning <bjoern.gruening@gmail.com> <bjoern@gruenings.eu>
4951
* Aysam Guerler <aysam.guerler@gmail.com>
5052
* Simon Guest <simon.guest@agresearch.co.nz>
5153
* Jianbin He <jbhe@bx.psu.edu>
54+
* Peter van Heusden <pvh@sanbi.ac.za>
5255
* Morita Hideyuki <h-morita@esm.co.jp>
56+
* Saskia Hiltemann <zazkia@gmail.com>
5357
* Rob Hooft <rob.hooft@nbic.nl>
5458
* Y. Hoogstrate <y.hoogstrate@erasmusmc.nl>
5559
* Jian-Long Huang <jlh@pyhub.org>
@@ -101,9 +105,6 @@ The following individuals have contributed code to Galaxy:
101105
* Andrew Warren <anwarren@vbi.vt.edu>
102106
* Trevor Wennblom <trevor@well.com>
103107
* Yi Zhang <yizhang@bx.psu.edu>
104-
* Freek de Bruijn <freek.de.bruijn@nbic.nl>
105-
* Peter van Heusden <pvh@sanbi.ac.za>
106-
* Marius van den Beek <m.vandenbeek@gmail.com>
107108

108109
# Institutional sponsors
109110

Makefile

Lines changed: 53 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,56 @@ RELEASE_NEXT:=16.04
55
#RELEASE_NEXT_BRANCH:=release_$(RELEASE_NEXT)
66
RELEASE_NEXT_BRANCH:=dev
77
RELEASE_UPSTREAM:=upstream
8+
# Location of virtualenv used for development.
9+
VENV?=.venv
10+
# Source virtualenv to execute command (flake8, sphinx, twine, etc...)
11+
IN_VENV=if [ -f $(VENV)/bin/activate ]; then . $(VENV)/bin/activate; fi;
12+
PROJECT_URL?=https://github.com/galaxyproject/galaxy
813
GRUNT_DOCKER_NAME:=galaxy/client-builder:16.01
914

1015
all: help
1116
@echo "This makefile is primarily used for building Galaxy's JS client. A sensible all target is not yet implemented."
1217

13-
npm-deps:
18+
docs: ## generate Sphinx HTML documentation, including API docs
19+
$(IN_VENV) $(MAKE) -C doc clean
20+
$(IN_VENV) $(MAKE) -C doc html
21+
22+
_open-docs:
23+
open doc/_build/html/index.html || xdg-open doc/_build/html/index.html
24+
25+
open-docs: docs _open-docs ## generate Sphinx HTML documentation and open in browser
26+
27+
open-project: ## open project on github
28+
open $(PROJECT_URL) || xdg-open $(PROJECT_URL)
29+
30+
lint: ## check style using tox and flake8 for Python 2 and Python 3
31+
$(IN_VENV) tox -e py27-lint && tox -e py34-lint
32+
33+
release-ensure-upstream: ## Ensure upstream branch for release commands setup
34+
if [ ! `git remote -v | grep -q $(RELEASE_UPSTREAM)` ]; then git remote add $(RELEASE_UPSTREAM) git@github.com:galaxyproject/galaxy.git; fi
35+
36+
release-merge-stable-to-next: release-ensure-upstream ## Merge last release into dev
37+
git fetch $(RELEASE_UPSTREAM) && git checkout dev && git merge --ff-only $(RELEASE_UPSTREAM)/dev && git merge $(RELEASE_UPSTREAM)/$(RELEASE_PREVIOUS)
38+
39+
release-push-dev: release-ensure-upstream # Push local dev branch upstream
40+
git push $(RELEASE_UPSTREAM) dev
41+
42+
release-issue: ## Create release issue on github
43+
$(IN_VENV) python scripts/bootstrap_history.py --create-release-issue $(RELEASE_CURR)
44+
45+
release-check-metadata: ## check github PR metadata for target release
46+
$(IN_VENV) python scripts/bootstrap_history.py --check-release $(RELEASE_CURR)
47+
48+
release-check-blocking-issues: ## Check github for release blocking issues
49+
$(IN_VENV) python scripts/bootstrap_history.py --check-blocking-issues $(RELEASE_CURR)
50+
51+
release-check-blocking-prs: ## Check github for release blocking PRs
52+
$(IN_VENV) python scripts/bootstrap_history.py --check-blocking-prs $(RELEASE_CURR)
53+
54+
release-bootstrap-history: ## bootstrap history for a new release
55+
$(IN_VENV) python scripts/bootstrap_history.py --release $(RELEASE_CURR)
56+
57+
npm-deps: ## Install NodeJS dependencies.
1458
cd client && npm install
1559

1660
grunt: npm-deps ## Calls out to Grunt to build client
@@ -22,7 +66,7 @@ style: npm-deps ## Calls the style task of Grunt
2266
webpack: npm-deps ## Pack javascript
2367
cd client && node_modules/webpack/bin/webpack.js -p
2468

25-
client: grunt style webpack ## Process all client-side tasks
69+
client: grunt style webpack ## Rebuild all client-side artifacts
2670

2771
grunt-docker-image: ## Build docker image for running grunt
2872
docker build -t ${GRUNT_DOCKER_NAME} client
@@ -35,13 +79,13 @@ clean-grunt-docker-image: ## Remove grunt docker image
3579

3680

3781
# Release Targets
38-
create_release_rc: ## Create a release-candidate branch
82+
release-create-rc: release-ensure-upstream ## Create a release-candidate branch
3983
git checkout dev
40-
git pull --ff-only ${RELEASE_UPSTREAM} dev
84+
git pull --ff-only $(RELEASE_UPSTREAM) dev
4185
git push origin dev
4286
git checkout -b release_$(RELEASE_CURR)
4387
git push origin release_$(RELEASE_CURR)
44-
git push ${RELEASE_UPSTREAM} release_$(RELEASE_CURR)
88+
git push $(RELEASE_UPSTREAM) release_$(RELEASE_CURR)
4589
git checkout -b version-$(RELEASE_CURR)
4690
sed -i "s/^VERSION_MAJOR = .*/VERSION_MAJOR = \"$(RELEASE_CURR)\"/" lib/galaxy/version.py
4791
sed -i "s/^VERSION_MINOR = .*/VERSION_MINOR = \"rc1\"/" lib/galaxy/version.py
@@ -62,8 +106,11 @@ create_release_rc: ## Create a release-candidate branch
62106
git push origin version-$(RELEASE_NEXT).dev:version-$(RELEASE_NEXT).dev
63107
git branch -d version-$(RELEASE_CURR)
64108
git branch -d version-$(RELEASE_NEXT).dev
109+
# TODO: Use hub to automate these PR creations or push directly.
110+
@echo "Open a PR from version-$(RELEASE_CURR) of your fork to release_$(RELEASE_CURR)"
111+
@echo "Open a PR from version-$(RELEASE_NEXT).dev of your fork to dev"
65112

66-
create_release: ## Create a release branch
113+
create_release: release-ensure-upstream ## Create a release branch
67114
git pull --ff-only $(RELEASE_UPSTREAM) master
68115
git push origin master
69116
git checkout release_$(RELEASE_CURR)

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,8 @@ Issues and Galaxy Development
5656
=============================
5757

5858
Please see `CONTRIBUTING.md <CONTRIBUTING.md>`_ .
59+
60+
Roadmap
61+
=============================
62+
63+
Interested in the next steps for Galaxy? Take a look here: https://github.com/galaxyproject/galaxy/issues/1928

buildbot_setup.sh

Lines changed: 0 additions & 128 deletions
This file was deleted.

client/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,15 @@ Grunt can also do an automatic, partial rebuild of any files you change *as you
9191

9292
1. opening a new terminal session
9393
2. `cd client`
94-
3. `grunt watch`
94+
3. Watch with:
95+
1. `grunt watch` to watch the *scripts/* folder
96+
2. `grunt watch-style` to watch the *style/* folder
9597

96-
This starts a new grunt watch process that will monitor the files in `client/galaxy/scripts` for changes and copy and
97-
pack them when they change.
98+
This starts a new grunt watch process that will monitor the files, in the corresponding folder, for changes and copy and
99+
rebuild them when they change.
98100

99-
You can stop the `grunt watch` task by pressing `Ctrl+C`. Note: you should also be able to background that task if you
100-
prefer.
101+
You can stop the watch task by pressing `Ctrl+C`. Note: you should also be able to background that task
102+
if you prefer.
101103

102104

103105
Using a Locally Installed Version of Grunt

client/galaxy/scripts/layout/masthead.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ var View = Backbone.View.extend({
2929

3030
// scratchbook
3131
Galaxy.frame = this.frame = new Scratchbook( { collection: this.collection } );
32-
$( 'body' ).append( this.frame.$el );
3332

3433
// set up the quota meter (And fetch the current user data from trans)
3534
// add quota meter to masthead

client/galaxy/scripts/layout/menu.js

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,19 @@ var Collection = Backbone.Collection.extend({
4141
url : 'library/index',
4242
tooltip : 'Access published resources',
4343
menu : [{
44-
title : 'Data Libraries deprecated',
45-
url : 'library/index'
46-
},{
4744
title : 'Data Libraries',
48-
url : 'library/list',
49-
divider : true
45+
url : 'library/list'
5046
},{
51-
title : 'Published Histories',
47+
title : 'Histories',
5248
url : 'history/list_published'
5349
},{
54-
title : 'Published Workflows',
50+
title : 'Workflows',
5551
url : 'workflow/list_published'
5652
},{
57-
title : 'Published Visualizations',
53+
title : 'Visualizations',
5854
url : 'visualization/list_published'
5955
},{
60-
title : 'Published Pages',
56+
title : 'Pages',
6157
url : 'page/list_published'
6258
}]
6359
});
@@ -97,7 +93,12 @@ var Collection = Backbone.Collection.extend({
9793
title : 'Saved Visualizations',
9894
url : 'visualization/list',
9995
target : '_frame'
100-
}]
96+
},{
97+
title : 'Interactive Environments',
98+
url : 'visualization/gie_list',
99+
target : 'galaxy_main'
100+
}
101+
]
101102
});
102103

103104
//
@@ -274,7 +275,7 @@ var Tab = Backbone.View.extend({
274275
this.$toggle.html( this.model.get( 'title' ) || '' )
275276
.removeClass().addClass( 'dropdown-toggle' )
276277
.addClass( this.model.get( 'cls' ) )
277-
.addClass( this.model.get( 'icon' ) && 'fa fa-2x ' + this.model.get( 'icon' ) )
278+
.addClass( this.model.get( 'icon' ) && 'dropdown-icon fa ' + this.model.get( 'icon' ) )
278279
.addClass( this.model.get( 'toggle' ) && 'toggle' )
279280
.attr( 'target', this.model.get( 'target' ) )
280281
.attr( 'href', this.model.get( 'url' ) )

0 commit comments

Comments
 (0)