Coder Social home page Coder Social logo

Comments (6)

zvr avatar zvr commented on June 16, 2024 1

Every run of the spec-parser generates an updated ontology in all formats, including the PlantUML diagram.

The generated files should be copied in the ontology directory.

from spdx-spec.

bact avatar bact commented on June 16, 2024

How we are going to communicate about these "alternatives"? (Like, when to use which source)

  1. https://spdx.org/rdf/3.0.0/spdx-model.ttl (official)
  2. https://spdx.github.io/spdx-3-model/model.ttl
  3. https://github.com/spdx/spdx-spec/blob/development/v3.0.1/ontology/ontology.rdf.ttl

I realized that there should be at least two sources: one is stable (generated at release for public use), another is for development (generated frequently for testing/development).

The stable one should be at spdx.org (1) and all spec/doc should point to that new IRIs.

The question is probably where should be the source for the development.
For example, in spdx-3-model repo (2) or in spdx-spec repo (3).

Once decided to pick one, we should delete another to avoid confusion.
Also after that, README and etc should be updated to make it clear that this is unstable.

The current situation is a not very friendly for new comer.

The same concern of having multiple sources of truth (and not keep them updated) that happens here for spdx-spec repo goes to spdx-3-model repo as well. See: spdx/spdx-3-model#726

from spdx-spec.

goneall avatar goneall commented on June 16, 2024

From the tech call - we agreed the ontology directory can be deleted.

The gh-pages version is being generated from model repo.

from spdx-spec.

goneall avatar goneall commented on June 16, 2024

@zvr - let me know if you agree that it can be deleted

from spdx-spec.

zvr avatar zvr commented on June 16, 2024

@goneall I admit that I like having a directory where one can see everything as files, as we had until now at https://github.com/spdx/spdx-spec/tree/development/v2.3/ontology

Having the individual files available elsewhere is useful but not equivalent.

But maybe I misunderstood what you wrote. Was the question to me about the ontology directory here? Or the gh-pages stuff in spdx-3-model? Reading the minutes it seems only deletion of spdx-3-model/gh-pages is mentioned.

Anyway, my views:

  • delete the spdx-3-model gh-pages stuff
  • keep the ontology directory here and populate it with the RDF ontology in different forms, etc.
  • also have the diagrams (both automatically generated and hand-curated ones) somewhere in the spdx-spec repo.

(and remember, we still have to generate RDF documentation and publish that one)

from spdx-spec.

goneall avatar goneall commented on June 16, 2024

If we want to keep this directory, we should have a CI which copies any generated files or original files from the spdx-3-model repo. Doing it manually is leading to omissions and inconsistencies.

from spdx-spec.

Related Issues (20)

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.