Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flag deprecated libraries? #148

Open
seancorfield opened this issue Feb 16, 2022 · 1 comment
Open

Flag deprecated libraries? #148

seancorfield opened this issue Feb 16, 2022 · 1 comment

Comments

@seancorfield
Copy link
Contributor

This idea came from a discussion around clj-kondo -- see clj-kondo/clj-kondo#1591 -- as a way for users to become more aware that certain libraries are deprecated by their maintainers and there are often recommendations to use a different library or approach instead.

From my point of view, warning people that clj-time (clj-time/clj-time) is deprecated in favor of Java Time (via interop) would be a great first step.

In addition, warning people that depstar is deprecated (archived, in fact) in favor of tools.build would be helpful.

I'm not sure how this would fit into the reports that antq produces or where best to store a list of canonical group/artifact IDs with deprecation messages (recommending alternatives).

Note that depstar could appear with several different group IDs: com.healthfinch (the original, also archived), com.github.seancorfield, seancorfield (prior to Clojar's Verified Group Names policy), also potentially via git deps at either (com|io).github.healthfinch or io.github.seancorfield. This might be true for other deprecated libraries. clj-time is referenced as both clj-time and clj-time/clj-time (and is likely to appear in project.clj files).

@lread
Copy link

lread commented Feb 17, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants