Actions
Bug #5410
closedshell script that list all compatible .cf files should ignore non-existant directories
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
Currently, if we run list-compatible-inputs on a set of directories with one or more missing, the script outputs errors on stdout, which is used directly as the inputs for CFEngine to read, causing it to fail:
$ list-compatible-inputs 3.6 tree 30_generic_methods 80_nonexistant tree/30_generic_methods/file_ensure_block_in_section.cf tree/30_generic_methods/_classes_copy.cf /usr/bin/find: `tree/80_nonexistant': No such file or directory tree/10_ncf_internals/list-compatible-inputs: 73: tree/10_ncf_internals/list-compatible-inputs: cannot create tree/80_nonexistant/.ncf-exclude-cache-3.6: Directory nonexistent
We need the script to gracefully ignore this.
Updated by Jonathan CLARKE over 10 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Jonathan CLARKE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/ncf/pull/103
Updated by Jonathan CLARKE over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset commit:48ff1265029f6c6891dacc41a21974ee53fe2d98.
Updated by Nicolas CHARLES over 10 years ago
Applied in changeset commit:eb522dc8e34685ae68adb2703811affa4dc31877.
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset over 2 years ago
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category set to Generic methods
Actions