Well, it’s either making the package binNMUable (using generic php-fpm test 
dependency) or recording the exact dependencies (using php7.3-fpm) or 
dynamically generating debian/tests/control like I do for php-defaults (which 
requires much more complex system).

But somehow for this simple package I would just prefer to just bite the bullet 
once in a while, do binNMU and then suffer it through… My experience tells me 
that “the simpler the better” even if it’s not perfect. Perfect but complex 
tend to break in more mysterious way...

If you can come up with something smarter, then I am sure the maintainer of the 
package would be all ears.

Ondrej
--
Ondřej Surý
ond...@sury.org



> On 9 Nov 2018, at 19:33, Paul Gevers <elb...@debian.org> wrote:
> 
> Hi Ondřej,
> 
> On 09-11-18 18:39, Ondřej Surý wrote:
>> The versioned depends is needed only for autopkgtests and not for the 
>> package itself. So, I think the dependency is useless there.
> 
> I misunderstood you then. Still, if a test case of a package requires a
> different specific (minimum) version of some other package than the
> package itself, the debian/tests/control file could (and in my opinion
> should) document that. How could our migration software add the right
> triggers otherwise?
> 
> Paul
> 
>> 
>> Ondrej
>> --
>> Ondřej Surý <ond...@sury.org>
>> 
>>> On 9 Nov 2018, at 10:37, Paul Gevers <elb...@debian.org> wrote:
>>> 
>>> Hi,
>>> 
>>> Hmm, I should read my backlog before replying.
>>> 
>>>> On 08-11-18 22:53, Ondřej Surý wrote:
>>>> But php-defaults and rss-bridge needs to go together.
>>> 
>>> That is ok, but where is this coded in the dependencies?
>>> 
>>>> I thought that runtime detection of default PHP version in autopkgtest 
>>>> would be overkill, so the socket path is hardcoded at the build-time.
>>> 
>>> I don't consider runtime detection an issue here. The issue is that the
>>> dependency system isn't notified of the relation AFAICT. Options I see
>>> are that either rss-bridge needs to tell which version of php it needs,
>>> or php-defaults needs to add a versioned breaks on rss-bridge.
>>> 
>>> Paul
>>> 
>> 
> 

Reply via email to