devcurmudgeon / ybd

yaml build deploy
GNU General Public License v2.0
6 stars 15 forks source link

Stratum chunk desc/chunk file name miss-matches cause problems #223

Open leeming opened 8 years ago

leeming commented 8 years ago

In the event that names do not match from your stratum and chunk morph files, unexpected things may happen, but likely to raise a misleading exception. Issue is reported to the user when running this line and receiving a NoneType

Example stratum ( abc.morph)

name: abc kind: stratum chunks:

name: bar kind: chunk build-commands:

devcurmudgeon commented 8 years ago

if you want to error on this, set check-definitions: exit in config. Unfortunately there seem to be quite a few examples of this in baserock definitions master, so i think we should not exit by default until those are fixed.