Skip to content

Commit

Permalink
Merge 84d46e9 into e649f33
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed May 6, 2020
2 parents e649f33 + 84d46e9 commit c69c368
Showing 1 changed file with 61 additions and 41 deletions.
102 changes: 61 additions & 41 deletions src/autoyast-rnc/add-on.rnc
Expand Up @@ -2,53 +2,73 @@ default namespace = "http://www.suse.com/1.0/yast2ns"
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
namespace config = "http://www.suse.com/1.0/configns"

include "common.rnc"

add-on =
element add-on {
add_on_products* &
add_on_others*
MAP,
(
add_on_products* &
add_on_others*
)
}
listentry =
element listentry {
media_url & # here it is mandatory
product? &
name? &
alias? &
product_dir? &
ask_on_error? &
confirm_license? &
priority? &
element signature-handling {
element accept_unsigned_file { BOOLEAN }? &
element accept_file_without_checksum { BOOLEAN }? &
element accept_verification_failed { BOOLEAN }? &
element accept_unknown_gpg_key {
element all { BOOLEAN }? &
element keys {
LIST,
element keyid { text }*
}?
}? &
element accept_non_trusted_gpg_key {
element all { BOOLEAN }? &
element keys {
LIST,
element keyid { text }*
MAP,
(
media_url & # here it is mandatory
product? &
name? &
alias? &
product_dir? &
ask_on_error? &
confirm_license? &
priority? &
element signature-handling {
MAP,
(
element accept_unsigned_file { BOOLEAN }? &
element accept_file_without_checksum { BOOLEAN }? &
element accept_verification_failed { BOOLEAN }? &
element accept_unknown_gpg_key {
MAP,
(
element all { BOOLEAN }? &
element keys {
LIST,
element keyid { STRING }*
}?
)
}? &
element accept_non_trusted_gpg_key {
MAP,
(
element all { BOOLEAN }? &
element keys {
LIST,
element keyid { STRING }*
}?
)
}? &
element import_gpg_key {
MAP,
(
element all { BOOLEAN }? &
element keys {
LIST,
element keyid { STRING }*
}?
)
}?
}? &
element import_gpg_key {
element all { BOOLEAN }? &
element keys {
LIST,
element keyid { text }*
}?
}?
}?
)
}?
)
}
media_url = element media_url { text }
product = element product { text }
name = element name { text }
alias = element alias { text }
product_dir = element product_dir { text }
media_url = element media_url { STRING }
product = element product { STRING }
name = element name { STRING }
alias = element alias { STRING }
product_dir = element product_dir { STRING }
ask_on_error = element ask_on_error { BOOLEAN }
confirm_license = element confirm_license { BOOLEAN }
priority = element priority { INTEGER }
Expand All @@ -73,4 +93,4 @@ add_on_others =
element add_on_others {
attribute config:type { text }?,
listentry*
}
}

0 comments on commit c69c368

Please sign in to comment.