Commit Graph

350 Commits

Author SHA1 Message Date
adamISEAL 957724703b Automated commit with site updates 2022-02-03 15:31:12 +00:00
adamISEAL 8cd468b0ce Update home.html
Table update 'impact' to 'evaluation'
2022-02-03 15:30:14 +00:00
alicevthompson 8977cd441f Automated commit with site updates 2022-02-03 15:19:49 +00:00
alicevthompson 4c8d9f0b16 Update iseal-core.csv
Change Impact module to Evaluation
2022-02-03 15:18:42 +00:00
Alan Orth 9951d6598d
README.md: update TODO 2022-01-30 21:09:51 +03:00
Alan Orth bca3d25bbd
README-dev.md: massive update on workflows 2022-01-30 20:56:29 +03:00
Alan Orth 852e793c3d
README.md: update TODO
The `util/create-rdf.py` script is slightly out of date with the
latest changes in the repository. The paths to CSV and TTL files
need to be updated, as well as the namespace for the project.
2022-01-30 20:38:30 +03:00
Alan Orth 0ee5f5218b
README-dev.md: adjust Python steps
On Linux and macOS we can run these scripts directly because they
have executable permissions and the shebang line points to a sane
Python, but on Windows only God can help us. Better to write the
slightly lamer invocation here with Python directly (even though
the slash style will be different)...
2022-01-30 20:06:05 +03:00
Alan Orth 6216144070
util/generate-hugo-content.py: controlled vocabularies
We are planning to remove the controlled vocabularies from the CSV
files so we should not expect that this column will exist. Instead,
check if there is a controlled vocabulary in the data directory.

The controlled vocabularies were already exported once using the
util/export-controlled-vocabularies.py script so we don't actually
need them in the CSVs anymore.
2022-01-30 20:04:28 +03:00
Alan Orth 812c9241bd
README-dev.md: start working on docs 2022-01-30 19:41:45 +03:00
Alan Orth 362c7f8779 README-dev.md: update introduction 2022-01-30 13:29:07 +03:00
Alan Orth 51cc63843b README-dev.md: update note about Python 2022-01-30 13:29:07 +03:00
Alan Orth 88077ea494 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-30 13:29:07 +03:00
Alan Orth dd6f4ee8d6 poetry.lock: run poetry update 2022-01-30 13:29:07 +03:00
Alan Orth fe36c5c25b util/*.py: run isort
Sorts and organizes the Python imports.
2022-01-30 13:29:07 +03:00
Alan Orth 7488a24e34 pyproject.toml: update dependencies
Most of these are minor and would have been selected by the semant-
ic version string during `poetry install`, but I want to make sure
that they are as current as possible before I leave the project.

In the case of Pandas 1.4.0 the minimum Python version is actually
only 3.8, so let's set that as the minimum.
2022-01-30 13:29:07 +03:00
Alan Orth ddc7596a09 pyproject.toml: change name to iseal-core 2022-01-30 13:29:07 +03:00
Alan Orth 2b1a1ea943 package-lock.json: run npm update
This syncs the latest dependencies as specified by evaluating the
package.json.
2022-01-30 13:29:07 +03:00
Alan Orth 3da6569961 site/package.json: minor version bump for bootstrap
NPM semantic versioning will already select 5.1.3 due to the ^5.1.1
version string, but let's just update package.json anyways.
2022-01-30 13:29:07 +03:00
Alan Orth 86ae899f3e site/package.json: update Hugo
Only used on local development workflows (GitHub Actions uses its
own Hugo task that always has the latest version).
2022-01-30 13:29:07 +03:00
alanorth 18c6560b58 Automated commit with site updates 2022-01-30 09:32:54 +00:00
Alan Orth 88ba512cf1
README-dev.md: improve introduction 2022-01-30 12:31:30 +03:00
Alan Orth e202cbe3de
Add README-dev.md
I need to start collecting and organizing documentation for various
technical workflows here. For example:

- Adding a new schema element
- Adding a new schema extension
- Updating controlled vocabularies
- Updating the documentation site layout

Etc...
2022-01-29 17:15:51 +03:00
Alan Orth 6a1a99fb2a README.md: begin reorganizing
This README should be low tech.
2022-01-29 17:05:26 +03:00
alanorth 275fd1d851 Automated commit with site updates 2022-01-29 13:28:27 +00:00
Alan Orth 7876edb171
Update screenshot.png
Take a screenshot with window borders and apply a shadow.

See: https://stefanscherer.github.io/how-to-take-screenshots-with-drop-shadow/
2022-01-29 16:26:37 +03:00
alanorth 97e31887b9 Automated commit with site updates 2022-01-23 16:00:23 +00:00
Alan Orth 0321ad3c44
data/fsc.csv: add fsc.transitionEndDate
This is the date a standard is no longer in transition.
2022-01-23 18:55:38 +03:00
Alan Orth 261b089eaa
data/fsc.csv: update description for fsc.inTransition 2022-01-23 18:52:20 +03:00
Alan Orth 12b9a274f8
Update requirements.txt
Generated with poetry:

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

This is useful for people who don't have poetry and will use python
with vanilla virtual environments.
2022-01-23 18:02:59 +03:00
Alan Orth e81b7e98dd
poetry.lock: run poetry update 2022-01-23 18:02:33 +03:00
alanorth 92fd918081 Automated commit with site updates 2022-01-11 19:03:47 +00:00
Alan Orth 0ebe3bd751
util/create-schema-dspace.py: update comment 2022-01-11 20:57:42 +02:00
Alan Orth d0093722ec
util/create-schema-dspace.py: update logic
Detect actual HTTP return codes for various situations:

- HTTP 500 means the schema or field already exists
- HTTP 415 means we are posting some invalid data
- HTTP 404 means the parent schema does not exist
2022-01-11 20:55:34 +02:00
Alan Orth b0ef411f62
util/create-schema-dspace.py: fix error in POST
The missing "headers=headers" was causing an HTTP 415 that took me
over an hour to fix. Sigh.
2022-01-11 20:54:19 +02:00
Alan Orth 0fca6bbc90
util/create-schema-dspace.py: clean up output
Minor nitpick after staring at this while debugging for an hour. I
think the period at the end of these lines is ugly.
2022-01-11 20:53:55 +02:00
alanorth a063ec6143 Automated commit with site updates 2022-01-09 08:14:12 +00:00
Alan Orth e20bb43e57
Add requests to Python dependencies 2022-01-09 10:12:21 +02:00
Alan Orth 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
Alan Orth 16b183f36b
site: update URLs to iseal-community 2022-01-07 14:26:50 +02:00
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 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
Alan Orth 15089f9134
poetry.lock: run poetry update
Update Python dependencies
2022-01-06 13:48:02 +02:00
Alan Orth 8ab9efa38e
README.md: update TODO 2022-01-06 13:02:26 +02:00
Alan Orth 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