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

Re: change proposal for handling of Depends: field in task files



Hi Petter,

On  Sa 05 Aug 2017 11:52:57 CEST, Petter Reinholdtsen wrote:

[Ole Streicher]
The number of blends is countable: I personally like the idea to first
replace all "Depends" with "Recommends" in all tasks files, and then
change the behaviour of the "blends-dev" package.

We should also introduce a format identifier to make future changes
easier; so my proposal would be:

1. We write a (maybe preliminary) format description and publish it
under a well-defined URL

2. We create bugs for all known build-dependencies of blends-dev to
2.1 'sed s/^Depends:/Recommends:/ -i tasks/*`
2.2 insert a "Format: https://blends.d.o/format"; as first line to
    indicate that the new format is used

3. Once all switched (should be not that difficult, due to the
 straightforward change), we upload a new version of blends-dev that
 checks the format id and
 a) either exits with error if it is not there or a wrong one
 b) prints a depretation warning and proceeds with the old style in that
    case
 Because of the trivial change, I would prefer a).

What about doing it the other way around, and change behaviour of
blends-dev for the tasks with a format line and leave the old behaviour

The issue about the tasks files is that they look like debian/control, but behave entirely differently.


as it is for those without it?  This will be more like debhelper
compatiblity levels, and we can handle many different behaviours without
breaking existing packages.

We break and immediately fix existing packages. I have already started downgrading various packages in debian-edu task files from Depends: to Recommends:.

For the other blends, afaict Andreas is open to downgrading all Depends: to Recommends:, too. Problematic are blend packages that exist on the planet and are not in Debian.

Is anyone here maintaining blend packages that have not been uploaded to Debian? If so, please speak up.

This way the debian-edu package could set 'Format: .../format/2' or
similar to get the new behaviour, and the others might migrate at their
own leisure.

If we want to support blend packages outside of Debian, we probably have to had something like that to the header.

Greets,
Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgp34rWIXJKfA.pgp
Description: Digitale PGP-Signatur


Reply to: