shutil.make_archive (xxx, tar, root_dir) is adding './' entry to archive which is wrong
まだ誰も着手していません。
評価
調査の方向性
添付された tarfile_test.tar を使ってアーカイブの内容を再現し、その後、tar と root_dir の処理を含めて shutil.make_archive を調査します。生成されたアーカイブに不要な './' エントリが含まれなくなれば完了です。既存のリンクされた PR についても、以前の作業を確認するためにレビューする必要があります。
索引モデルが issue の本文から書いたものです。
説明
| BPO | 35964 |
|---|---|
| Nosy | @Yhg1s, @tarekziade, @SpecLad, @serhiy-storchaka, @websurfer5 |
| PRs | |
| Files |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2019-02-11.12:40:46.518>
labels = ['3.7', 'library']
title = "shutil.make_archive (xxx, tar, root_dir) is adding './' entry to archive which is wrong"
updated_at = <Date 2019-08-27.20:46:19.371>
user = 'https://bugs.python.org/HFM'
bugs.python.org fields:
activity = <Date 2019-08-27.20:46:19.371>
actor = 'SpecLad'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-02-11.12:40:46.518>
creator = 'HFM'
dependencies = []
files = ['48132']
hgrepos = []
issue_num = 35964
keywords = ['patch']
message_count = 2.0
messages = ['335211', '344254']
nosy_count = 10.0
nosy_names = ['twouters', 'alanmcintyre', 'bialix', 'tarek', 'python-dev', 'SpecLad', 'serhiy.storchaka', 'HFM', 'Oskar Persson', 'Jeffrey.Kintscher']
pr_nums = ['13738']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue35964'
versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']
Linked PRs
- gh-118152
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python/cpython のほかの issue
-
docs pending
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
stdlib type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
stdlib type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
build type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
stdlib topic-email type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
PolicyEngine/policyengine-us#9559 ·
-
priority: p3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
googleapis/librarian#7636 ·
-
from:qa priority:P2 reliability tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
spec-kitty/spec-kitty#4874 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100