Code Monkey home page Code Monkey logo

Comments (5)

fberlakovich avatar fberlakovich commented on August 17, 2024

@markus2330 Which document contains the description of the participating keys below spec/? I remember that we discussed all required keys and you documented them somewhere, but I am unable to find the document despite extensive grepping.

from libelektra.

markus2330 avatar markus2330 commented on August 17, 2024

@fberlakovich Any keys can be below spec/ just like the application needs it. Within every key in spec the metadata holds what you are looking for. The metadata is documented in doc/METADATA.ini

e.g. for current fstab we would have:

[/filesystems]
needs/#0=fstab
mode=0775      ; marks that this is a "directory"

[/filesystems/device]
type=string
...

In this example we would have the key spec/filesystems that has the metadata needs/#0 and mode.

See src/plugins/fstab/README.md for another specification.

from libelektra.

fberlakovich avatar fberlakovich commented on August 17, 2024

Okay, that explains it. I was wondering because I could remember the type=mountpoint metadata but couldn't find it. Am I correct assuming that it is deduced from the needs metadata that this key will be a mountpoint?

from libelektra.

markus2330 avatar markus2330 commented on August 17, 2024

You wrote:

Okay, that explains it. I was wondering because I could remember the
type=mountpoint metadata but couldn't find it. Am I correct assuming
that it is deduced from the needs metadata that this key will be a
mountpoint?

Its not fully specified. If you reliable can deduce it, its good. Maybe its
good if you first modify/extend the spec in METADATA.ini.

best regards

from libelektra.

markus2330 avatar markus2330 commented on August 17, 2024

Closed because its out-of-scope now. Reopen if you want to continue this work.

from libelektra.

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.