In addition, there are other well-known extensions for some of the already
supported compression formats that Django currently doesn't recognise:
http://www.gnu.org/software/tar/manual/html_node/gzip.html#auto_002dcompress
--
Ticket URL: <https://code.djangoproject.com/ticket/30160>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/10947 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/30160#comment:1>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/30160#comment:2>
--
Ticket URL: <https://code.djangoproject.com/ticket/30160#comment:3>
* needs_better_patch: 0 => 1
Comment:
Removing from review queue as per Nick's comment on the PR, "please don't
merge yet. I noticed
[https://docs.python.org/3/library/shutil.html#shutil.unpack_archive
shutil.unpack_archive()] and want to investigate replacing
`django.utils.archive`.
--
Ticket URL: <https://code.djangoproject.com/ticket/30160#comment:4>
* needs_better_patch: 1 => 0
Comment:
[https://github.com/django/django/pull/10947 PR] updated. Have abandoned
looking at `shutil.unpack_archive()` for now as the current implementation
does some fiddling related to permissions that is still required and
cannot currently be worked around.
--
Ticket URL: <https://code.djangoproject.com/ticket/30160#comment:5>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"0509148c2458a990cd0a7fd2d7cfbd45eb43e000" 0509148c]:
{{{
#!CommitTicketReference repository=""
revision="0509148c2458a990cd0a7fd2d7cfbd45eb43e000"
Refs #30160 -- Made destination path a required argument of extract().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30160#comment:6>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"69a30f620eb46246c0b39cd40a0f7df57f2af8d0" 69a30f62]:
{{{
#!CommitTicketReference repository=""
revision="69a30f620eb46246c0b39cd40a0f7df57f2af8d0"
Refs #30160 -- Simplified archive extension map and added other aliases.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30160#comment:7>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"f618e033acd37d59b536d6e6126e6c5be18037f6" f618e033]:
{{{
#!CommitTicketReference repository=""
revision="f618e033acd37d59b536d6e6126e6c5be18037f6"
Fixed #30160 -- Added support for LZMA and XZ templates to
startapp/startproject management commands.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30160#comment:10>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"c95d063e776e849cf1a0bf616c654165cb89c706" c95d063]:
{{{
#!CommitTicketReference repository=""
revision="c95d063e776e849cf1a0bf616c654165cb89c706"
Refs #30160 -- Simplified and improved tests for django.utils.archive.
The file executable should have 0o775 permission not only u=x.
The file no_permissions should have 0o644 u=r.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30160#comment:9>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"1692f69e37ccf7985a1f62875babab91984b9773" 1692f69e]:
{{{
#!CommitTicketReference repository=""
revision="1692f69e37ccf7985a1f62875babab91984b9773"
Refs #30160 -- Doc'd startapp/startproject support for tarfile templates.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30160#comment:8>