[Django] #31552: Loading lzma compressed fixtures

24 views
Skip to first unread message

Django

unread,
May 8, 2020, 12:41:56 PM5/8/20
to django-...@googlegroups.com
#31552: Loading lzma compressed fixtures
-------------------------------------+-------------------------------------
Reporter: Paolo | Owner: nobody
Melchiorre |
Type: New | Status: new
feature |
Component: Core | Version: master
(Management commands) |
Severity: Normal | Keywords: fixtures
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Since `lzma` format is supported natively in Python 3 [1] from version
3.3, I would propose to add `lzma` compressed fixtures (`.xz`) support in
`loaddata` command.

[1] https://docs.python.org/3/library/lzma.html

--
Ticket URL: <https://code.djangoproject.com/ticket/31552>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 8, 2020, 1:08:23 PM5/8/20
to django-...@googlegroups.com
#31552: Loading lzma compressed fixtures
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: nobody
Type: New feature | Status: new
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: fixtures | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Paolo Melchiorre):

* has_patch: 0 => 1


Comment:

PR: https://github.com/django/django/pull/12879

--
Ticket URL: <https://code.djangoproject.com/ticket/31552#comment:1>

Django

unread,
May 8, 2020, 1:09:39 PM5/8/20
to django-...@googlegroups.com
#31552: Loading lzma compressed fixtures
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Paolo
| Melchiorre
Type: New feature | Status: assigned

Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: fixtures | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Paolo Melchiorre):

* owner: nobody => Paolo Melchiorre
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/31552#comment:2>

Django

unread,
May 8, 2020, 1:11:33 PM5/8/20
to django-...@googlegroups.com
#31552: Loading lzma compressed fixtures
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Paolo
| Melchiorre
Type: New feature | Status: assigned
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: fixtures | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Paolo Melchiorre):

* cc: Paolo Melchiorre (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/31552#comment:3>

Django

unread,
May 8, 2020, 1:50:29 PM5/8/20
to django-...@googlegroups.com
#31552: Loading lzma compressed fixtures
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Paolo
Type: | Melchiorre
Cleanup/optimization | Status: assigned

Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: fixtures | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Paolo Melchiorre):

* type: New feature => Cleanup/optimization


--
Ticket URL: <https://code.djangoproject.com/ticket/31552#comment:4>

Django

unread,
May 8, 2020, 2:24:00 PM5/8/20
to django-...@googlegroups.com
#31552: Loading lzma compressed fixtures
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Paolo
Type: | Melchiorre
Cleanup/optimization | Status: assigned
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: fixtures | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/31552#comment:5>

Django

unread,
May 15, 2020, 1:32:26 AM5/15/20
to django-...@googlegroups.com
#31552: Loading lzma compressed fixtures
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Paolo
Type: | Melchiorre
Cleanup/optimization | Status: assigned
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: fixtures | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/31552#comment:6>

Django

unread,
May 15, 2020, 3:45:26 AM5/15/20
to django-...@googlegroups.com
#31552: Loading lzma compressed fixtures
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Paolo
Type: | Melchiorre
Cleanup/optimization | Status: assigned
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: fixtures | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Paolo Melchiorre):

* needs_better_patch: 1 => 0


Comment:

As requested in the PR comments I added support for LZMA archives , fixes
documentation issues and added a section in 3.2 release notes.

--
Ticket URL: <https://code.djangoproject.com/ticket/31552#comment:7>

Django

unread,
May 15, 2020, 6:07:15 AM5/15/20
to django-...@googlegroups.com
#31552: Loading lzma compressed fixtures
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Paolo
Type: | Melchiorre
Cleanup/optimization | Status: closed

Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution: fixed

Keywords: fixtures | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"0e3b0da2e3ecee05e8b5eee763f444c94280dbcb" 0e3b0da2]:
{{{
#!CommitTicketReference repository=""
revision="0e3b0da2e3ecee05e8b5eee763f444c94280dbcb"
Fixed #31552 -- Added support for LZMA and XZ fixtures to loaddata.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/31552#comment:8>

Reply all
Reply to author
Forward
0 new messages