On 2020-08-27 at 20:44 +0200, Joachim Breitner wrote:
> I consider this (not having to manually run the rebuild script)
> central functionality of local-apt-repository: The goal is that the
> user has to worry about nothing but dropping apt files in the right
> directory. I only know how to achieve this easily with systemd.

To be fair, I hadn't noticed the magic behavior.

This part is simple on this package just because systemd is doing the
heavy lifting. It would be possible to by using for instance fswatch
ran from an init daemon, but it isn't too clean (plus, it seems to loop
by also detecting accesses by rebuild).

Probably the best way would be to hook apt update to perform the
rebuild there if needed.

Regards

Reply via email to