[Simple-cdd-devel] Bug#882595: Support relative paths for all_extras option

Jack Henschel jackdev at mailbox.org
Fri Nov 24 12:12:39 UTC 2017


Package: simple-cdd
Version: 0.6.5
Tags: patch

Hi,

after spending an entire afternoon figuring out why simple-cdd wasn't including my extra files, I stepped through the code and noticed that simple-cdd assumes paths in PROFILE.extras to be absolute (and also fails silently, if the files aren't there...)

Because all other file references (e.g. "local_packages") are relative, this is extremely unintuitive. The fact that this behavior is undocumented doesn't help, either.

Therefore, I propose files beginning with a '/' to be treated as absolute, otherwise prepend the working directory of simple-cdd.

Patch attached.

Greetings
Jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-relative-paths-for-all_extras-and-do.patch
Type: text/x-diff
Size: 1759 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20171124/7eda5116/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20171124/7eda5116/attachment.sig>


More information about the Simple-cdd-devel mailing list