Date
1 - 3 of 3
dev-manual: differing versions of same recipe in different priority layers?
Robert P. J. Day
in the YP dev manual, section 3.1.6, there is a maddeningly vague
note:
"It is possible for a recipe with a lower version number PV in a layer
that has a higher priority to take precedence."
so does it take precedence or not? just saying it's "possible"
doesn't clarify it for the reader.
rday
note:
"It is possible for a recipe with a lower version number PV in a layer
that has a higher priority to take precedence."
so does it take precedence or not? just saying it's "possible"
doesn't clarify it for the reader.
rday
Leon Woestenberg
Hello Robert,
On Thu, Feb 13, 2020 at 3:14 PM rpjday@...
<rpjday@...> wrote:
(I remember more sentences like this exist, that especially for
non-English speakers might be difficult to interpret.)
My proposal would be:
If a recipe exists in multiple layers, the recipe with highest PV
*from the layer with the highest priority* is selected.
Be aware that recipes with the same PN in lower priority layers are
thus not selected, *even if their PV is higher*.
Regards,
Leon.
On Thu, Feb 13, 2020 at 3:14 PM rpjday@...
<rpjday@...> wrote:
in the YP dev manual, section 3.1.6, there is a maddeningly vagueYes, this should be re-worded. This is actually a FAQ.
note:
"It is possible for a recipe with a lower version number PV in a layer
that has a higher priority to take precedence."
so does it take precedence or not? just saying it's "possible"
doesn't clarify it for the reader.
(I remember more sentences like this exist, that especially for
non-English speakers might be difficult to interpret.)
My proposal would be:
If a recipe exists in multiple layers, the recipe with highest PV
*from the layer with the highest priority* is selected.
Be aware that recipes with the same PN in lower priority layers are
thus not selected, *even if their PV is higher*.
Regards,
Leon.
Robert P. J. Day
On Thu, 13 Feb 2020, Leon Woestenberg wrote:
number. i'll submit something for that.
rday
Hello Robert,i'm betting i'm going to find all of them eventually. :-)
On Thu, Feb 13, 2020 at 3:14 PM rpjday@...
<rpjday@...> wrote:in the YP dev manual, section 3.1.6, there is a maddeningly vagueYes, this should be re-worded. This is actually a FAQ.
note:
"It is possible for a recipe with a lower version number PV in a layer
that has a higher priority to take precedence."
so does it take precedence or not? just saying it's "possible"
doesn't clarify it for the reader.
(I remember more sentences like this exist, that especially for
non-English speakers might be difficult to interpret.)
My proposal would be:right ... higher layer priority takes precedence over higher version
If a recipe exists in multiple layers, the recipe with highest PV
*from the layer with the highest priority* is selected. Be aware
that recipes with the same PN in lower priority layers are thus not
selected, *even if their PV is higher*.
number. i'll submit something for that.
rday