Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
metadata: a bit cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Raab committed Nov 13, 2020
1 parent bc8c090 commit bd21584
Showing 1 changed file with 4 additions and 35 deletions.
39 changes: 4 additions & 35 deletions doc/METADATA.ini
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ version/minor=6

#
# Important metadata often used in configuration files
# (and seldom in specifications)
# and not used in specifications.
#

[order]
Expand Down Expand Up @@ -166,13 +166,6 @@ description= Internal metadata that must be ignored by other plugins.
Only if a type cannot be represented, e.g., the `toml`
plugin would use `internal/toml/type`.

[line]
type= int
status= proposal
description= contains the line number from which a key was read.
note= is useful for validation problems when someone directly
edits files



#
Expand Down Expand Up @@ -266,7 +259,7 @@ description= For this metadata only the presence is significant, not its value.

[array]
type= array-index
status= proposed
status= implemented
description= Such keys have only keys conforming to Elektra’s arrays convention as subkeys.
If the metavalue is empty, the array is empty (no subkeys).
Otherwise the metavalue contains the last element.
Expand Down Expand Up @@ -311,9 +304,9 @@ note= It is generally preferred that other metadata will be used to
deduce the needs of the specification, e.g. use check/validation
metadata instead of as given above.

[config]
[config/needs]
type= string
status= proposed
status= implemented
description= indicate that the mount point needs some
configuration for plugins in order to work.

Expand Down Expand Up @@ -764,18 +757,6 @@ description = a number of warnings, see src/error/specification



#
# Struct validation
#


[struct]
type = vector <string>
status = proposed
description = checks if the subkeys form a valid struct with the given
names.
The validator makes sure that there are no keys for the struct missing.
example = device mpoint type options [dumpfreq] [passno]


#
Expand Down Expand Up @@ -973,12 +954,6 @@ type= string
description= A ternary conditional style operator to define
relations between keys

[condition/validsuffix]
status= proposal
usedby/plugin= conditionals
type= string
description= A unit of measure style prefix

[check/condition/any/#]
status= implemented
usedby/plugin= conditionals
Expand Down Expand Up @@ -1059,12 +1034,6 @@ type= long
status= implemented
description= Trigger an error with given error number from src/error/specifications

[trigger/error/nofail]
usedby/plugin= error
type= long
status= proposal
description= Add the error but do not fail (to test robustness of framework).

[check/macaddr]
status= implemented
type= empty
Expand Down

0 comments on commit bd21584

Please sign in to comment.