Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.0.0 - Preliminary version #5

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
59b6299
Update Open Sans font and improve CSS
mjanez Sep 19, 2024
4119ae8
Add miteco schemas
mjanez Sep 19, 2024
04c6e25
Update miteco.css styles
mjanez Sep 20, 2024
235b616
Update miteco.css font
mjanez Sep 30, 2024
8722322
Improve hvd_category with NT1 terms.
mjanez Oct 15, 2024
5b957ab
Add organization hierarchy templates and update styles
mjanez Oct 23, 2024
e66d0dd
Add initial implementation of Miteco plugin with authentication, help…
mjanez Oct 24, 2024
a496d57
Improve org hierarchy templates
mjanez Oct 24, 2024
40b1868
Fix breadcrumbs with ckanext-hierarchy
mjanez Oct 24, 2024
8f0c094
Add new presets and update dataset fields for miteco schema
mjanez Oct 24, 2024
7a6b66d
Add OpenAPI navigation tab to header
mjanez Oct 25, 2024
7119c36
Update test configuration and add OpenAPI specifications for MITECO D…
mjanez Oct 25, 2024
c31470e
Update OpenAPI specifications for datastore API in English and Spanish
mjanez Oct 25, 2024
548ff34
Add default CC-BY-4.0 to license_id and update preset for access righ…
mjanez Oct 29, 2024
6eb7f65
Update license form snippet path and adjust license validators in mit…
mjanez Oct 29, 2024
8595897
Update maintainer/author default validator
mjanez Nov 4, 2024
525afa3
Add MITECO identifier schema and related templates, helpers, and styles
mjanez Nov 13, 2024
e921ff5
Add setup for ckanext-schemingdcat extension in CI workflow
mjanez Nov 13, 2024
9d803ac
Update CI workflow to use CKAN 2.10 and related container images
mjanez Nov 13, 2024
8148259
Add installation steps for additional CKAN extensions in CI workflow
mjanez Nov 13, 2024
e109fd6
Fix Spanish label for dataset author field in miteco_dataset.yaml
mjanez Nov 14, 2024
abca1f3
Refactor email field in miteco_dataset.yaml to use preset validation …
mjanez Nov 14, 2024
2a1406d
Add default_miteco_orgs for automatic init creation on plugin startup.
mjanez Nov 22, 2024
359b402
Add translation files for Spanish and create plugin translation support
mjanez Nov 22, 2024
a9cecef
Update MITECO schema labels for clarity and consistency, add default …
mjanez Dec 2, 2024
d70e744
Enhance MITECO dataset schema: update labels for clarity, add depende…
mjanez Dec 5, 2024
ba73ec3
Update help text in miteco_dataset.yaml for clarity in Technical Repo…
mjanez Dec 12, 2024
d5504b5
Add MITECO CSW harvester and default metadata configuration
mjanez Dec 12, 2024
41ffac8
Fix typo in comment for applying MITECO default values in CSW harvester
mjanez Dec 16, 2024
01ec78a
Improve MITECO schema (DCAT-AP M+R)
mjanez Dec 16, 2024
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
36 changes: 32 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
name: Tests
on: [pull_request]

jobs:
test:
name: CKAN 2.10
runs-on: ubuntu-latest
container:
# The CKAN version tag of the Solr and Postgres containers should match
# the one of the container the tests run on.
# You can switch this base image with a custom image tailored to your project
image: openknowledge/ckan-dev:2.9
image: ckan/ckan-dev:2.10-py3.10
services:
solr:
image: ckan/ckan-solr:2.9-solr9-spatial
# Custom image with spatial support and advanced schema
image: ghcr.io/mjanez/ckan-solr:2.10-solr9-spatial
postgres:
image: ckan/ckan-postgres-dev:2.9
image: ckan/ckan-postgres-dev:2.10
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
Expand All @@ -29,13 +32,38 @@ jobs:
CKAN_REDIS_URL: redis://redis:6379/1

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install requirements
# Install any extra requirements your extension has here (dev requirements, other extensions etc)
run: |
pip install -r requirements.txt
pip install -r dev-requirements.txt
pip install -e .
- name: Setup other extensions
run: |
# Install ckanext-schemingdcat
git clone https://github.com/mjanez/ckanext-schemingdcat
pip install -e ckanext-schemingdcat
pip install -r ckanext-schemingdcat/requirements.txt

# Install ckanext-dcat
git clone https://github.com/mjanez/ckanext-dcat
pip install -e ckanext-dcat
pip install -r ckanext-dcat/requirements.txt

# Install ckanext-harvest
git clone https://github.com/ckan/ckanext-harvest
pip install -e ckanext-harvest
pip install -r ckanext-harvest/requirements.txt

# Install ckanext-scheming
git clone https://github.com/ckan/ckanext-scheming
pip install -e ckanext-scheming

# Install ckanext-fluent
git clone https://github.com/mjanez/ckanext-fluent
pip install -e ckanext-fluent

- name: Setup extension
# Extra initialization steps
run: |
Expand Down
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@
`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.

## TODO: Requirements
### Compatibility
Compatibility with core CKAN versions:

| CKAN version | Compatible? |
| --------------- | ------------- |
| 2.8 | not tested |
| 2.9 | yes |
| 2.10 | not tested |

| CKAN version | Compatible? |
|--------------|-----------------|
| 2.8 | ❔ Not tested |
| 2.9 | ✅ Yes |
| 2.10 | ✅ Yes |

### Plugins
`ckanext-miteco` needs the following extensions:

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

* [`ckanext-fluent`](https://github.com/mjanez/ckanext-fluent):
```bash
pip install -e git+https://github.com/mjanez/[email protected]#egg=ckanext-fluent
pip install -r ./src/ckanext-fluent/requirements.txt
```

* [`mjanez/ckanext-schemingdcat`](https://github.com/mjanez/ckanext-schemingdcat):
```bash
pip install -e git+https://github.com/mjanez/[email protected]#egg=ckanext_schemingdcat
Expand Down
Loading
Loading