-
Notifications
You must be signed in to change notification settings - Fork 967
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,247 changed files
with
49,731 additions
and
24,436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
#!/bin/sh | ||
TRIES=120 | ||
URL=http://localhost:8080 | ||
EXIT_CODE=1 | ||
i=0 | ||
echo "Testing for correct startup:" | ||
bash run.sh --daemon && sleep 30s && curl -I localhost:8080 | ||
EXIT_CODE=$? | ||
bash run.sh --daemon && \ | ||
while [ "$i" -le $TRIES ]; do | ||
curl "$URL" && EXIT_CODE=0 && break | ||
sleep 1 | ||
i=$((i + 1)) | ||
done | ||
kill -9 "$(cat paster.pid)" | ||
echo "exit code:$EXIT_CODE, showing startup log:" | ||
cat paster.log | ||
exit $EXIT_CODE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.venv/ | ||
client/ | ||
.tox/ | ||
client/node_modules/ | ||
database/ | ||
doc/patch.py | ||
doc/source/conf.py | ||
eggs/ | ||
lib/galaxy/util/jstree.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
lib/galaxy/jobs/metrics | ||
lib/galaxy/exceptions |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# D100 - Missing docstring in public module. | ||
# D2XX - Whitespace issues. | ||
# D3XX - Quoting issues. | ||
# D401 - First line should be in imperative mood | ||
# D403 - First word of the first line should be properly capitalized | ||
args="--ignore=D --select=D100,D201,D202,D206,D207,D208,D209,D211,D3,D401,D403" | ||
|
||
# If the first argument is --include, lint the modules expected to pass. If | ||
# the first argument is --exclude, lint all modules the full Galaxy linter lints | ||
# (this will fail). | ||
|
||
if [ "$1" = "--include" ]; | ||
then | ||
flake8 $args `paste .ci/flake8_docstrings_include_list.txt` | ||
else | ||
flake8 $args --exclude `paste -sd, .ci/flake8_blacklist.txt` . | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
flake8 `paste .ci/flake8_lint_include_list.txt` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
cd `dirname $0`/.. | ||
|
||
xsd_path="lib/galaxy/tools/xsd/galaxy.xsd" | ||
# Lint the XSD | ||
xmllint --noout "$xsd_path" | ||
|
||
test_tools_path='test/functional/tools' | ||
tool_files_list=$(ls "$test_tools_path"/*xml | grep -v '_conf.xml$') | ||
sh scripts/validate_tools.sh $tool_files_list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.