On Sat, Nov 28, 2026 at 04:18:04PM +0900, Michael Paquier wrote:
> On Fri, Nov 27, 2026 at 04:08:43PM +0100, Laurenz Albe wrote:
>> On Fri, 2026-11-27 at 10:08 +0100, Daniel Gustafsson wrote:
>>> If we want to publish code samples we should add them to the documentation 
>>> and
>>> properly explain them there. IMHO.
>> 
>> I can agree with that.  What do you think about point b) in my message?
> 
> I kind of disagree with the point of putting code samples in the docs.
> These prove to rot and be forgotten very easily, and they're not easy
> to check.  You could add some sample module in src/test/modules/
> instead, which would make sure that the code always works, under the
> condition that it is useful for.. Tests.  Then just have the docs
> point at a wanted path in the code tree.

Yeah.  I think we should either mark it deprecated and leave it around
indefinitely (to at least indicate that we're not interested in expanding
its functionality), or move it to src/test/modules/ as you suggest.

-- 
nathan


Reply via email to