python-tuf icon indicating copy to clipboard operation
python-tuf copied to clipboard

Document a deprecation strategy

Open MVrachev opened this issue 3 years ago • 2 comments

Description of issue or feature request: With the release of python-tuf 1.0.0 and the soon integration of python-tuf inside Warehouse we should decide and document what will our depreciation strategy be.

For example: in my pr #1948 @jku has suggested that we should deprecate DelegatedRole.is_delegated_path() API call. I have a couple of questions:

  1. How do we document this in the function docstring?
  2. Where else do we want to document the depreciation?
  3. How many versions of python-tuf we will keep the deprecated method before its removal?
  4. Maybe it will be good to have the process to create an issue for each API call that we want to deprecate and that way we can keep track of the APIs we want to deprecate?

Current behavior: No depreciation strategy.

Expected behavior: Define one and maybe document it in an ADR and start following it.

MVrachev avatar Apr 14 '22 11:04 MVrachev

On point 4 - having a separate issue about the deprecation of an API will be like an announcement and will give the users the opportunity to complain, ask for more versions to support the API, and a place for a discussion about when should this API be removed.

MVrachev avatar Apr 14 '22 11:04 MVrachev

Related to #1127

ivanayov avatar Apr 20 '22 09:04 ivanayov