Skip to contentSkip to conversation

dev-manual: differing versions of same recipe in different priority layers?

DISCUSSION [email protected] 2 participants 3 messages Feb 13, 2020

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hello Robert,

Quoted 9 lines · On Thu, Feb 13, 2020 at 3:14 PM [email protected] <[email protected]>…

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.

Yes, this should be re-worded. This is actually a FAQ. (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.

#2 lore raw
Quoted 10 lines · Leon Woestenberg

Hello Robert,

Quoted 6 lines · On Thu, Feb 13, 2020 at 3:14 PM [email protected] <[email protected]>…

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."

Quoted 6 lines
Quoted 3 lines

so does it take precedence or not? just saying it's "possible"
doesn't clarify it for the reader.

Yes, this should be re-worded. This is actually a FAQ. (I remember more sentences like this exist, that especially for non-English speakers might be difficult to interpret.)

i'm betting i'm going to find all of them eventually. :-)

Quoted 6 lines

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*.

right ... higher layer priority takes precedence over higher version
number. i'll submit something for that.

rday