Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
29e56b4
Trying to upgrade on Python 3.8
asherpasha May 26, 2020
fd3f1f4
Updated requirements.txt
asherpasha May 27, 2020
decfb69
Ran dos2unix. Flymine http to https.
asherpasha May 27, 2020
26025ae
Updated Travis
asherpasha Jun 4, 2020
45b1b72
Java 11
asherpasha Jun 4, 2020
32b4f13
Trying to get solr working.
asherpasha Jun 4, 2020
6975355
Added PostgreSQL (default)
asherpasha Jun 4, 2020
48f9227
Downgrade to openjdk8
asherpasha Jun 4, 2020
b644e3c
jdk switcher
asherpasha Jun 5, 2020
2cc1f93
Upgraded to postgresql 11
asherpasha Jun 23, 2020
fe89017
Travis rebuild
asherpasha Jun 23, 2020
4470c71
Manually starting tomcat
asherpasha Jun 23, 2020
99428b3
Downgrade Ubuntu
asherpasha Jun 23, 2020
f9c92c5
Manually start tomcat
asherpasha Jun 23, 2020
186bdbc
Downgrade Ubuntu
asherpasha Jun 23, 2020
1133b6a
Downgrade Ubuntu
asherpasha Jun 23, 2020
ecadf23
Maybe install tomcat 9
asherpasha Jun 23, 2020
7847154
Fixed a bug
asherpasha Jun 23, 2020
4ded8cc
Downgrading tomcat
asherpasha Jun 23, 2020
e991428
Increase sleep time
asherpasha Jun 23, 2020
33a6fb5
Another attempt
asherpasha Jun 23, 2020
6bb2ead
Stop and redeploy the app.
asherpasha Jun 28, 2020
c4f4632
More fixes
asherpasha Jun 28, 2020
7167fd2
Testing Java 8
asherpasha Jun 28, 2020
4c60f29
Force use Java 8
asherpasha Jun 28, 2020
1659efb
Fix a typo
asherpasha Jun 28, 2020
ed05df3
Travis still not working
asherpasha Jun 28, 2020
c680050
More Travis changes
asherpasha Jun 28, 2020
f276e64
Trying to switch to Java 8
asherpasha Jun 28, 2020
04a811d
Forcing JAVA_HOME
asherpasha Jun 28, 2020
ca302b0
Install and configure OpenJDK 8
asherpasha Jun 28, 2020
620e388
Minor fix
asherpasha Jun 28, 2020
597cfad
Force JAVA path
asherpasha Jun 28, 2020
f99ead2
This should work
asherpasha Jun 28, 2020
d770f5e
Another path for Java
asherpasha Jun 28, 2020
9e87977
Testing the new testmine.
asherpasha Jul 21, 2020
6074669
Testing Ubuntu Focal on Travis CI
asherpasha Oct 9, 2020
9434677
PostgreSQL 12.2 not on Ubuntu focal
asherpasha Oct 9, 2020
221c526
Downgrade to Bionic
asherpasha Oct 9, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ current-docs.zip
intermine-docs-1.00.03.zip
build
MANIFEST
.idea
34 changes: 18 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
---
os: linux
language: python
sudo: false # use container based infrastructure
jdk:
- openjdk8
dist:
- trusty
jdk: openjdk11
dist: bionic
services: postgresql
addons:
postgresql: 11
env:
global:
- TESTMODEL_URL=http://localhost:8080/intermine-demo
- TESTMODEL_PATH=intermine-demo
global:
- TESTMODEL_URL=http://localhost:8080/intermine-demo
- TESTMODEL_PATH=intermine-demo
before_script:
- "./config/travis/init-solr.sh"
- "./config/travis/init.sh"
script:
- python setup.py test
- python setup.py livetest
- "./config/travis/init-solr.sh"
- "./config/travis/init.sh"
script:
- python setup.py test
- python setup.py livetest
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ to perform queries. Some examples of sites that
are powered by InterMine software, and thus offer
a compatible webservice API, are:

* [FlyMine](http://www.flymine.org)
* [FlyMine](https://www.flymine.org)
* [MouseMine](http://www.mousemine.org)
* [YeastMine](http://yeastmine.yeastgenome.org)
* [ZebrafishMine](http://zebrafishmine.org)
Expand Down
8 changes: 4 additions & 4 deletions config/travis/init-solr.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# set up solr for testmine
# testmine's setup script populates these empty indexes

wget http://archive.apache.org/dist/lucene/solr/7.2.1/solr-7.2.1.tgz
tar xzf solr-7.2.1.tgz && ./solr-7.2.1/bin/solr start
./solr-7.2.1/bin/solr create -c intermine-search
./solr-7.2.1/bin/solr create -c intermine-autocomplete
wget http://archive.apache.org/dist/lucene/solr/8.6.2/solr-8.6.2.tgz
tar xzf solr-8.6.2.tgz && ./solr-8.6.2/bin/solr start
./solr-8.6.2/bin/solr create -c intermine-search
./solr-8.6.2/bin/solr create -c intermine-autocomplete
4 changes: 2 additions & 2 deletions config/travis/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ fi
# Pull in the server code.
git clone --single-branch --depth 1 https://github.com/intermine/intermine.git server


export PSQL_USER=postgres

# Set up properties
Expand All @@ -29,7 +28,8 @@ sed -i -e $SED_SCRIPT $TESTMODEL_PROPS
# We will need a fully operational web-application
echo '#---> Building and releasing web application to test against'
(cd server/testmine && ./setup.sh)
sleep 60 # let webapp startup
# Travis is so slow
sleep 90 # let webapp startup

# Warm up the keyword search by requesting results, but ignoring the results
$GET "$TESTMODEL_URL/service/search" > /dev/null
Expand Down
72 changes: 36 additions & 36 deletions docs/make.bat
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
set SPHINXPROJ=Intermine
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
:end
popd
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
set SPHINXPROJ=Intermine

if "%1" == "" goto help

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%

:end
popd
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,3 @@

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True
\n
30 changes: 30 additions & 0 deletions intermine.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Metadata-Version: 1.1
Name: intermine
Version: 1.12.0
Summary: InterMine WebService client
Home-page: http://www.intermine.org
Author: InterMine team
Author-email: all@intermine.org
License: LGPL, BSD
Description: InterMine Webservice Client
----------------------------

A Python API to access bioinformatics
data warehouses powered by the InterMine platform.


Keywords: webservice,genomic,bioinformatics
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: License :: OSI Approved :: BSD License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Operating System :: OS Independent
Provides: intermine
26 changes: 26 additions & 0 deletions intermine.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
LICENSE-BSD
LICENSE-LGPL
MANIFEST.in
README.md
setup.py
intermine/__init__.py
intermine/bar_chart.py
intermine/constraints.py
intermine/decorators.py
intermine/errors.py
intermine/idresolution.py
intermine/model.py
intermine/pathfeatures.py
intermine/query.py
intermine/query_manager.py
intermine/registry.py
intermine/results.py
intermine/util.py
intermine/webservice.py
intermine.egg-info/PKG-INFO
intermine.egg-info/SOURCES.txt
intermine.egg-info/dependency_links.txt
intermine.egg-info/top_level.txt
intermine/lists/__init__.py
intermine/lists/list.py
intermine/lists/listmanager.py
1 change: 1 addition & 0 deletions intermine.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions intermine.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
intermine
2 changes: 1 addition & 1 deletion intermine/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "1.11.0"
VERSION = "1.12.0"
Loading