Add dry run option #309
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#309
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Created by: telmich
Similar to patch, use -n, --dry-run.
Created by: dheule
I think now it's ok to close this bug ...
Created by: dheule
I have tested it (manual), seems to work.
Ok, i will try my best for unittests next week ...
Daniel
2014-02-09 18:57 GMT+01:00 Nico Schottelius notifications@github.com:
Created by: telmich
I think it's only the command line option that has been implemented - at
least I remember there are no unit tests for it (=it does not exist ;-)
and I am pretty sure I have never tested it. :-)
Just my 2 rappen from Lenzerheide,
Nico
dheule [Sat, Feb 08, 2014 at 11:45:20AM -0800]:
PGP key: 7ED9 F7D3 6B10 81D7 0EC5 5C09 D7DC C8E4 3187 7DF0
Created by: dheule
I think this issue is implemented via
-n, --dry-run Do not execute code
is this correct ? can we close this issue ?
Created by: telmich
Began code change in resolver branch in config_install.py
Created by: telmich
Implementation: Execute everything, but skip the code execution phase. Maybe a simple
if not dry_run:
self.code.run_code_remote() ... (and local)