Commit Graph

695 Commits

Author SHA1 Message Date
David Read 150d9688a6
Merge pull request #237 from ckan/fix-travis-requirements-py2
Fix for Travis build, now requirements.txt on master is for python3
2019-11-22 14:24:50 +00:00
David Read 5857bd493c No need to test on CKAN 2.5 - its not supported any more 2019-11-22 13:38:12 +00:00
David Read 16e36d18f5 Fix for Travis build, now requirements.txt on master is for python3 2019-11-22 12:18:01 +00:00
Adrià Mercader f9379473f2
Merge pull request #233 from geosolutions-it/232_fix_pycsw
#232: Fix pycsw imports
2019-10-18 15:30:55 +02:00
Adrià Mercader be1b2d52e7
Merge pull request #227 from avdata99/patch-1
New path for languages
2019-10-17 15:28:07 +02:00
etj 511185535e #232: Fix pycsw imports 2019-10-17 14:29:33 +02:00
Andres Vazquez f9eec070b6
I saw the languaje specified like this
Example [here](https://gitlab.com/datopian/ckan-ng-harvest/blob/develop/harvest/csw/samples/sample2.xml#L5-7).
```
<gmd:language>
    <gco:CharacterString>en</gco:CharacterString>
</gmd:language>
```

I'm not sure if this is ok with ISO but this CSW source is using it.
2019-09-16 09:16:15 -03:00
Adrià Mercader ce4f03bcd2
Merge pull request #226 from jeanpommier/master
[harvest] fixes https://github.com/ckan/ckanext-spatial/issues/225
2019-08-23 16:33:28 +02:00
Jean Pommier 8bfed010c2 [harvest] fixes https://github.com/ckan/ckanext-spatial/issues/225 2019-08-22 11:30:47 +02:00
Adrià Mercader c5c8451fd8
Merge pull request #206 from alphagov/fix-tests
The expected key may not be set - this stops a KeyError
2019-03-15 15:47:40 +01:00
Adrià Mercader 8b636f6f22
Merge pull request #215 from anotheredward/patch-1
fix crash caused by new GeoAlchemy2 version
2019-03-15 15:44:47 +01:00
Ed 5bca0f7eaf
fix crash caused by new GeoAlchemy2 version
This patch fixes an issue where new versions of GeoAlchemy2 caused crashes.

We've locked the dependency to a known, working version.
2019-03-11 16:26:14 +13:00
Bruce Bolt b0b6eebf5a The expected key may not be set - this stops a KeyError 2018-11-14 11:26:48 +00:00
Emanuele Tajariol 2acf66b110 #188 Add clean_tags option in harvester (#189)
* cleanup bad chars from tags in harvester

* cleanup bad chars from tags in harvester - do safer config read

* use munge_tag to clear tags, code cleanup

* restored default tag truncate

* tests for clean tags

* removed hack for IHarvester.info()

* #188 cleanup

* #188 #190 Add doc about harvester JSON config

* clean tags tests updated #188

* #188 test fixes

* #188 test fixes

* #188 test fixes

* #188 test fixes

* removed unused/bad code after review #188
2018-05-12 12:07:43 +02:00
Adrià Mercader 6a7e039d9d
Merge pull request #199 from rossjones/fix-travis-and-tests
Fix broken tests
2018-05-11 15:25:13 +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
Adrià Mercader 69f4dc96f1
Merge pull request #197 from rossjones/master
Remove ckanext.spatial from namespace_packages in setup
2018-05-10 10:11:53 +02: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
Ross Jones e1567f6e3f
Remove ckanext.spatial from namespace_packages in setup
Keeping ckanext.spatial causes problems with the site.py after pip
installing the extension
2018-05-09 18:22:50 +01:00
Adrià Mercader 91dfde9422
Merge pull request #186 from ckan/improve-install-instructions
Install instructions more explicit
2018-04-27 15:32:25 +02:00
Adrià Mercader adb712b1c2
Merge pull request #187 from ViderumGlobal/master
Fix travis build
2017-11-07 14:25:05 +00:00
Zoran Pandovski b8d8cf41b8
Update README.rst 2017-11-07 15:17:37 +01:00
Zoran Pandovski b5189c2328
Update README.rst 2017-11-07 14:57:15 +01:00
Zoran Pandovski 2571685396
Update .travis.yml 2017-11-07 14:39:49 +01:00
Zoran Pandovski 1cdc4b08f9
Update .travis.yml 2017-11-07 14:01:51 +01:00
David Read 7d9ee21c57 Full path to the pip-requirements.txt. 2017-11-06 07:45:16 +00:00
David Read 158d0ffc2f More explicit install instructions, following query: https://stackoverflow.com/q/47087357/1512326 2017-11-03 12:03:43 +00:00
amercader f805d412d1 Fix travis service name 2017-09-14 15:58:18 +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
Adrià Mercader 09b983fbe0 Merge pull request #181 from ckan/missing_import
Fix missing import in before_index
2017-09-11 16:18:11 +01:00
Tyler Kennedy ee643094b1 Fix missing import in before_index
[Most] versions of shapely do not have `geometry` imported at the top level. Import it explicitly to prevent indexing errors instead of relying on import side-effects.
2017-09-11 11:03:53 -04:00
David Read db2fed60d5 Merge pull request #176 from LondonAppDev/master
Fix IOError when opening metadata schema #174
2017-06-01 07:26:02 +01:00
Mark Winterbottom d74d331019 Pep-8 2017-05-31 08:53:52 +01:00
Mark Winterbottom 011008b9c5 pep-8 improvements. 2017-05-30 16:57:04 +01:00
Mark Winterbottom b79bf51a05 Updated called to `resource_stream` to use __name__ in validation.py for consistency. 2017-05-30 16:20:22 +01:00
Mark Winterbottom 541e0cb9b9 Fixed relative path issue with resource_stream in api.py. 2017-05-30 16:04:38 +01:00
Mark Winterbottom c695370afc Fixed issue with template path. 2017-05-24 15:34:40 +01:00
Mark Winterbottom 4223cfe62f Fixed package reference for api controller. 2017-05-24 13:53:31 +01:00
Mark Winterbottom 711e9c8d2d Updated package name to 'ckanext.spatial.validation' to fix bug https://github.com/ckan/ckanext-spatial/issues/174 2017-05-24 13:39:32 +01:00
Mark Winterbottom 11ae652df3 PEP-8 improvements. 2017-05-24 13:38:37 +01:00
Mark Winterbottom 91ba363f48 PEP-8 improvements. 2017-05-24 13:38:19 +01:00
Mark Winterbottom 155a6bd252 Pep8 improvemnets. 2017-05-24 12:33:07 +01:00
Mark Winterbottom faee1d4596 Updated usage of `resource_stream` to use 'ckanext.spatial.validation' to fix issue https://github.com/ckan/ckanext-spatial/issues/174. 2017-05-23 17:08:04 +01:00
Mark Winterbottom 63ad6478fb Updated paths for `transforms` which were missed from previous commit. 2017-05-23 16:07:07 +01:00
Mark Winterbottom 5fa5853c3a Made some pep8 improvements. Updated the resource_stream called to use '__name__' in attempt to fix this bug: https://github.com/ckan/ckanext-spatial/issues/174 2017-05-23 15:19:14 +01:00
Adrià Mercader 58327402fd Merge pull request #173 from ViderumGlobal/master
Update pip-requirements.txt
2017-03-01 16:06:59 +00:00