[elbe-devel] [PATCH 0/1] XML schema definitions for <suite>

Holger Dengler dengler at linutronix.de
Mon Jul 22 13:28:42 CEST 2019


Hi Olivier,

On 22.07.19 13:11, dion at linutronix.de wrote:
> From: Olivier Dion <dion at linutronix.de>
> 
> See <https://github.com/Linutronix/elbe/issues/55>.
> 
> This patch add two schema definitions for the initvm/suite and the
> project/suite nodes.  This way, invalid suite's names are detected at
> the very begining of a build.
> 
> The lists of supported suites are also easily maintainable.

As far as I know, each repository server can provide a reduced list of suite names. The list of possible suite names in the XMLs schema is detached from the list of suites on the used repository server. So, if the XML contains a suite, but this suite is not available on the repository server, we will have the same error behaviour as with the current elbe version. Is that correct?

If this is the case, I would prefer to check the suite availability directly on the server, right after the XML syntax check. If this fails, we can provide a helpful error message.

> 
> Olivier Dion (1):
>   Add schema definition for initvm/project suite restriction
> 
>  schema/dbsfed.xsd | 22 ++++++++++++++++++++--
>  1 file changed, 20 insertions(+), 2 deletions(-)
> 

-- 
Mit freundlichen Grüßen/Kind regards,
Holger Dengler
--
Holger Dengler
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 14; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz (Informations on data privacy):
https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH
Firmensitz (Registered Office): Uhldingen-Mühlhofen
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 806
Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



-- 
Gruß,
Holger Dengler
--
phone: +49 7556 25 999 14; fax: +49 7556 25 999 99

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190722/307e3771/attachment.sig>


More information about the elbe-devel mailing list