Commit Graph

14 Commits

Author SHA1 Message Date
hsjobeki
341f444fa0 revert bd3861c580
revert Merge pull request 'Remove clanModules/*' (#4202) from remove-modules into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4202

See: https://git.clan.lol/clan/clan-core/issues/4365

Not all modules are migrated.
If they are not migrated, we need to write migration docs and please display the link to the migration docs
2025-07-15 17:51:36 +00:00
pinpox
0e53499f40 Remove clanModules 2025-07-15 11:53:32 +02:00
pinpox
27dc5306ad Remove services and add deprecation warning 2025-06-18 13:18:25 +02:00
DavHau
a279c2b48f iwd: fix deprecation spam
use config.warnings instead of lib.warn
2025-06-03 19:38:10 +07:00
DavHau
6422e77244 iwd: fix typo in deprecation message 2025-05-31 17:58:44 +07:00
DavHau
9122199b2d deprecate iwd module gracefully 2025-05-31 17:46:07 +07:00
a-kenji
287cd4b42a clanModules/iwd: Migrate from facts to vars 2025-04-29 13:55:45 +02:00
Qubasa
434e38779e clan-cli: treefmt fix to iwd module 2025-03-07 14:26:37 +01:00
Guilhem Saurel
a135510047 Fix iwd space handling
ref man iwd.network:

> Key-value lines contain a setting key, an equal sign and the value of
> the setting. Whitespace preceding the key, the equal sign or the value,
> is ignored. The key must be a continuous string of alphanumeric and
> underscore characters and minus signs only. The value starts at the
> first non-whitespace character after the first equal sign on the line
> and ends at the end of the line and must be correctly UTF-8-encoded.
> […]
> String values, including file
> paths and hexstrings, are written as is except for five characters that
> may be backslash-escaped: space, \t, \r, \n and backslash itself.
> The latter three must be escaped. A space character must be escaped if
> it is the first character in the value string and is written as \s.

I guess this is what is expected then:
```
$ echo -e "  \t \r \\ "
 \

$ echo -e "  \t \r \\ " | sed "s=\\\=\\\\\\\=g;s=\t=\\\t=g;s=\r=\\\r=g;s=^ =\\\s="
\s \t \r \\
```
2025-03-07 14:26:37 +01:00
Qubasa
8c8e6ac65f Fix iwd space handling 2024-10-16 12:13:51 +07:00
Guilhem Saurel
5046bfef10 iwd: add AutoConnect option 2024-10-04 15:39:13 +00:00
Johannes Kirschbauer
978c3c21d4 Inventory/modules: use explicit roles only 2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
72f79dee37 Inventory: docs improvements 2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
da25afd978 API: init iwd clanModule inventory 2024-09-02 15:06:55 +02:00