Giter Site home page Giter Site logo

devops's People

Contributors

mereolog avatar przemekgradzki avatar

Watchers

 avatar  avatar  avatar  avatar

devops's Issues

IOF: special rules for owl:versionIRI

"Public Release IRI" in "IRI Structure and Format V2.1":

Public Release IRI
The publicly released version IRI MUST use a numeric version formed with the release year and a monotonically increasing number NN in YYYYNN form, such as 202202 for the second release in 2022. If the IOF releases every quarter, NN represents the quarter when the ontology was released. When a versioned IRI is formed, the version MUST appear before the topic. All IOF ontologies that are part of a release MUST share a common version.

This version IRI will be automatically changed during the release and publication process. The version IRI in GitHub will not be changed by the publication process.

The non-versioned IRI MUST always reference the latest released version of the ontology.

See also edmcouncil/ontology-publisher: "Support for special rules for owl:versionIRI in the IOF ontology #128"

Fix workaround after nuxt generate

sh "env NODE_ENV=production ONTPUB_FAMILY=fibo RESOURCES_BASE_URL=/fibo/ontology/ STRAPI_URL=http://edmc-fibo-viewer.dc.makolab.pl:1330 STRAPI_RESOURCES_URL=/fibo npm --no-progress --no-color run generate &>>html-pages.log && mv dist/fibo/pages/${BRANCH}/${TAG}/pages/${BRANCH}/${TAG}/_nuxt dist/fibo/pages/${BRANCH}/${TAG}/_nuxt"

The "move" command will not be needed anymore.

custom spec_family_root_url in the IOF ontology

IOF ontologies use an ontology IRI - see e.g. core/Core.rdf#L24:

	<owl:Ontology rdf:about="https://spec.industrialontologies.org/ontology/core/Core/">

that is incompatible with the common "URI namespace" that was previously assumed by default in ontology-publisher (see here):

  # TODO: Make URL configurable
  #
  export spec_root_url="https://${ONTPUB_SPEC_HOST}"
  export spec_family_root_url="${spec_root_url}/${ONTPUB_FAMILY}"

so the common "URI namespace" for the IOF ontology is:

https://spec.industrialontologies.org/ontology/

while according to the assumption adopted in the ontology-publisher it would be:

https://spec.industrialontologies.org/iof/ontology/

The last change URI_SPACE variable as spec_family_root_url #125 allows you to adjust the common "URI namespace", so please update the Jenkinsfile for the IOF ontology accordingly

The public URL of the STRAPI server

For STRAPI_URL, use the public server URL:

sh "env NODE_ENV=production PRODUCT=pages ONTPUB_FAMILY=fibo RESOURCES_BASE_URL=/fibo/ontology/ STRAPI_URL=http://edmc-fibo-viewer.dc.makolab.pl:1330 STRAPI_RESOURCES_URL=/fibo npm --no-progress --no-color run generate &>>html-pages.log"

sh "env NODE_ENV=production PRODUCT=pages ONTPUB_FAMILY=auto RESOURCES_BASE_URL=/auto/ontology/ STRAPI_URL=http://edmc-fibo-viewer.dc.makolab.pl:1331 STRAPI_RESOURCES_URL=/auto npm --no-progress --no-color run generate &>>html-pages.log"

sh "env NODE_ENV=production PRODUCT=pages ONTPUB_FAMILY=idmp BASE_URL=https://spec.pistoiaalliance.org/ RESOURCES_BASE_URL=/idmp/ontology/ STRAPI_URL=http://idmp-onto-viewer.dc.makolab.pl:1332 STRAPI_RESOURCES_URL=/idmp npm --no-progress --no-color run generate &>>html-pages.log"

sh "env NODE_ENV=production PRODUCT=pages ONTPUB_FAMILY=esg RESOURCES_BASE_URL=/esg/ontology/ STRAPI_URL=http://idmp-onto-viewer.dc.makolab.pl:1333 STRAPI_RESOURCES_URL=/esg npm --no-progress --no-color run generate &>>html-pages.log"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.