django-cms / djangocms-admin-style

django CMS Admin Style is a Django Theme tailored to the needs of django CMS.
http://www.django-cms.org/
Other
418 stars 118 forks source link

feat: Update info if new django CMS version is available #474

Closed fsbraun closed 1 year ago

fsbraun commented 1 year ago

This PR modifies and automates user information if a new django cms version (minor or patch, not major) is available:

image

This feature was available for a while but required a curated version list on django-cms.org. Now, the version list on pypi.org is take for reference.

It now actually links to the CHANGELOG since the url is fixed by the version number while the release notes in the docs can have any url.

Also, the (admittedly minimal) python test suite has been extended and testing take to Django up to 4.1 and Python 3.11.

codecov[bot] commented 1 year ago

Codecov Report

Merging #474 (c9ec703) into master (6107883) will increase coverage by 63.88%. The diff coverage is n/a.

@@             Coverage Diff              @@
##           master      #474       +/-   ##
============================================
+ Coverage   36.11%   100.00%   +63.88%     
============================================
  Files           2         2               
  Lines          36        33        -3     
  Branches        1         3        +2     
============================================
+ Hits           13        33       +20     
+ Misses         23         0       -23     
Impacted Files Coverage Δ
...gocms_admin_style/templatetags/admin_style_tags.py 100.00% <ø> (+65.71%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

marksweb commented 1 year ago

@fsbraun i thought pre commit was complaining about the title, but turns out there's an isort failure.

fsbraun commented 1 year ago

@marksweb Pre-Commit isort issue solved

foarsitter commented 1 year ago

LGTM