Open amandahla opened 10 months ago
I suspect that this happens because of this iglob() call: if the path matches no files, the iterator is 'empty' and never enters the subsequent loop. That is, the behavior is an accidental consequence of the implementation.
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2943.
This message was autogenerated
Bug Description
While building a rock for Synapse charm, there is a configuration file that should be dumped in a specific directory with a specific name by using the "organize" keyword. Its name was changed in the repository but not in the rockcraft.yaml. This went unnoticed until deploying the charm because the rock was successfully built but the file was not there.
To Reproduce
This is an example of the part that was expected to raise an error since the source file in "organize" does not exist.
not-found-login_ubuntu.py is a file that does not exist.
part yaml
Relevant log output