DjangoAdminHackers / django-linkcheck

An app that will analyze and report on links in any model that you register with it. Links can be bare (urls or image and file fields) or embedded in HTML (linkcheck handles the parsing). It's fairly easy to override methods of the Linkcheck object should you need to do anything more complicated (like generate URLs from slug fields etc).
BSD 3-Clause "New" or "Revised" License
75 stars 26 forks source link

From optparse to argparse... #54

Closed claudep closed 8 years ago

claudep commented 8 years ago

In Django 1.10, management commands have to use argparse-based commands (they were introduced in Django 1.8). This is not such a big change, but the question is whether we want to keep supporting pre-Django 1.8 and write some compatibility layer, or if we can drop older and unsupported Django versions (namely 1.6 and 1.7)?

andybak commented 8 years ago

I've still got some legacy pre-1.8 sites in production but I suppose I would be happy to freeze them on an older version of linkcheck.

How about deprecating in 1.3 and breaking compat in a 1.4?

1.4 could simply contain the argparse rewrite and be released fairly soon after 1.3

claudep commented 8 years ago

The plan sounds good. I've just released 1.3, and will work on the argparse rewrite soon!