manifest fails if singleton type is first in multiline require #34
Labels
No Label
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#34
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Works if require is oneliner (
require='__cdistmarker __file/tmp/foo' __file /tmp/bar
) or move singleton type to second in multiline require.mentioned in commit
a4a3b98568
closed via merge request !930
mentioned in commit
c17541f24c
mentioned in merge request !930
mentioned in commit db7c56552a2cce8af010b17d2e9f8def2fc27d94
mentioned in commit 8d3c18cd48145bf22361f5dfaa1ca006ce841517
We should support whatever
sh
supports - and as it looks like not only spaces do the job, so we should mimic that.@ander This is a question for @nico && @steven.
yes, works as oneliner.
can we officially support splitting on
(\s|\n)
? 🙏@ander Yes,
require
splits on spaces, not newline. Does it work with spaces?I don't think multiline requires are supported.
The emulator only splits requirements by
" "
: https://code.ungleich.ch/ungleich-public/cdist/-/blob/fe193eca/cdist/emulator.py#L392