From: Anton Midyukov <antohami@altlinux.org>
To: Alexey Gladkov <gladkov.alexey@gmail.com>,
make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] [PATCH v1 0/9] Stop split-brain between guess and features
Date: Mon, 16 Nov 2026 07:09:36 +0300
Message-ID: <1ba615d6-eaf1-42f9-822c-aed6b4027d7e@altlinux.org> (raw)
In-Reply-To: <34123ce3-333c-4088-8e15-44b5e1b5941e@altlinux.org>
12.11.2026 19:08, Anton Midyukov пишет:
> 12.11.2026 16:55, Alexey Gladkov пишет:
>> Привет!
>>
>> Давним пунктом в моём todo было устранение архитектурного артифакта в guess и
>> features. Когда я писал код изначально, то идея была в том, что система была
>> разделена на две части: фичи, которые привносисли функционал и guess-модули,
>> которые определяли необходимость тех или иных фич и добавляли их и модули ядра,
>> если нужно. Структурно guess и features имели одинаковую структуру (config.mk,
>> rules.mk), но были полностью независимыми.
>>
>> Со временем, для features потребовался детект и автоматическое добавление. У
>> фичей стали появляться соответствующие части в guess/ диретории. Сейчас уже
>> в guess/ всего несколько модулей без однозначной ответой части в features/.
>>
>> По сути детект давно перестал работать по независимым модулям и всегда привязан
>> к фичам. А разделение на guess/ и features/ создаёт архитектурные трудности
>> детекта конфигурации.
>>
>> Этот патчет устраняет архитектурное разделение на guess/ и features/. Весь
>> детект привязан к фичам. Работа всё также разделена на два этапа (детект
>> конфигурации и создание образа), но нет отдельного типа модулей.
>>
>> Я постарался оставить полную совместимость со старой схемой и модули в guess/
>> должны работать. Также должны продолжать работать переменные AUTODETECT и
>> DISABLE_GUESS.
>>
>> Я не ожидаю, что кто-то захочет действительно ревьювить эти патчи. Я отправляю
>> их в рассылку, чтобы было удобнее сохранить и приложить измененеия.
>>
>>
>> Антон, поскольку этот патчсет может тебя затронуть напрямую, то я был бы
>> признателен за тестирование.
>>
>
> Хорошо, на выходных проверю.
>
В базовых сценариях использования проблем не обнаружил.
--
best regards, Anton Midyukov <antohami@altlinux.org>
next prev parent reply other threads:[~2026-11-16 4:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 13:55 Alexey Gladkov
2026-11-12 13:55 ` [make-initrd] [PATCH v1 1/9] mk: Introduce guess-requires primitive for feature-triggered guess modules Alexey Gladkov
2026-11-12 13:55 ` [make-initrd] [PATCH v1 2/9] guess: Unify internal state with structured guess.tsv logging Alexey Gladkov
2026-11-12 13:55 ` [make-initrd] [PATCH v1 3/9] guess: Replace recursive Make loop with bash guess-runner Alexey Gladkov
2026-11-12 13:55 ` [make-initrd] [PATCH v1 4/9] guess: Add guess-explain tool and CLI subcommand for config provenance Alexey Gladkov
2026-11-12 13:55 ` [make-initrd] [PATCH v1 5/9] guess: Convert built-in guess modules into feature guess actions Alexey Gladkov
2026-11-12 13:55 ` [make-initrd] [PATCH v1 6/9] guess: Remove legacy guess/root and update test fixtures to features/rootfs Alexey Gladkov
2026-11-12 13:55 ` [make-initrd] [PATCH v1 7/9] docs: Update guess and autodetection documentation for feature-based architecture Alexey Gladkov
2026-11-12 13:55 ` [make-initrd] [PATCH v1 8/9] guess: Cache visited sysfs device nodes during autodetection Alexey Gladkov
2026-11-12 13:55 ` [make-initrd] [PATCH v1 9/9] guess: Add device.filter support to skip non-applicable device hooks Alexey Gladkov
2026-11-12 16:08 ` [make-initrd] [PATCH v1 0/9] Stop split-brain between guess and features Anton Midyukov
2026-11-16 4:09 ` Anton Midyukov [this message]
2026-11-16 11:03 ` Alexey Gladkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1ba615d6-eaf1-42f9-822c-aed6b4027d7e@altlinux.org \
--to=antohami@altlinux.org \
--cc=gladkov.alexey@gmail.com \
--cc=make-initrd@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Make-initrd development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
public-inbox-index make-initrd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.make-initrd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git