Commit Graph

33 Commits

Author SHA1 Message Date
amercader cdf4b70bb7 Update CLI docstrings and documentation, remove unused file 2021-05-28 13:27:12 +02:00
Taro Matsuzawa 0fb40c4d73 WIP: fixes Syntax Error 2021-01-15 14:15:22 +09:00
Taro Matsuzawa 90bea3c26a remove travis ci settings 2021-01-14 15:12:50 +09:00
Sergey Motornyuk 8ea5312ff1 changies in db init 2020-05-06 17:32:14 +03:00
Sergey Motornyuk bc8cdc37e1 add pycsw 2020-05-06 17:16:32 +03:00
Sergey Motornyuk 4b7cd9fca7 rename clean_db fixture 2020-05-06 16:21:08 +03:00
Sergey Motornyuk 411e20da50 Update travis scripts 2020-05-06 15:29:16 +03:00
Sergey Motornyuk 123fc5a6fd Backport pytests 2020-05-06 15:19:21 +03:00
Sergey Motornyuk e84430a92d Install setuptools 2020-05-06 02:04:34 +03:00
Sergey Motornyuk 2420d62847 Fix import for nose tests 2020-05-06 01:20:21 +03:00
Sergey Motornyuk 03272a9cd5 Update tests 2020-04-15 02:20:30 +03:00
David Read 16e36d18f5 Fix for Travis build, now requirements.txt on master is for python3 2019-11-22 12:18:01 +00:00
etj 511185535e #232: Fix pycsw imports 2019-10-17 14:29:33 +02:00
Ross Jones 03f5a28b01
Be explicit in which branch to check out and test 2018-05-10 13:23:50 +01:00
Ross Jones ea60c5c4ff
Pull a different branch for 2.7 and 2.8 2018-05-10 13:18:23 +01:00
Ross Jones c69f647ca2
Try running on trusty and not compiling our own libxml 2018-05-10 13:09:04 +01:00
Ross Jones 4440be30b7
Reinstate previous CKAN versions in tests
Fixes the problem testing multiple CKAN versions by making sure it uses
psycopg2 2.7 rather than the broken psycopg2 2.6
2018-05-10 11:35:00 +01:00
Ross Jones e5da0a15c9
Fix broken tests
Tests were relying on _rest action calls which have now been removed in
master (and 2.8) and therefore tests were failing.

Makes the tests work, although there is probably some effort required in
determining why metadata_modified is not being returned from
package_show calls.

Also caches the pip output, and tests against newer versions of CKAN
2018-05-09 22:51:46 +01:00
amercader d51a80e0b4 Use Travis provided postgres 2017-09-14 15:56:57 +01:00
Adrià Mercader 129aedef0d Remove unnecessary travis dependency 2017-09-11 16:18:46 +01:00
David Read 106f3fcb7f Fix SOLR error in tests. 2016-04-28 10:02:24 +01:00
amercader b4a93087ec Travis: test latest release branch, add 2.4 2015-08-21 14:07:19 +01:00
amercader 60a899b0fd [#97] Set up Travis
For each CKAN version in master, 2.3 and 2.2, test with PostGIS 1.5 and
2.x
2015-04-02 08:24:04 +01:00
Tom Kralidis 2e1c82aa19 update docstring 2013-11-22 08:01:00 -05:00
Tom Kralidis 82e61c95ad remove debugging 2013-11-18 16:34:07 -05:00
Tom Kralidis af695826e8 add functionality to set CSW keywords from CKAN tag counts 2013-11-18 16:32:23 -05:00
amercader eb1090a9c4 [#24] Let pycsw define and create the table 2013-08-21 17:51:38 +01:00
amercader 44e4ae380a [#24] Document CKAN-pycsw integration
Ad overview of how it works, how to set it up and deploy it in a
production server.
2013-06-21 13:21:30 +01:00
amercader ae9750f8ec [#24] Escape properly expression in last commit 2013-06-21 11:59:04 +01:00
amercader 6699d1e498 [#24] Update API query to make it compatible with older Solr versions
The following expression is not valid in Solr 1.X:

"q":"harvest_object_id:*"

It returns the following error:

'*' or '?' not allowed as first character in WildcardQuery

It has been replaced with:

"q":"harvest_object_id:[\"\" TO *]"
2013-06-21 11:47:02 +01:00
amercader d4ffc9bf62 [#24] Capture error when we get a wrong API response 2013-06-21 11:46:50 +01:00
amercader 67b0941b3b [#24] Add clear command to empty the pycsw table 2013-06-20 16:45:37 +01:00
amercader 7b65813cba [#24] Add command for pycsw integration
Based on the work by @kindly on https://github.com/kindly/ckan_pycsw_import,
adds a command to the extension that allows to export easily the spatial
datasets to pycsw. This will only work for harvested ISO datasets for the time
being.

The command can be run both via paster (in the context of a CKAN install) or
independently (eg a separate server), as it uses the API to get the datasets.

TODO docs
2013-06-20 16:44:56 +01:00