Commit Graph

116 Commits

Author SHA1 Message Date
brent s
ca1f12f5bd soooo...
turns out ALL of the disk operations can be performed with
gobject-introspection.

BUT it's unlikely that that'll be available everywhere, or that
the Arch Linux releng team would include it, etc.
So we have fallbacks to mimic it.

BUT please try to use gobject-introspection with libblockdev,
because it's going to be a lot faster and a lot less error-prone.
2019-11-01 02:54:51 -04:00
brent s
9e5ff48926 D'OH 2019-10-31 23:20:05 -04:00
brent s
799ef58667 checking in - xsd doesn't seem to properly detect duplicate pv/lv elems 2019-10-31 22:35:31 -04:00
brent s
1ea84cbac0 i...should probably be using xs:ID? 2019-10-31 18:32:56 -04:00
brent s
c4386d55d1 cleaned up, etc. 2019-10-30 03:46:33 -04:00
brent s
f0d93658d0 size converter done 2019-10-30 03:29:12 -04:00
brent s
f96c815d8d checking in before i restructure some stuff 2019-10-29 22:37:36 -04:00
brent s
af2cd9dd0e gorram it, had to write my own md superblock parser. 2019-10-29 17:43:18 -04:00
brent s
4cdd61da7b adding partition flags 2019-10-29 15:42:09 -04:00
brent s
3a6e8843fe added support for partition flags in config, need to add in-code 2019-10-29 01:01:31 -04:00
brent s
036dd24098 gorram it pycharm, stop warning me about this gorram dollar sign. it doesn't need to and shouldn't be escaped in XSD pattern expressions. 2019-10-28 14:11:35 -04:00
brent s
837d7a4703 jthan is whining about adding him to acknowledgments 2019-10-28 11:39:25 -04:00
brent s
6519ce2f19 make some small changes 2019-10-28 06:05:57 -04:00
brent s
4527f1de91 fixing some regex escapes 2019-10-28 03:44:56 -04:00
brent s
313f217b36 xml/xsd revamp complete 2019-10-28 03:40:26 -04:00
brent s
7f1bbc5022 checking in some XSD work 2019-10-28 01:26:31 -04:00
brent s
9dada73cf0 whew. finally done block.py.
the msdos table primary/extended/logical thing was a pain but the
logic wasn't too bad.
2019-10-26 02:52:47 -04:00
brent s
305a0db34f checking in some stuff... i'm going to rework how i do the disk init to ALWAYS use freshDisk(). 2019-10-22 14:34:39 -04:00
brent s
108588827a still doing some work but checking in what i have so far 2019-10-09 07:18:10 -04:00
brent s
3ca56d7b5c man. some major restructuring, and envsetup.py is a kinda neat hack. 2019-09-30 22:08:37 -04:00
brent s
7a2e66f1a2 manual update 2017-09-02 23:01:39 -04:00
brent s
addd1cb65a updated todo 2017-08-20 04:33:15 -04:00
brent s
ad0b36201b documentation bug 2017-07-27 14:40:24 -04:00
brent s
56cddb593a updating docs, unnecessary rm 2017-06-20 18:00:56 -04:00
brent s
aea4f1b8e3 aif-config is... done? 2017-05-15 12:38:10 -04:00
brent s
372b51b1a6 holy cats. xml generation's almost done 2017-05-15 02:47:04 -04:00
brent s
3f8c626fca changing size attrib to stop 2017-05-15 02:46:24 -04:00
brent s
d6f4548b88 client's coming along well, and have a working expect script to automate testing. next up, actual XML generation and writing it out 2017-05-14 12:07:39 -04:00
brent s
4172111fcd hoo man. heads up, those password hashes are all just "test" 2017-05-14 01:21:15 -04:00
brent s
abaf931f37 having a view function is stupid, and cleaning up some things with the validation... next up, actually creating the XML (and handle converting from JSON, but that'll be easy to parse since it should be in the same format as the dict) 2017-05-13 08:11:59 -04:00
brent s
c2e6fe1a04 debugging some verifying errors... 2017-05-13 07:27:58 -04:00
brent s
e2f7b29287 okay. opts done. need to work on the other functionality now. still untested. 2017-05-13 06:06:53 -04:00
brent s
ba9f1df347 ALMOST done... the conf-gathering part. the rest should be a breeze compared to this tedious nonsense. 2017-05-13 03:59:31 -04:00
brent s
07d1efb607 check-in 2017-05-12 23:00:17 -04:00
brent s
0b971e7b4f updating TODO 2017-05-11 23:30:41 -04:00
brent s
094623f710 commiting sample JSON input file fir aif-config.py 2017-05-11 23:27:22 -04:00
brent s
cdc77545ea version bump for docs 2017-05-11 21:26:25 -04:00
brent s
74a3b35a16 update docs to use unified categorized project 2017-05-11 21:13:08 -04:00
brent s
9aa8061018 typo 2017-05-11 20:33:52 -04:00
brent s
29f6761017 config tool's sort of done. still need to actually generate xml from the conf dict and write to a file, then handle the other operations 2017-05-11 18:46:36 -04:00
fd8b26eb48 don't need these 2017-05-09 10:17:29 -04:00
brent s
75f5f4a46d beginnings of aif-config tool 2017-05-09 08:17:07 -04:00
brent s
c16e365b04 updating kernel patch reference link 2017-05-08 12:05:14 -04:00
brent s
bbb37c3c29 beginnings of a conf generator 2017-05-07 23:50:11 -04:00
brent s
479c6e65bc 15:37:38 < jthan> you should use say, not print.
15:37:43 < r00t^2> and why is that?
15:37:50 < jthan> get rid of your ugly \n
15:37:52 < jthan> saves space
15:37:54 < jthan> say is shorter
15:37:56 < jthan> no \n
15:37:57 < jthan> win win win
15:38:04 < r00t^2> lol, fucking fine
15:38:18 < jthan> 1337 perl
15:38:23 < jthan> jthan's specialty
2017-05-07 15:39:02 -04:00
brent s
af5944bfea quick update to docs 2017-05-07 14:40:44 -04:00
brent s
0a88b4347c let's kick the example bdisk.ini to match the released 2017-05-07 13:23:20 -04:00
brent s
9278cd016a whoops, this is important 2017-05-07 13:08:46 -04:00
brent s
0a99af21ee i think i'm all ready for a 1.0 release... 2017-05-07 12:55:30 -04:00
brent s
a28121cbab fixing that formatting a bit 2017-05-07 11:27:14 -04:00