libelektra icon indicating copy to clipboard operation
libelektra copied to clipboard

Have a way to say that all errors in a function should be emitted as a warning

Open atmaxinger opened this issue 3 years ago • 6 comments

We should have a way to say that all errors in a function should be emitted as a warning. This was originally proposed by @kodebach and @markus2330 in this discussion: https://github.com/ElektraInitiative/libelektra/pull/4471#discussion_r974358735

atmaxinger avatar Sep 20 '22 09:09 atmaxinger

Not necessarily just in a single function, but in a section of code, i.e. enabling/disabling a mode where all errors are converted to warnings.

kodebach avatar Sep 20 '22 11:09 kodebach

@markus2330 Do you think this issue should be offered for the FLOSS course?

flo91 avatar Oct 04 '22 20:10 flo91

No, if the design is not decided yet it doesn't make sense to offer it for FLOSS.

markus2330 avatar Oct 09 '22 16:10 markus2330

@atmaxinger is this still relevant? Can we close this?

markus2330 avatar Apr 05 '23 09:04 markus2330

I think it is kind of relevant still, yes. But not of very high importance. It's probably enough if we provide a semi-official API to set and remove such a dummy variable, as can be seen in the linked PR.

atmaxinger avatar Apr 05 '23 11:04 atmaxinger

I don't like semi-official API. Either it is part of the plugin API or not :wink:

markus2330 avatar Apr 09 '23 13:04 markus2330

I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue with the remainder of this issue. Thank you for your contributions :sparkling_heart:

github-actions[bot] avatar Apr 09 '24 01:04 github-actions[bot]

I closed this now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue. Thank you for your contributions :sparkling_heart:

github-actions[bot] avatar Apr 23 '24 01:04 github-actions[bot]