cpb- / yocto-cooker

Meta buildtool for Yocto Project based Linux embedded systems
GNU General Public License v2.0
43 stars 22 forks source link

FATAL: menu file validation failed #113

Closed gall1 closed 2 years ago

gall1 commented 2 years ago

Cooker cook command handle a fatal error with ssh://git@gitlab.fdimatelec.fr:1086/mirrors/openembedded/meta-openembedded.git path, see below:

FATAL: menu file validation failed: 'ssh://git@gitlab.fdimatelec.fr:1086/mirrors/openembedded/meta-openembedded.git' is valid under each of {'type': 'string', 'pattern': '.*@.*:.*\\.git$'}, {'type': 'string', 'pattern': '^(https?|ssh|git)://.*$'}

Failed validating 'oneOf' in schema['properties']['sources']['items']['properties']['url']:
    {'oneOf': [{'pattern': '^(https?|ssh|git)://.*$', 'type': 'string'},
               {'pattern': '.*@.*:.*\\.git$', 'type': 'string'}]}

On instance['sources'][10]['url']: