Deprecate __config_file type? #38

Open
opened 2021-11-20 11:25:03 +00:00 by ungleich-gitea · 2 comments

Is the __config_file type still needed? I couldn't find anything that can't be done using regular __file, too.

If so, what is the use case of __config_file?

Is the `__config_file` type still needed? I couldn't find anything that can't be done using regular `__file`, too. If so, what is the use case of `__config_file`?
Author
Owner

Would say yes, too, because it has the exact same functionality as __file. Also, it would be easier to just use __file directly instead of use the wrapper which does what the wrapped type can now do.

Would say yes, too, because it has the exact same functionality as `__file`. Also, it would be easier to just use `__file` directly instead of use the wrapper which does what the wrapped type can now do.
Author
Owner

there were times when __file did not have --onchange.

this has changed.

there are 23 instances of __config_file, basically doable with sed oneliner 🙏

but jokes aside, every type should be manually checked and yes, then we can deprecate it.

there were times when `__file` did not have `--onchange`. this has changed. there are 23 instances of `__config_file`, basically doable with `sed` oneliner :pray: but jokes aside, every type should be manually checked and yes, then we can deprecate it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist#38
No description provided.