Re: Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode)

2017-07-04 Thread Guillem Jover
Hi! On Thu, 2017-06-29 at 13:58:39 +0100, Ian Jackson wrote: > Paul Wise writes ("Re: Declarative packaging (Was: Re: Intended MBF: > maintainer scripts not using strict mode)"): > > IIRC last time we discussed this, the recommendation was to set an > > environm

Re: Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode) [and 1 more messages]

2017-07-03 Thread Ian Jackson
27;s cooperation. The extensions' users need to (pre-)Depend on the extension and the relevant dpkg version. Michael Biebl writes ("Re: Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode)"): > systemd provides a facility called systemd-sysusers

Re: Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode)

2017-07-01 Thread Michael Biebl
Am 01.07.2017 um 17:25 schrieb Sean Whitton: > On Wed, Jun 28, 2017 at 06:34:01PM +0200, Michael Biebl wrote: >> systemd provides a facility called systemd-sysusers which allows to >> describe system user accounts declaratively. Maybe we could leverage that. >> >> https://www.freedesktop.org/softw

Re: Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode)

2017-07-01 Thread Sean Whitton
Hello, On Wed, Jun 28, 2017 at 06:34:01PM +0200, Michael Biebl wrote: > Am 27.06.2017 um 09:34 schrieb Niels Thykier: > > After this, we need something other than triggers. Triggers are great > > for regenerating global caches but they are not good at delegating > > targeted functionality out lik

Re: Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode)

2017-06-29 Thread Ian Jackson
Paul Wise writes ("Re: Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode)"): > IIRC last time we discussed this, the recommendation was to set an > environment variable that maintainer scripts could check to determine > if they should do ho

Re: Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode)

2017-06-28 Thread Paul Wise
On Thu, Jun 29, 2017 at 12:34 AM, Michael Biebl wrote: > The common expectation in Debian is, that we expect packages to be > "usable" after installation. Which means we often intermix installation > with configuration, which is typically done via maintainer scripts. > > This makes it very hard to

Re: Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode)

2017-06-28 Thread Michael Biebl
Am 27.06.2017 um 09:34 schrieb Niels Thykier: > After this, we need something other than triggers. Triggers are great > for regenerating global caches but they are not good at delegating > targeted functionality out like: > > * This package needs user X to be created dynamically with home set >

Re: Declarative packaging

2017-06-28 Thread Roland Mas
Niels Thykier, 2017-06-27 07:34:00 + : [...] > After this, we need something other than triggers. Triggers are great > for regenerating global caches but they are not good at delegating > targeted functionality out like: > > * This package needs user X to be created dynamically with home se

Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode)

2017-06-27 Thread Niels Thykier
Christoph Biedl: > [...] Niels has mentioned declarative approaches which seem > like a good idea. No idea about the status, though, and I'm interested > in details if there already are some. > > Christoph > Hi, Up till now, we deal with some easy wins by converting debhelper maintscripts t