Skip to content

Commit 8015d2b

Browse files
authored
Merge pull request #6 from OpenDataGIS/main
Fix - Update v0.1.3-hotfix with main (v1.0.0)
2 parents 4f42ea5 + b8aac1b commit 8015d2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+9654
-60
lines changed

.github/workflows/test.yml

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
name: Tests
22
on: [pull_request]
3+
34
jobs:
45
test:
6+
name: CKAN 2.10
57
runs-on: ubuntu-latest
68
container:
79
# The CKAN version tag of the Solr and Postgres containers should match
810
# the one of the container the tests run on.
911
# You can switch this base image with a custom image tailored to your project
10-
image: openknowledge/ckan-dev:2.9
12+
image: ckan/ckan-dev:2.10-py3.10
1113
services:
1214
solr:
13-
image: ckan/ckan-solr:2.9-solr9-spatial
15+
# Custom image with spatial support and advanced schema
16+
image: ghcr.io/mjanez/ckan-solr:2.10-solr9-spatial
1417
postgres:
15-
image: ckan/ckan-postgres-dev:2.9
18+
image: ckan/ckan-postgres-dev:2.10
1619
env:
1720
POSTGRES_USER: postgres
1821
POSTGRES_PASSWORD: postgres
@@ -29,13 +32,38 @@ jobs:
2932
CKAN_REDIS_URL: redis://redis:6379/1
3033

3134
steps:
32-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v4
3336
- name: Install requirements
3437
# Install any extra requirements your extension has here (dev requirements, other extensions etc)
3538
run: |
3639
pip install -r requirements.txt
3740
pip install -r dev-requirements.txt
3841
pip install -e .
42+
- name: Setup other extensions
43+
run: |
44+
# Install ckanext-schemingdcat
45+
git clone https://github.com/mjanez/ckanext-schemingdcat
46+
pip install -e ckanext-schemingdcat
47+
pip install -r ckanext-schemingdcat/requirements.txt
48+
49+
# Install ckanext-dcat
50+
git clone https://github.com/mjanez/ckanext-dcat
51+
pip install -e ckanext-dcat
52+
pip install -r ckanext-dcat/requirements.txt
53+
54+
# Install ckanext-harvest
55+
git clone https://github.com/ckan/ckanext-harvest
56+
pip install -e ckanext-harvest
57+
pip install -r ckanext-harvest/requirements.txt
58+
59+
# Install ckanext-scheming
60+
git clone https://github.com/ckan/ckanext-scheming
61+
pip install -e ckanext-scheming
62+
63+
# Install ckanext-fluent
64+
git clone https://github.com/mjanez/ckanext-fluent
65+
pip install -e ckanext-fluent
66+
3967
- name: Setup extension
4068
# Extra initialization steps
4169
run: |

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@
2121
`ckanext-miteco` extension is a tool designed to extend and customise the CKAN metadata and Open Data catalogue for the Spanish Ministry for Ecological Transition and Demographic Challenge ([MITECO](https://www.miteco.gob.es/)). This extension provides specific and thematic functionalities that allow a better management, visualisation and analysis of data related to the ecological transition and the demographic challenge.
2222

2323
## TODO: Requirements
24+
### Compatibility
2425
Compatibility with core CKAN versions:
2526

26-
| CKAN version | Compatible? |
27-
| --------------- | ------------- |
28-
| 2.8 | not tested |
29-
| 2.9 | yes |
30-
| 2.10 | not tested |
31-
27+
| CKAN version | Compatible? |
28+
|--------------|-----------------|
29+
| 2.8 | ❔ Not tested |
30+
| 2.9 | ✅ Yes |
31+
| 2.10 | ✅ Yes |
3232

33+
### Plugins
3334
`ckanext-miteco` needs the following extensions:
3435

3536
* [`mjanez/ckanext-dcat`](https://github.com/mjanez/ckanext-dcat):
@@ -50,6 +51,12 @@ Compatibility with core CKAN versions:
5051
pip install -r ./src/ckanext-spatial/requirements.txt
5152
```
5253

54+
* [`ckanext-fluent`](https://github.com/mjanez/ckanext-fluent):
55+
```bash
56+
pip install -e git+https://github.com/mjanez/ckanext-fluent.git@v1.0.1#egg=ckanext-fluent
57+
pip install -r ./src/ckanext-fluent/requirements.txt
58+
```
59+
5360
* [`mjanez/ckanext-schemingdcat`](https://github.com/mjanez/ckanext-schemingdcat):
5461
```bash
5562
pip install -e git+https://github.com/mjanez/ckanext-schemingdcat.git@v3.0.0#egg=ckanext_schemingdcat

0 commit comments

Comments
 (0)