ease-crc / soma

The Socio-physical Model of Activities (SOMA) is a formal activity model for embodied agents that need to operate their body to generate motions that cause intentional effects in the physical and social world.
GNU Lesser General Public License v3.0
16 stars 23 forks source link

Versionize SOMA #215

Closed mrnolte closed 2 years ago

mrnolte commented 2 years ago

We should make use of the OWL feature to versionize ontologies, so people can use stable versions. When making Updates to SOMA, we can then also write Changelogs.

mrnolte commented 2 years ago

When a new release is ready, we should automatically upload it etc., see here @sasjonge : https://trstringer.com/github-actions-create-release-upload-artifacts/

mrnolte commented 2 years ago

Also, this seems cool for an automatic changelog: https://mokkapps.de/blog/how-to-automatically-generate-a-helpful-changelog-from-your-git-commit-messages/

mrnolte commented 2 years ago

Has been discussed in todays meeting as should-be-done.

daniel86 commented 2 years ago

as said in the meeting. versioned releases were done since quite a while now. only the mirroring on the ease-crc.org website is missing

daniel86 commented 2 years ago

@mrnolte where do you want the versioned artifacts anyways? They are surely allready available, e.g. here https://ease-crc.github.io/soma/owl/1.1.0/SOMA.owl

You also want them under ease-crc.org in a versioned URL? like that: https://ease-crc.org/ont/1.2.0/SOMA.owl

The link is only there for the latest unreleased version at the moment, here https://ease-crc.org/ont/SOMA.owl

mrnolte commented 2 years ago

They are surely allready available, e.g. here https://ease-crc.github.io/soma/owl/1.1.0/SOMA.owl

We discussed and agreed to publish all ontology files (see #202, #229); not only the collapsed versions. For those to be accessible via versioned IRIs, they have to import the other ontologies via versioned IRIs, too (would make no sense to import the latest version). The above is therefore not sufficient.

@mrnolte where do you want the versioned artifacts anyways? You also want them under ease-crc.org in a versioned URL? like that: https://ease-crc.org/ont/1.2.0/SOMA.owl

Yes, that would then be optimal in my opinion.

daniel86 commented 2 years ago

Well ok. the text of this ticket does not state anything about the modules, but ok. @sasjonge you are looking into also deploying the modules, right? Please also have a look into rewriting the imports.

sasjonge commented 2 years ago

I created a PR were I changed the import links for the published modules for the release: https://github.com/ease-crc/soma/pull/244 @mrnolte Is this the way how the modules should look like?

sasjonge commented 2 years ago

I merged https://github.com/ease-crc/soma/pull/244

This means we have a versioned release for 1.2.0, but the import structure of the modules is not automatically resolved for now.

sasjonge commented 2 years ago

This issue is fixed with the merge of https://github.com/ease-crc/soma/pull/244

I created a new issue for automatically changing the import URIs, here: https://github.com/ease-crc/soma/issues/246