[Bro-Dev] [JIRA] (BIT-1474) Improve signaling of deprecated code

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Tue Sep 8 07:14:00 PDT 2015

    [ https://bro-tracker.atlassian.net/browse/BIT-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22001#comment-22001 ] 

Jon Siwek commented on BIT-1474:

I had already done "&deprecated" (as part of 2.4 I believe).  But don't think I allowed it to be assigned an expression which could contain more info or had a global flag to disable the warnings.  (Just trying to provide input on what's already available, but both those ideas do seem like useful features to add).

> Improve signaling of deprecated code
> ------------------------------------
>                 Key: BIT-1474
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1474
>             Project: Bro Issue Tracker
>          Issue Type: New Feature
>          Components: Bro
>    Affects Versions: git/master
>            Reporter: Matthias Vallentin
>              Labels: language
> Based on discussion in BIT-1411, we need a better mechanism for deprecating code. In particular, Vern suggested the attribute {{&deprecate=expr}} syntax where {{expr}} would be an expression that evaluates at the point of use of the deprecated construct and would show the user a hint on how to migrate.

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list