➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
标题: [distutils] - error when processing the "--formats=tar" option
类型: behavior Stage:
Components: Distutils Versions: Python 3.0, Python 3.1, Python 2.7, Python 2.6
process
状态: closed Resolution: duplicate
Dependencies: 后续: Permit to easily use distutils "--formats=tar,gztar,bztar" on all systems
View: 1886
分配给: tarek 抄送列表: christian.heimes, giampaolo.rodola, tarek, techtonik
优先级: normal 关键字: patch

Created on 2008-01-21 20:43 by giampaolo.rodola, last changed 2022-04-11 14:56 by admin. This issue is now closed.

文件
文件名 上传时间 Description 编辑
issue1885.tar.removed.fix.diff techtonik, 2008-12-26 14:05 patch
1885.patch tarek, 2008-12-27 13:04
Messages (6)
msg61445 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) 日期: 2008-01-21 20:43
Steps to reproduce the problem:
1: Run "python setup.py sdist --formats=gztar,tar".
2. dist directory now contains "module.gztar" and "module.tar" files
as expected.
3: Run "python setup.py sdist --formats=tar,gztar".
4. dist directory now contains only "module.gztar" file.

Reason:
Since for every argument specified in "--formats" option a new .tar file
is created every time by using the UNIX tar utility, the .tar file is
removed/overwritten when creating subsequent archives.
msg61452 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) 日期: 2008-01-21 21:30
I provided a patch here: http://bugs.python.org/issue1886
msg61472 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) 日期: 2008-01-22 00:59
No need to keep two buss open.
msg78299 - (view) Author: anatoly techtonik (techtonik) 日期: 2008-12-26 14:05
Please reopen this bug. issue#1886 is different it take a long time
until it is committed.

I attach patch from Giampaolo here.
msg80548 - (view) Author: Tarek Ziadé (tarek) * (Python committer) 日期: 2009-01-25 23:35
fixed in r68951 in trunk. 

I will propagate the change into 2.6/3.0/3.1 tomorrow.
msg80581 - (view) Author: Tarek Ziadé (tarek) * (Python committer) 日期: 2009-01-26 17:26
done (in r68969 for py3k branch)
历史
日期 用户 动作 参数
2022-04-11 14:56:30admin修改github: 46193
2009-01-26 17:26:02tarek修改状态: open -> closed
消息: + msg80581
2009-01-25 23:35:28tarek修改消息: + msg80548
versions: + Python 3.0, Python 3.1, - Python 2.5
2008-12-27 13:04:45tarek修改文件: + 1885.patch
2008-12-27 13:04:35tarek修改文件: - 1885.patch
2008-12-27 11:49:59tarek修改状态: closed -> open
assignee: tarek
文件: + 1885.patch
抄送: + tarek
2008-12-26 14:05:50techtonik修改文件: + issue1885.tar.removed.fix.diff
keywords: + patch
消息: + msg78299
抄送: + techtonik
versions: + Python 2.5, Python 2.7
2008-01-22 00:59:29christian.heimes修改状态: open -> closed
versions: + Python 2.6, - Python 2.5
抄送: + christian.heimes
消息: + msg61472
优先级: normal
后续: Permit to easily use distutils "--formats=tar,gztar,bztar" on all systems
resolution: duplicate
2008-01-21 21:30:36giampaolo.rodola修改消息: + msg61452
2008-01-21 20:43:30giampaolo.rodola创建