Commit Graph

54 Commits

Author SHA1 Message Date
Vladislav Nepogodin
8a81f5fada
🚧 gucc: add missing logger impl 2024-07-09 03:37:04 +04:00
Vladislav Nepogodin
0f722ea6fd
🚧 gucc: dont hardcode library type 2024-07-09 03:33:39 +04:00
Vladislav Nepogodin
12ca5d1303
👷 set gucc logger properly 2024-07-09 03:32:07 +04:00
Vladislav Nepogodin
b0815bd475
👷 gucc: improve test coverage for crypttab 2024-07-09 01:41:12 +04:00
Vladislav Nepogodin
6559b1412b
👷 gucc: add parser for net/package profiles 2024-07-09 01:35:01 +04:00
Vladislav Nepogodin
ec7b6f47c6
🧹 move hwclock into gucc 2024-07-06 02:52:46 +04:00
Vladislav Nepogodin
36b205a463
🧹 gucc: refactor fstab 2024-07-06 02:01:17 +04:00
Vladislav Nepogodin
5a7a93d033
🚧 fix meson build 2024-07-06 01:59:50 +04:00
Vladislav Nepogodin
2a88ecd313
🧹 move locale get into gucc 2024-07-06 01:41:00 +04:00
Vladislav Nepogodin
4b35d00724
👷 gucc: improve test coverage for locale 2024-07-06 01:29:50 +04:00
Vladislav Nepogodin
f8fdeb28ea
👷 gucc: improve test coverage for mtab 2024-07-05 21:55:50 +04:00
Vladislav Nepogodin
7ee35f13dc
🧹 move umount partitions and zfs zpool export into gucc 2024-07-05 17:54:38 +04:00
Vladislav Nepogodin
60c052ea48
🧹 gucc: remove unused argument in tests 2024-07-05 02:45:52 +04:00
Vladislav Nepogodin
828bd8bec0
👷 gucc: improve test coverage for initcpio 2024-07-05 02:44:07 +04:00
Vladislav Nepogodin
48ca98d6c4
👷 gucc: add mtab parser 2024-07-05 02:43:33 +04:00
Vladislav Nepogodin
4fb93cd82d
👷 gucc: add helper functions for indexing viewable ranges 2024-07-05 01:56:16 +04:00
Vladislav Nepogodin
7c75e4600d
🧹 move autologin into gucc 2024-07-04 11:34:25 +04:00
Vladislav Nepogodin
cfd260855c
👷 gucc: add option to create system group 2024-07-04 11:32:57 +04:00
Vladislav Nepogodin
41a7a895aa
🧹 move systemd service enable into gucc 2024-07-04 10:59:18 +04:00
Vladislav Nepogodin
b6d5c2760e
👷 gucc: rewrite pacmanconf to reuse file content
don't make extra memory allocations:
- don't allocate vector of strings to find locations
- don't convert that vector of strings into new string

previously:
```
heaptrack stats:
	allocations:          	69
	leaked allocations:   	0
	temporary allocations:	4
```

after:
```
heaptrack stats:
	allocations:          	32
	leaked allocations:   	0
	temporary allocations:	5
```
2024-07-04 00:27:10 +04:00
Vladislav Nepogodin
1e6bc8bab2
🧹 gucc: refactor initcpio
use string_view literals instead of raw string literals
use make_split_view instead of allocating memory
2024-07-03 01:41:27 +04:00
Vladislav Nepogodin
f384932b58
🧹 gucc: refactor initcpio
use ranges instead of explicitly defining begin..end
move what we can move
2024-07-03 01:30:19 +04:00
Vladislav Nepogodin
1ef76ed7ba
🚧 gucc: fix systemd-boot config gen cmd 2024-07-02 21:38:11 +04:00
Vladislav Nepogodin
5c0c4aa3ec
🧹 move grub installation into gucc 2024-07-02 21:37:39 +04:00
Vladislav Nepogodin
591015e1e3
🧹 gucc: move contains helper into string_utils 2024-07-02 02:20:09 +04:00
Vladislav Nepogodin
24a250dd7f
👷 gucc: add grub config gen from provided struct 2024-07-02 02:04:13 +04:00
Vladislav Nepogodin
9c8f8f241e
🧹 move systemd-boot installation into gucc
needs refactor to be testable
2024-07-01 22:21:13 +04:00
Vladislav Nepogodin
5d53d8b923
🚧 gucc: properly initialize in tests 2024-07-01 17:07:12 +04:00
Vladislav Nepogodin
fc2c8ff3ce
🧹 gucc: refactor file creation for overwrite 2024-07-01 16:18:26 +04:00
Vladislav Nepogodin
a527dc7edd
🧹 gucc: apply clang-format 2024-07-01 16:02:22 +04:00
Vladislav Nepogodin
42f3e18ca6
🧹 gucc: rearrange and explicitly initialize Partition members 2024-07-01 15:53:04 +04:00
Vladislav Nepogodin
3facb2a41c
👷 gucc: add crypttab generation based on provided partitions 2024-07-01 15:51:16 +04:00
Vladislav Nepogodin
f5f8886e00
🧹 gucc: move partition struct into own header 2024-06-30 23:50:26 +04:00
Vladislav Nepogodin
a8af65e38b
🚧 gucc: add btrfs on luks test case for fstab 2024-06-30 22:54:58 +04:00
Vladislav Nepogodin
8b404747b6
👷 gucc: add fstab generation based on provided partitions 2024-06-30 03:49:47 +04:00
Vladislav Nepogodin
aba9a8d488
🧹 move fs/mountpoint utils into gucc 2024-06-29 21:05:58 +04:00
Vladislav Nepogodin
61317a83a3
🧹 move setting locale into gucc 2024-06-29 19:07:44 +04:00
Vladislav Nepogodin
b5b307ee49
🧹 gucc: refactor setting user password 2024-06-29 18:46:53 +04:00
Vladislav Nepogodin
606fc3e6af
🧹 move setting root password into gucc 2024-06-29 18:33:09 +04:00
Vladislav Nepogodin
0a70f0a9dd
🧹 move setting hostname into gucc 2024-06-29 17:32:17 +04:00
Vladislav Nepogodin
32393932e9
🧹 move user creation into gucc 2024-06-29 03:39:55 +04:00
Vladislav Nepogodin
97be1f3fc4
🧹 move btrfs subvolumes mount logic into gucc 2024-06-27 18:44:17 +04:00
Vladislav Nepogodin
9e011fc276
🧹 move btrfs subvolumes creation into gucc 2024-06-27 17:07:56 +04:00
Vladislav Nepogodin
b54a557e76
🧹 gucc: refactor with clang-tidy 2024-06-27 01:26:57 +04:00
Vladislav Nepogodin
c5d7edb870
🧹 zfs: move some functions into gucc 2024-06-27 01:10:32 +04:00
Vladislav Nepogodin
61b8c526d6
🧹 luks: move initramfs gen into gucc 2024-06-27 00:27:06 +04:00
Vladislav Nepogodin
062323223e
🧹 move generic arch-chroot into gucc 2024-06-27 00:23:09 +04:00
Vladislav Nepogodin
0dec883c88
🧹 move luks setup key into gucc 2024-06-26 22:56:37 +04:00
Vladislav Nepogodin
5ff8b590fc
🧹 move luks into gucc 2024-06-26 21:14:24 +04:00
Vladislav Nepogodin
51a6f7897a
🚧 fix meson build 2024-06-26 16:55:12 +04:00