Ticket #2281 (closed enhancement: wontfix)

Opened 5 years ago

Last modified 4 years ago

Validate references in configuration file

Reported by: khali Owned by: somebody
Priority: minor Milestone: 3.1.0
Component: libsensors Version: 3.0.0
Keywords: Cc:

Description

If would be great if we could validate the references found in the configuration file at parsing time rather than at runtime. For example, if a compute statement makes use of a non-existent feature, we should be able to tell the user right away.

Change History

Changed 5 years ago by khali

  • milestone changed from 3.0.1 to 3.0.2

Changed 5 years ago by khali

  • milestone changed from 3.0.2 to 3.0.3

Changed 5 years ago by khali

  • milestone changed from 3.0.3 to 3.0.4

Changed 4 years ago by khali

  • status changed from new to closed
  • resolution set to wontfix

Honestly, I can't really remember what I had in mind when opening this ticket. I am no longer sure what benefit there would be to validate the references earlier. If any reference is wrong, the user will know soon enough, and I doubt we want to plain fail the library initialization in that case anyway. I am reluctant to add code to libsensors if we can't see a benefit in doing so, so let's just put this idea into deep sleep for now.

Note: See TracTickets for help on using tickets.