Whitespace in Artifact name silently fails

Description

When building in Yocto using a whitespace in MENDER_ARTIFACT_NAME, the build succeeds but deployments using this Artifact do not work. See the relevant mailing list topic for details.

As there could be other side-effects of allowing whitespace in the Artifact name, I propose to disallow it and failing the build if there is whitespace. We should also have a sanity check on the length (e.g. 60 chars).

We also need to update the docs with any restrictions, most notably the variable reference: https://docs.mender.io/1.1/artifacts/variables#mender_artifact_name

Affects versions

None

Environment

None

Checklist

Activity

Show:

Ole Petter OrhagenAugust 29, 2017 at 12:21 PM

eystein.maloy.stenbergAugust 10, 2017 at 2:26 PM

can you pls review and estimate if it makes sense please?

Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Fix versions

Sprint

Backlog

yes

Zendesk Support

Checklist

Created July 31, 2017 at 9:22 AM
Updated August 30, 2017 at 7:13 AM
Resolved August 30, 2017 at 7:13 AM