Dannon Baker
623a5e165a
Apply black formatting.
...
Apply isort.
2022-02-03 07:42:20 -05:00
Nicola Soranzo
d5633f6285
Enable on-screen logging for create_db.py and manage_db.py
2019-08-18 11:17:34 +01:00
Nate Coraor
395d98857b
Fix config file finding for the manage_db script
2019-08-07 16:33:40 -04:00
John Chilton
5f3f792f6f
Unification of Galaxy configuration parsing for scripts/*
2018-03-23 16:14:49 -04:00
Nicola Soranzo
21b44bf348
Fix all E201 and E202 style errors
...
using the following command:
```
autopep8 -i -r --exclude $(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -sd,) --select E201,E202 .
```
2017-08-17 11:35:39 +01:00
Nicola Soranzo
1d17a29c79
Fixes for pycodestyle 2.2.0
2016-11-15 16:56:50 +00:00
Nicola Soranzo
d85db9daa6
Use __file__ when adding paths to sys.path instead of os.getcwd() .
...
Also insert additional paths in position 1 unless strictly necessary.
2016-02-18 15:45:15 +00:00
Nate Coraor
0469ed29e0
Remove egg cruft from scripts/
2015-09-21 15:55:07 -04:00
Dannon Baker
9f01d275ef
Add all the necessary dependency requires. Note to self: fix the egg dependency resolution bug so we don't have to dot his.
2015-02-14 10:35:42 -05:00
John Chilton
b686182e13
Modles: Clean up stand-alone database scripts.
...
Namely create_db.py,db_shell.py, and manage_db.py.
Move duplicated code into lib/galaxy/model/orm/scripts.py - add unit tests. PEP-8 clean up of all 4 files. Add incoherent incoherent comment at top of manage_db.py.
As a result of the code de-duplication create_db.py should be usable with the tool shed now.
Will be refactoring lib/galaxy/model/orm/scripts.py to work with new tool shed install database - it will be good to have a place to test these and allow manage_db.py and clean_db.py to work immediately.
2013-12-05 00:20:54 -06:00
Dannon Baker
b66c39c951
galaxy.model.orm is a more sensible location than mapping for dialect_to_egg
2013-06-20 10:58:52 -04:00
Dannon Baker
be4bc4694a
Consolidate dialect_to_egg to a single location.
2013-06-20 10:50:31 -04:00
Dannon Baker
111837de21
Require decorator in manage_db.py -- resolves decorator not found for particular deployments
2013-06-05 11:24:55 -04:00
Dannon Baker
c2e71bc003
Postgres migrations successful, model updated
2013-04-18 15:35:00 -04:00
Greg Von Kuster
ae39ab8f2b
Rename community_wsgi.ini.sample to be tool_shed_wsgi.ini.sample, run_community.sh to run_tool_shed.sh, and fix references to these files in the code.
2013-03-18 10:24:03 -04:00
Greg Von Kuster
f539d3071b
Change the name and path of the community webapp to be tool_shed.
2013-02-27 16:23:19 -05:00
Nate Coraor
758e13ac28
Remove hardcoding of universe_wsgi.ini, fixes issue #358 (except for the sample cleanup scripts which, as samples, are expected to be modified by the site anyway).
2011-06-08 12:10:51 -04:00
Greg Von Kuster
6bc3da5e5d
Fix for sqlalchemy-migrate scripts so they will function across webapps - galaxy is the default, so no command line changes necessary when migrating the db.
2010-07-20 09:27:14 -04:00
Nate Coraor
57521e88cf
Set a default (database/universe.sqlite) in manage_db.py in case the deprecated database_file is unset
2010-07-02 15:37:25 -04:00
James Taylor
31a4f80604
[mq] workflow-invocation: Track workflow invocations in database, provide a view of the history grouped by workflow and job
2010-02-11 00:17:04 -05:00
Nate Coraor
187a2e25fa
Add database versioning support
2009-04-15 15:43:26 -04:00