Commit Graph

463 Commits

Author SHA1 Message Date
Vladislav Nepogodin
2b59e2ef71
🚧 CI: add missing gucc unit tests 2024-07-11 03:48:00 +04:00
Vladislav Nepogodin
464e9b3388
👷 gucc: add helper function to fetch file from url 2024-07-11 03:44:16 +04:00
Vladislav Nepogodin
4a6650b869
👷 enable cpr for non dev env builds 2024-07-11 01:13:23 +04:00
Vladislav Nepogodin
761a28148d
🚧 gucc: add missing logger header 2024-07-09 03:38:30 +04:00
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
b3c3527d32
👷 get env packages from toml file parsed by gucc 2024-07-09 03:17:41 +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
2b708b3888
👷 fstab: don't provide options for fstab gen 2024-07-06 17:55:16 +04:00
Vladislav Nepogodin
ec7b6f47c6
🧹 move hwclock into gucc 2024-07-06 02:52:46 +04:00
Vladislav Nepogodin
742022ec5c
🧹 tui: redundant header 2024-07-06 02:02:52 +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
bb43ad5def
🧹 remove performance menu with functions its using 2024-07-04 11:03:26 +04:00
Vladislav Nepogodin
41a7a895aa
🧹 move systemd service enable into gucc 2024-07-04 10:59:18 +04:00
Vladislav Nepogodin
863b0e7349
♻ update deps 2024-07-04 00:39:31 +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
7bcd6bba4c
🧹 utils: modernize floating point typetrait 2024-07-03 01:32:00 +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
4a737fdf11
🧹 use inline constexpr in headers instead of static constexpr 2024-07-01 16:23:04 +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
107ec918f4
🧹 utils: apply clang-format 2024-07-01 15:58:42 +04:00
Vladislav Nepogodin
42f3e18ca6
🧹 gucc: rearrange and explicitly initialize Partition members 2024-07-01 15:53:04 +04:00
Vladislav Nepogodin
42138cf365
🧹 utils: refactor templates in C++20-style 2024-07-01 15:52:11 +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