Skip to content

Commit a4e9fe6

Browse files
authored
Merge pull request #1 from galaxyproject/dev
Update from Galaxyproject repo
2 parents e04ac61 + 45a541f commit a4e9fe6

3,287 files changed

Lines changed: 225648 additions & 244949 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/autopep8.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
exclude=$(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -s -d ',' - )
2+
autopep8 -i -r --exclude $exclude --select E11,E101,E127,E201,E202,E22,E301,E302,E303,E304,E306,E711,W291,W292,W293,W391 ./lib/ ./test/

.ci/check_py3_compatibility.sh

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/bin/sh
2+
3+
if command -v ack-grep >/dev/null; then
4+
ACK=ack-grep
5+
else
6+
ACK=ack
7+
fi
8+
9+
export ACK_OPTIONS=" --type python \
10+
--ignore-dir=.git \
11+
--ignore-dir=.tox \
12+
--ignore-dir=.venv \
13+
--ignore-dir=.venv3 \
14+
--ignore-dir=client/node_modules \
15+
--ignore-dir=database \
16+
--ignore-dir=doc/build \
17+
--ignore-dir=eggs \
18+
--ignore-dir=static/maps \
19+
--ignore-dir=static/scripts"
20+
21+
PYTHON2_ONLY_MODULES="__builtin__ _winreg BaseHTTPServer CGIHTTPServer \
22+
ConfigParser Cookie cookielib copy_reg cPickle cStringIO Dialog dummy_thread \
23+
FileDialog gdbm htmlentitydefs HTMLParser httplib Queue robotparser \
24+
ScrolledText SimpleDialog SimpleHTTPServer SimpleXMLRPCServer SocketServer \
25+
StringIO thread Tix tkColorChooser tkCommonDialog Tkconstants Tkdnd tkFont \
26+
Tkinter tkFileDialog tkMessageBox tkSimpleDialog ttk urllib urllib2 urlparse \
27+
xmlrpclib"
28+
29+
ret=0
30+
for mod in $PYTHON2_ONLY_MODULES; do
31+
$ACK "^import $mod(\n|\.)|^from $mod import "
32+
if [ $? -eq 0 ]; then ret=1; fi
33+
done
34+
35+
exit $ret

.ci/first_startup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ bash run.sh --daemon && \
1010
sleep 1
1111
i=$((i + 1))
1212
done
13-
kill -9 "$(cat paster.pid)"
13+
kill -9 "$(cat galaxy.pid)"
1414
echo "exit code:$EXIT_CODE, showing startup log:"
15-
cat paster.log
15+
cat galaxy.log
1616
exit $EXIT_CODE

.ci/flake8_blacklist.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
.venv/
2-
.tox/
3-
client/node_modules/
4-
database/
1+
.git
2+
.tox
3+
.venv
4+
.venv3
5+
client/node_modules
6+
database
7+
doc/build
58
doc/source/conf.py
6-
eggs/
9+
eggs
710
lib/galaxy/util/jstree.py
8-
lib/galaxy/web/proxy/js/node_modules/
11+
static/maps
12+
static/scripts

0 commit comments

Comments
 (0)