Difference between revisions of "C 0000015 mmmv package info t1"

From commentsarchive
Jump to: navigation, search
m
m
Line 21: Line 21:
 
Deployment deliverables all have an executable file named '''mmmv_package_info_t1''' at their root folder. It is a console application that has the following mandatory command line fomrat, in EBNF:
 
Deployment deliverables all have an executable file named '''mmmv_package_info_t1''' at their root folder. It is a console application that has the following mandatory command line fomrat, in EBNF:
  
<syntaxhighlight lang="">
+
<syntaxhighlight lang="text">
    COMMANDLINE_ARGUMENTS :== NONE | HELP | DISPLAY_VARIABLE | DISPLAY_CONSTANT
+
      COMMANDLINE_ARGUMENTS :== NONE | HELP | DISPLAY_VARIABLE | DISPLAY_CONSTANT
  NONE :== // displays this EBNF and exits with error code 1
+
                      NONE :== // displays this EBNF and exits with error code 1
  HELP :== "--help" | "-help" | "help" | "-?" | "-h" | "h" // displays this EBNF and exits with error code 0
+
                      HELP :== "--help" | "-help" | "help" | "-?" | "-h" | "h" // displays this EBNF and exits with error code 0
  DISPLAY_VARIABLE :== DISPLAY_COMPULSORY_VARIABLE | DISPLAY_OPTIONAL_VARIABLE
 
  DISPLAY_CONSTANT :== DISPLAY_COMPULSORY_CONSTANT | DISPLAY_OPTIONAL_CONSTANT
 
  
 +
          DISPLAY_VARIABLE :== ("--display-variable" | "--var"  | "-var"  | "var" ) (DISPLAY_COMPULSORY_VARIABLE | DISPLAY_OPTIONAL_VARIABLE)
 +
          DISPLAY_CONSTANT :== ("--display-constant" | "--const" | "-const" | "const" ) (DISPLAY_COMPULSORY_CONSTANT | DISPLAY_OPTIONAL_CONSTANT)
 +
   
 +
          DISPLAY_BOOLEAN_X :== <name prefix that consists of only characters in the mmmv_ASCII_subset_t1>"_boolean="<true|false>
 +
              DISPLAY_HEX_X :== <name prefix that consists of only characters in the mmmv_ASCII_subset_t1>"_lower_case_hex="<lower case hex>
 +
            DISPLAY_ARRAY_X :== (<one or more spaces>)* (DISPLAY_BOOLEAN_X|DISPLAY_HEX_X) (<one or more spaces>(DISPLAY_BOOLEAN_X|DISPLAY_HEX_X))*(<one or more spaces>)*
 +
 +
DISPLAY_COMPULSORY_VARIABLE :== DISPLAY_BOOLEAN_X | DISPLAY_HEX_X | DISPLAY_ARRAY_X
 +
  DISPLAY_OPTIONAL_VARIABLE :== DISPLAY_BOOLEAN_X | DISPLAY_HEX_X | DISPLAY_ARRAY_X
 +
DISPLAY_COMPULSORY_CONSTANT :== DISPLAY_BOOLEAN_X | DISPLAY_HEX_X | DISPLAY_ARRAY_X
 +
  DISPLAY_OPTIONAL_CONSTANT :== DISPLAY_BOOLEAN_X | DISPLAY_HEX_X | DISPLAY_ARRAY_X
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 01:53, 1 March 2021

This specification is still being written.


ID format

One development deliverable may produce multiple different deployment deliverables. A deployment deliverable has a relative ID in relation to its development deliverable. A development deliverable is a tar-file that contains its own secure hash and size in bytes as part of its name. For example, the tar-files might be Silktorrent packets, stblob-files. The ID of the development deliverable is the name of the tar-file. An absolute ID of a deployment deliverable has the following format:

    name_of_the_tarfile_of_the_development_deliverable|relateiv_ID_of_the_deployment_deliverable

The tar-file of the development deliverable and the relative ID of the deployment deliverable must both include only characters that meet the requirements of the C_0000014 mmmv_ASCII_subset_t1.


Deployment Deliverable Format

Deployment deliverables all have an executable file named mmmv_package_info_t1 at their root folder. It is a console application that has the following mandatory command line fomrat, in EBNF:

      COMMANDLINE_ARGUMENTS :== NONE | HELP | DISPLAY_VARIABLE | DISPLAY_CONSTANT
                       NONE :== // displays this EBNF and exits with error code 1
                       HELP :== "--help" | "-help" | "help" | "-?" | "-h" | "h" // displays this EBNF and exits with error code 0

           DISPLAY_VARIABLE :== ("--display-variable" | "--var"   | "-var"   | "var" ) (DISPLAY_COMPULSORY_VARIABLE | DISPLAY_OPTIONAL_VARIABLE)
           DISPLAY_CONSTANT :== ("--display-constant" | "--const" | "-const" | "const" ) (DISPLAY_COMPULSORY_CONSTANT | DISPLAY_OPTIONAL_CONSTANT)
    
          DISPLAY_BOOLEAN_X :== <name prefix that consists of only characters in the mmmv_ASCII_subset_t1>"_boolean="<true|false>
              DISPLAY_HEX_X :== <name prefix that consists of only characters in the mmmv_ASCII_subset_t1>"_lower_case_hex="<lower case hex>
            DISPLAY_ARRAY_X :== (<one or more spaces>)* (DISPLAY_BOOLEAN_X|DISPLAY_HEX_X) (<one or more spaces>(DISPLAY_BOOLEAN_X|DISPLAY_HEX_X))*(<one or more spaces>)*

DISPLAY_COMPULSORY_VARIABLE :== DISPLAY_BOOLEAN_X | DISPLAY_HEX_X | DISPLAY_ARRAY_X
  DISPLAY_OPTIONAL_VARIABLE :== DISPLAY_BOOLEAN_X | DISPLAY_HEX_X | DISPLAY_ARRAY_X
DISPLAY_COMPULSORY_CONSTANT :== DISPLAY_BOOLEAN_X | DISPLAY_HEX_X | DISPLAY_ARRAY_X
  DISPLAY_OPTIONAL_CONSTANT :== DISPLAY_BOOLEAN_X | DISPLAY_HEX_X | DISPLAY_ARRAY_X