aif-ng/TODO

36 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-01-16 18:59:13 -05:00
- config layout. xml? e.g.
...
<disk type="gpt" name="sda">
<part size="50%" name="/" format="8303" />
<part size="40%" name="/home" format="8302" />
<part size="5%" name="swap" format="8200" />
<part size="5%" name="/boot" format="ef02" />
</disk>
...
2017-03-06 07:53:21 -05:00
- use sgdisk? scripting (generated by python) for disk partitioning (part types listed at http://www.rodsbooks.com/gdisk/walkthrough.html )
- add mkfs-ing
2017-01-16 18:59:13 -05:00
-support serverside "autoconfig"- a mechanism to let servers automatically generate xml build configs. e.g.:
kernel ... aif_url="https://build.domain.tld/aif-ng.php" auto=yes
would yield the *client* sending info via URL params, e.g.
https://build.domain.tld/aif-ng.php?disk[]=sda&disk[]=sdb&disk[sda]=300GB&disk[sdb]=500GB
? something like that.
parser: make sure to use https://mikeknoop.com/lxml-xxe-exploit/ fix
2017-03-06 07:40:20 -05:00
need to set proper location block for https://aif.square-r00t.net/aif.xsd
2017-03-07 18:36:56 -05:00
xmllint --noout --schema aif.xsd aif.xml
docs:
http://lxml.de/parsing.html
https://www.w3.org/2001/XMLSchema.xsd
http://lxml.de/validation.html#xmlschema
https://stackoverflow.com/questions/3084155/custom-attributes-in-an-xsd-schema
https://www.w3schools.com/xml/schema_intro.asp
https://www.w3schools.com/xml/schema_example.asp
https://msdn.microsoft.com/en-us/library/dd489258.aspx