requirements: bump to fix vulnerabilities
PATCH 1/4 requirements: bump to fix vulnerabilities
-Django>=4.2,<4.3
+Django>=4.2.28,<4.3
https://docs.djangoproject.com/en/dev/releases/4.2.28/
CVE: CVE-2025-13473
CVE: CVE-2025-14550
CVE: CVE-2026-1207
CVE: CVE-2026-1285
CVE: CVE-2026-1287
CVE: CVE-2026-1312
-django-simple-captcha==0.6.0
+django-simple-captcha==0.6.3
https://django-simple-captcha.readthedocs.io/en/latest/changes.html#version-0-6-3
-Pillow==10.4.0
+Pillow==12.1.1
https://pillow.readthedocs.io/en/stable/releasenotes/12.1.1.html
CVE: CVE-2026-25990
-sqlparse==0.5.1
+sqlparse==0.5.5
https://sqlparse.readthedocs.io/en/stable/changes.html#release-0-5-5-dec-19-2025
--- requirements.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
requirements.txt +5 -4
@@ -1,3 +1,4 @@ +-i https://pkgs.safetycli.com/repository/self-d8782/project/layerindex-web/pypi/simple/ amqp==5.2.0 asgiref==3.8.1 beautifulsoup4==4.12.3
@@ -9,7 +10,7 @@ click-plugins==1.1.1 click-repl==0.3.0 confusable-homoglyphs==3.3.1 diff-match-patch==20230430 -Django>=4.2,<4.3 +Django>=4.2.28,<4.3 django-appconf==1.0.6 django-axes==6.5.1 django-cors-headers==4.4.0
@@ -18,21 +19,21 @@ django-ranged-response==0.2.0 django-registration==3.4 django-reversion==5.1.0 django-reversion-compare==0.17.0 -django-simple-captcha==0.6.0 +django-simple-captcha==0.6.3 djangorestframework==3.15.2 gitdb==4.0.11 GitPython==3.1.43 kombu==5.4.0 mysqlclient==2.2.4 packaging_legacy==23.0.post0 -Pillow==10.4.0 +Pillow==12.1.1 prompt-toolkit==3.0.47 python-dateutil==2.9.0.post0 pytz==2024.1 six==1.16.0 smmap==5.0.1 soupsieve==2.6 -sqlparse==0.5.1 +sqlparse==0.5.5 typing_extensions==4.12.2 tzdata==2024.1 vine==5.1.0
Signature · 1 line
2.50.1 (Apple Git-155)
PATCH 2/4 rrs: tools: add create_release.py
Allow for a new release and milestones to be created from a YAML file input. Add PyYAML==6.0.3 to requirements.txt
--- requirements.txt | 1 + rrs/tools/create_release.py | 160 ++++++++++++++++++++++++++++++++++++ 2 files changed, 161 insertions(+) create mode 100755 rrs/tools/create_release.py
requirements.txt +1 -0
@@ -38,3 +38,4 @@ typing_extensions==4.12.2 tzdata==2024.1 vine==5.1.0 wcwidth==0.2.13 +PyYAML==6.0.3
rrs/tools/create_release.py new file +160 -0
160 lines not on this page · raw message
Signature · 1 line
2.50.1 (Apple Git-155)
PATCH 3/4 BranchComparison: add CSV output option
In reply to Tim OrlingAdd a new template, URL and button for CSV text file output. This makes it easier to consume the BranchComparison for automation or other usage, such as in a spreadsheet.
--- layerindex/urls.py | 5 +++++ templates/layerindex/branchcompare.html | 1 + templates/layerindex/branchcompare_csv.txt | 11 +++++++++++ 3 files changed, 17 insertions(+) create mode 100644 templates/layerindex/branchcompare_csv.txt
layerindex/urls.py +5 -0
@@ -200,6 +200,11 @@ urlpatterns = [ content_type='text/plain; charset=utf-8', template_name='layerindex/branchcompare_rst.txt'), name='branch_comparison_rst'), + re_path(r'^branch_comparison_csv/$', + BranchCompareView.as_view( + content_type='text/csv; charset=utf-8', + template_name='layerindex/branchcompare_csv.txt'), + name='branch_comparison_csv'), re_path(r'^recipe_deps/$', RecipeDependenciesView.as_view( template_name='layerindex/recipedeps.html'),
templates/layerindex/branchcompare.html +1 -0
@@ -152,6 +152,7 @@ <span class="pull-right"> <a class="btn btn-default" href="{% url 'branch_comparison_plain' %}?{{ request.GET.urlencode }}"><i class="glyphicon glyphicon-file"></i> Plain text</a> <a class="btn btn-default" href="{% url 'branch_comparison_rst' %}?{{ request.GET.urlencode }}"><i class="glyphicon glyphicon-file"></i> rST</a> + <a class="btn btn-default" href="{% url 'branch_comparison_csv' %}?{{ request.GET.urlencode }}"><i class="glyphicon glyphicon-file"></i> CSV text</a> </span>
templates/layerindex/branchcompare_csv.txt new file +11 -0
@@ -0,0 +1,11 @@ +{# Header #} +recipe.pn,recipe.pv.{{from_branch}},recipe.pv.{{to_branch}} +{# Added #} +{% for recipe in added %}{{ recipe.pn }},,{% for rv in recipe.to_versions %}{{ rv.pv }}{% if not forloop.last %}{% endif %}{% endfor %} +{% endfor %} +{# Changed #} +{% for recipe in changed %}{% with pv_changed=recipe.pv_changed %}{{ recipe.pn }},{% for rv in recipe.from_versions %}{{ rv.pv }}{% if rv.srcrev and not pv_changed %},({{ rv.srcrev|truncatechars:13 }}){% endif %}{% if not forloop.last %}, {% endif %}{% endfor %} -> {% for rv in recipe.to_versions %}{{ rv.pv }}{% if rv.srcrev and not pv_changed %} ({{ rv.srcrev|truncatechars:13 }}){% endif %}{% if not forloop.last %}, {% endif %}{% endfor %} +{% endwith %}{% endfor %} +{# Removed #} +{% for recipe in removed %}{{ recipe.pn }},, +{% endfor %}
Signature · 1 line
2.50.1 (Apple Git-155)
PATCH 4/4 BranchComparison: use mime type text/x-rst rST
In reply to Tim Orlinghttps://docutils.sourceforge.io/FAQ.html#what-s-the-official-mime-type-for-restructuredtext-data
--- layerindex/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
layerindex/urls.py +1 -1
@@ -197,7 +197,7 @@ urlpatterns = [ name='branch_comparison_plain'), re_path(r'^branch_comparison_rst/$', BranchCompareView.as_view( - content_type='text/plain; charset=utf-8', + content_type='text/x-rst; charset=utf-8', template_name='layerindex/branchcompare_rst.txt'), name='branch_comparison_rst'), re_path(r'^branch_comparison_csv/$',
Signature · 1 line
2.50.1 (Apple Git-155)