Skip to content

Commit

Permalink
Merge branch 'dev' into configurable_priorities
Browse files Browse the repository at this point in the history
  • Loading branch information
tizzir committed Feb 19, 2018
2 parents 966e053 + 2e10bff commit 6ce1556
Show file tree
Hide file tree
Showing 2,381 changed files with 113,128 additions and 161,279 deletions.
35 changes: 35 additions & 0 deletions .ci/check_py3_compatibility.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/sh

if command -v ack-grep >/dev/null; then
ACK=ack-grep
else
ACK=ack
fi

export ACK_OPTIONS=" --type python \
--ignore-dir=.git \
--ignore-dir=.tox \
--ignore-dir=.venv \
--ignore-dir=.venv3 \
--ignore-dir=client/node_modules \
--ignore-dir=database \
--ignore-dir=doc/build \
--ignore-dir=eggs \
--ignore-dir=static/maps \
--ignore-dir=static/scripts"

PYTHON2_ONLY_MODULES="__builtin__ _winreg BaseHTTPServer CGIHTTPServer \
ConfigParser Cookie cookielib copy_reg cPickle cStringIO Dialog dummy_thread \
FileDialog gdbm htmlentitydefs HTMLParser httplib Queue robotparser \
ScrolledText SimpleDialog SimpleHTTPServer SimpleXMLRPCServer SocketServer \
StringIO thread Tix tkColorChooser tkCommonDialog Tkconstants Tkdnd tkFont \
Tkinter tkFileDialog tkMessageBox tkSimpleDialog ttk urllib urllib2 urlparse \
xmlrpclib"

ret=0
for mod in $PYTHON2_ONLY_MODULES; do
$ACK "^import $mod(\n|\.)|^from $mod import "
if [ $? -eq 0 ]; then ret=1; fi
done

exit $ret
4 changes: 2 additions & 2 deletions .ci/first_startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bash run.sh --daemon && \
sleep 1
i=$((i + 1))
done
kill -9 "$(cat paster.pid)"
kill -9 "$(cat galaxy.pid)"
echo "exit code:$EXIT_CODE, showing startup log:"
cat paster.log
cat galaxy.log
exit $EXIT_CODE
16 changes: 10 additions & 6 deletions .ci/flake8_blacklist.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
.venv/
.tox/
client/node_modules/
database/
.git
.tox
.venv
.venv3
client/node_modules
database
doc/build
doc/source/conf.py
eggs/
eggs
lib/galaxy/util/jstree.py
lib/galaxy/web/proxy/js/node_modules/
static/maps
static/scripts
333 changes: 0 additions & 333 deletions .ci/flake8_lint_include_list.txt

This file was deleted.

0 comments on commit 6ce1556

Please sign in to comment.