Skip to content

Extend report of deprecated object usage with possible remove date #657

@zhukovgreen

Description

@zhukovgreen

ref OAMG-3757

Add to the deprecation report the note that the functionality is deprecated since .... and it might be removed in 6 month

State before (example):

----------------------------------------
Risk Factor: medium
Title: Usage of deprecated Model "TMPTargetRepositoriesFacts" at /usr/lib/python2.7/site-packages/leapp/models/__init__.py:113
Summary: The model is temporary and not assumed to be used in any other actors.
Since: 2020-09-01
Location: /usr/lib/python2.7/site-packages/leapp/models/__init__.py:113
Near:         return cls(init_method='to_model', **data)

----------------------------------------

State after:

----------------------------------------
Risk Factor: medium
Title: Usage of deprecated Model "TMPTargetRepositoriesFacts" at /usr/lib/python2.7/site-packages/leapp/models/__init__.py:113
Summary: The model is temporary and not assumed to be used in any other actors.
Deprecated since: 2020-09-01
May get removed after: 2021-03-01
Location: /usr/lib/python2.7/site-packages/leapp/models/__init__.py:113
Near:         return cls(init_method='to_model', **data)

----------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions