Commit Graph

163 Commits

Author SHA1 Message Date
e20bb43e57
Add requests to Python dependencies 2022-01-09 10:12:21 +02:00
57cc35c839
Add util/create-schema-dspace.py
Script to read the ISEAL Core and FSC metadata CSVs and create the
appropriate schemas and metadata fields in a DSpace 6.x repository.
2022-01-09 10:10:00 +02:00
alanorth
f21038663e Automated commit with site updates 2022-01-07 12:28:17 +00:00
16b183f36b
site: update URLs to iseal-community 2022-01-07 14:26:50 +02:00
7ed52b703a
.github/workflows/pages.yml: quote Python version
Otherwise, in JSON, it gets interpreted as an integer (3.1).

See: https://github.com/actions/setup-python/issues/160
2022-01-06 14:02:13 +02:00
ad6d18697f
site/package.json: update Hugo version
This is only used locally, but might as well update the version just
in case.
2022-01-06 13:55:10 +02:00
d182d67d9c
site/package-lock.json: run npm update
Make sure dependencies are current so this project doesn't get too
out of date once we hand over ownership!
2022-01-06 13:52:53 +02:00
9116734205
.github/workflows/pages.yml: use Python 3.10
It's what I use locally and it's the latest supported version so it
will let this project work a bit longer as time goes on if we start
with the latest version possible.
2022-01-06 13:50:08 +02:00
46ef96c6c4
Update requirements.txt
Generated with poetry:

    $ poetry export -f requirements.txt > requirements.txt

This is useful for people who don't have poetry.
2022-01-06 13:49:46 +02:00
15089f9134
poetry.lock: run poetry update
Update Python dependencies
2022-01-06 13:48:02 +02:00
8ab9efa38e
README.md: update TODO 2022-01-06 13:02:26 +02:00
d96be74836 .github/workflows/pages.yml: only commit on main
Don't automatically commit changes to the Hugo site content unless
we are on the main branch. This is unnecessary and makes it tricky
to work on feature branches or pull requests.
2022-01-06 13:01:01 +02:00
alanorth
7363e8d70d Automated commit with site updates 2022-01-06 10:43:37 +00:00
afe0d8339c Regenerate controlled vocabularies
Now they are named using their DSpace field name. I generated them
like this:

    $ ./util/export-controlled-vocabularies.py -i data/iseal-core.csv --clean -d
    $ ./util/export-controlled-vocabularies.py -i data/fsc.csv -d
2022-01-06 12:40:20 +02:00
d629a1ab17 Add util/export-controlled-vocabularies.py
This script is only used to export the controlled vocabularies from
the schema CSV files. Eventually we will remove them from there and
it won't be needed anymore.
2022-01-06 12:40:20 +02:00
75076124a5 util/generate-hugo-content.py: use dspace field name
Now all elements have DSpace field names so we can use that as the
unique identifier for each element.
2022-01-06 12:40:20 +02:00
7431ebb6c9 data/fsc.csv: fix columns on line 36 2022-01-06 12:40:19 +02:00
Marie-Angélique Laporte
68bb87772a adding missing dspace names 2022-01-06 12:40:19 +02:00
marieALaporte
cab3851500 Automated commit with site updates 2022-01-06 12:40:19 +02:00
Marie-Angélique Laporte
16c55cc550 adding missing dspace field names 2022-01-06 12:40:10 +02:00
adamISEAL
ceac0b4ae4 Automated commit with site updates 2022-01-05 15:33:44 +00:00
adamISEAL
7831a4acc8 Update iseal-core.csv
Update guidance to capitalize 'select'
2022-01-05 15:32:27 +00:00
adamISEAL
7c98d830d8 Update README.md
Adding new ISEAL URL following repository transfer
2022-01-05 15:07:05 +00:00
Marie-Angélique Laporte
afadf4245d updating purl 2022-01-05 13:44:17 +01:00
alanorth
fef8d0b986 Automated commit with site updates 2022-01-05 12:11:32 +00:00
dfc4e3d260
data/iseal-cores.csv: update guidance for ROR
Refer to the Research Organization Registry consistently as ROR.
2022-01-05 14:06:41 +02:00
17a3df0e7d
data/iseal-core.csv: update guidance for legacy dc fields
The DSpace institutional repository has several legacy "dc" fields
hard coded internally so we must use those instead of newer terms
from the "dcterms" schema.
2022-01-05 14:02:17 +02:00
alanorth
d90e6dee0a Automated commit with site updates 2022-01-05 10:10:58 +00:00
60a7d9f1dd
data/iseal-core.csv: minor update to guidance 2022-01-05 12:09:27 +02:00
alanorth
3be7829428 Automated commit with site updates 2022-01-05 08:06:39 +00:00
a715e38b27
data/iseal-core.csv: update date guidance
At the very least we need YYYY, but month and day are always better
if we know them.
2022-01-05 10:04:51 +02:00
alanorth
749a14d564 Automated commit with site updates 2022-01-03 14:22:33 +00:00
09a06e8eaf
data/iseal-core.csv: update area descriptions
Standardize descriptions for areas in hectares.
2022-01-03 16:21:02 +02:00
e65b235fad
data/iseal-core.csv: update descriptions
Change references to GRID to RoR, fix typo in DSpace reference.
2022-01-03 16:18:27 +02:00
d906af51dd
data/iseal-core.csv: standardize some descriptions
Standardize descriptions for country and region fields.
2022-01-03 16:17:49 +02:00
792363fc42
README.md: update TODO 2022-01-03 16:04:55 +02:00
alanorth
4075fe9424 Automated commit with site updates 2022-01-03 13:56:06 +00:00
24d437977e
data/iseal-core.csv: update guidance
Fix typo in guidance for one coordinate field.
2022-01-03 15:54:23 +02:00
98a778507e
data/iseal-core.csv: update descriptions
Update descriptions of country and language fields to indicate that
they should be ISO 3166-1 Alpha2 and ISO 639-1 Alpha2, respectively.
2022-01-03 15:52:28 +02:00
71e8234d46
README.md: add FSC schema 2021-12-21 20:33:24 +02:00
alanorth
81b6922875 Automated commit with site updates 2021-12-21 17:08:32 +00:00
a351e164c7 site/content: add fsc.md
This is the page that renders the FSC terms. We actually also gen-
erate a page for each term which is annoying, but I don't know how
to avoid that.
2021-12-21 19:07:16 +02:00
80ab24d0e6 data/controlled-vocabularies: add FSC vocabularies
Extracted from fsc.csv for now.
2021-12-21 19:07:16 +02:00
dc68d4316a .github/workflows/pages.yml: parse FSC schema 2021-12-21 19:07:16 +02:00
bd8839fde8 site: regenerate static assets
Remove old style.min.css since we now have ISEAL (default) and FSC
styles.
2021-12-21 19:07:16 +02:00
f6c8ad09db Move fsc data files into place 2021-12-21 19:07:16 +02:00
d8065f0634 site/layouts: add new FSC extension
We use a custom style block in the base that defaults to ISEAL, but
gets overridden in the FSC layout. Layout is determined in the term
frontmatter, either "home" or "fsc".
2021-12-21 19:07:16 +02:00
d4bd504ff2 site: add FSC style
We now have FSC and ISEAL color schemes with some common style in
main.scss. I don't have any branding guidelines for FSC so I'm just
using colors for now.
2021-12-21 19:07:16 +02:00
d37bfc453f util/generate-hugo-content.py: add support for fsc.csv
Currently the only difference is the name of the module column and
that there are no mandatory fields so we need to be careful there.
2021-12-21 19:07:16 +02:00
alanorth
f1807806d1 Automated commit with site updates 2021-12-21 16:55:30 +00:00