tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Structuring configuration file versioning support in pkgsrc



On Wed, May 23, 2018 at 02:17:02PM +0200, Keivan Motavalli wrote:
> if no support for pulling configuration targeting the machine role is
> needed during package installation or upgrade phases (anyone else has
> feedback?), then it makes sense to keep the whole remote functionality
> out of packages and pkgsrc, delegating it, backups, interactive merging
> to a separate tool which I planned to write anyway. This way I would
> avoid having to write duplicate code in pkginstall/pkgtasks and the tool.

That's kind of my point. You don't have to do all the (complicated)
logic in pkginstall/pkgtasks. It's perfectly reasonable to depend on an
external tool for this and just use the +INSTALL/+DEINSTALL hooks to
integrate the calls.

Joerg


Home | Main Index | Thread Index | Old Index