MarketSquare / MarketSquare/robotframework-sherlock

[Feature] Deprecate Unused User Defined keywords

Open
#48 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
14
Forks
1
PR merge metrics
No merged PRs in 30d

Description

*Feature idea*
It would be very useful if you could net jet remove, but deprecate unused User Defined keywords with ```[documentation] *DEPRECATED on ${date}* ```

Like: https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#deprecating-keywords

That would also allow for a report printing a table on when what keyword was removed and even automatic removal when a keyword has been deprecated for x time.
Or even setting up a auto clean policy

```Deprecation report
| Keyword name | deprecation date | auto-remove date |
```

This would've saved me so much work in maintaining my user defined keywords

Send me a message if you like more input!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked Robot Framework User Guide section on deprecating keywords and how this inspector currently handles user-defined keywords. Define the scope for marking unused keywords, producing a deprecation report, and applying an optional automatic-removal policy; the issue does not identify files, tests, or an exact completion criterion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.