Run of fresh-releases for django-favicon-plus-reloaded

Merge these changes:

Summary

Merged new upstream version: 1.1.5 (was: 1.1.3).

Diff

Branch: main

diff --git a/PKG-INFO b/PKG-INFO
index 65e12cd..c1b979a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: django-favicon-plus-reloaded
-Version: 1.1.3
+Version: 1.1.5
 Summary:  simple Django app which allows you to upload a image and it renders a wide variety for html link tags to display the favicon
 Home-page: https://edugit.org/AlekSIS/libs/django-favicon-plus
 Author: arteria GmbH
diff --git a/debian/changelog b/debian/changelog
index c94b2c4..ef81204 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+django-favicon-plus-reloaded (1.1.5-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 15 May 2022 19:44:02 -0000
+
 django-favicon-plus-reloaded (1.1.3-1) unstable; urgency=low
 
   * Initial release
diff --git a/django_favicon_plus_reloaded.egg-info/PKG-INFO b/django_favicon_plus_reloaded.egg-info/PKG-INFO
index 65e12cd..c1b979a 100644
--- a/django_favicon_plus_reloaded.egg-info/PKG-INFO
+++ b/django_favicon_plus_reloaded.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: django-favicon-plus-reloaded
-Version: 1.1.3
+Version: 1.1.5
 Summary:  simple Django app which allows you to upload a image and it renders a wide variety for html link tags to display the favicon
 Home-page: https://edugit.org/AlekSIS/libs/django-favicon-plus
 Author: arteria GmbH
diff --git a/favicon/__init__.py b/favicon/__init__.py
index 7bb021e..99d2a6f 100644
--- a/favicon/__init__.py
+++ b/favicon/__init__.py
@@ -1 +1 @@
-__version__ = '1.1.3'
+__version__ = '1.1.5'
diff --git a/favicon/models.py b/favicon/models.py
index 6e340d1..a4bb90e 100644
--- a/favicon/models.py
+++ b/favicon/models.py
@@ -7,6 +7,7 @@ from django.core.files.storage import default_storage as storage
 from django.core.files.uploadedfile import InMemoryUploadedFile
 from django.db import models
 from django.db.models import Q, signals
+from django.utils.text import slugify
 
 use_sites = hasattr(settings, "SITE_ID")
 
@@ -138,7 +139,8 @@ class FaviconImg(models.Model):
 
         tmp_io = BytesIO()
         tmp.save(tmp_io, format='PNG')
-        tmp_file = InMemoryUploadedFile(tmp_io, None, f"fav-{self.size}s.png", 'image/png', sys.getsizeof(tmp_io), None)
+        file_name = f"{slugify(self.faviconFK.title)}-{self.size}s.png"
+        tmp_file = InMemoryUploadedFile(tmp_io, None, file_name, 'image/png', sys.getsizeof(tmp_io), None)
 
         self.faviconImage = tmp_file
 

Branch: pristine-tar

diff --git a/django-favicon-plus-reloaded_1.1.5.orig.tar.gz.delta b/django-favicon-plus-reloaded_1.1.5.orig.tar.gz.delta
new file mode 100644
index 0000000..196e606
Binary files /dev/null and b/django-favicon-plus-reloaded_1.1.5.orig.tar.gz.delta differ
diff --git a/django-favicon-plus-reloaded_1.1.5.orig.tar.gz.id b/django-favicon-plus-reloaded_1.1.5.orig.tar.gz.id
new file mode 100644
index 0000000..aafc4c5
--- /dev/null
+++ b/django-favicon-plus-reloaded_1.1.5.orig.tar.gz.id
@@ -0,0 +1 @@
+e2e1dfada7d51c0372107331e27e58b168a98406

Branch: upstream

Tag: upstream/1.1.5
diff --git a/PKG-INFO b/PKG-INFO
index 65e12cd..c1b979a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: django-favicon-plus-reloaded
-Version: 1.1.3
+Version: 1.1.5
 Summary:  simple Django app which allows you to upload a image and it renders a wide variety for html link tags to display the favicon
 Home-page: https://edugit.org/AlekSIS/libs/django-favicon-plus
 Author: arteria GmbH
diff --git a/django_favicon_plus_reloaded.egg-info/PKG-INFO b/django_favicon_plus_reloaded.egg-info/PKG-INFO
index 65e12cd..c1b979a 100644
--- a/django_favicon_plus_reloaded.egg-info/PKG-INFO
+++ b/django_favicon_plus_reloaded.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: django-favicon-plus-reloaded
-Version: 1.1.3
+Version: 1.1.5
 Summary:  simple Django app which allows you to upload a image and it renders a wide variety for html link tags to display the favicon
 Home-page: https://edugit.org/AlekSIS/libs/django-favicon-plus
 Author: arteria GmbH
diff --git a/favicon/__init__.py b/favicon/__init__.py
index 7bb021e..99d2a6f 100644
--- a/favicon/__init__.py
+++ b/favicon/__init__.py
@@ -1 +1 @@
-__version__ = '1.1.3'
+__version__ = '1.1.5'
diff --git a/favicon/models.py b/favicon/models.py
index 6e340d1..a4bb90e 100644
--- a/favicon/models.py
+++ b/favicon/models.py
@@ -7,6 +7,7 @@ from django.core.files.storage import default_storage as storage
 from django.core.files.uploadedfile import InMemoryUploadedFile
 from django.db import models
 from django.db.models import Q, signals
+from django.utils.text import slugify
 
 use_sites = hasattr(settings, "SITE_ID")
 
@@ -138,7 +139,8 @@ class FaviconImg(models.Model):
 
         tmp_io = BytesIO()
         tmp.save(tmp_io, format='PNG')
-        tmp_file = InMemoryUploadedFile(tmp_io, None, f"fav-{self.size}s.png", 'image/png', sys.getsizeof(tmp_io), None)
+        file_name = f"{slugify(self.faviconFK.title)}-{self.size}s.png"
+        tmp_file = InMemoryUploadedFile(tmp_io, None, file_name, 'image/png', sys.getsizeof(tmp_io), None)
 
         self.faviconImage = tmp_file
 

Publish Blockers

  • ☑ run was successful
  • ☑ package has not been removed from the archive
  • ☑ command has not changed
  • ☒ not yet reviewed, but review needed
  • ☑ 0 publish attempts so far. not currently attempting to back off
  • ☑ proposals not currently being rate-limited for maintainer None
  • ☑ change set 48738a8d-6a11-44ba-8f16-1b6e3d8eb564 is ready

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases python3-django-favicon-plus-reloaded

Lintian Result

Full worker log Full build log