Skip to content

Commit 395c7e0

Browse files
committed
Revert "Merge pull request kivy#1015 from pts-dorianpula/issue-1013-fix-tarfile-large-user-id-failure"
This reverts commit a56784d, reversing changes made to b2e5bc3. The reason for the revert is that although this PR seemed to work, it actually causes problems with the tar extraction for very long filenames.
1 parent a56784d commit 395c7e0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pythonforandroid/bootstraps/pygame/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def select(fn):
180180
if select(x)]
181181

182182
# create tar.gz of thoses files
183-
tf = tarfile.open(tfn, 'w:gz', format=tarfile.GNU_FORMAT)
183+
tf = tarfile.open(tfn, 'w:gz', format=tarfile.USTAR_FORMAT)
184184
dirs = []
185185
for fn, afn in files:
186186
# print('%s: %s' % (tfn, fn))

pythonforandroid/bootstraps/sdl2/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def select(fn):
178178
if select(x)]
179179

180180
# create tar.gz of thoses files
181-
tf = tarfile.open(tfn, 'w:gz', format=tarfile.GNU_FORMAT)
181+
tf = tarfile.open(tfn, 'w:gz', format=tarfile.USTAR_FORMAT)
182182
dirs = []
183183
for fn, afn in files:
184184
# print('%s: %s' % (tfn, fn))

pythonforandroid/bootstraps/service_only/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def select(fn):
175175
if select(x)]
176176

177177
# create tar.gz of thoses files
178-
tf = tarfile.open(tfn, 'w:gz', format=tarfile.GNU_FORMAT)
178+
tf = tarfile.open(tfn, 'w:gz', format=tarfile.USTAR_FORMAT)
179179
dirs = []
180180
for fn, afn in files:
181181
# print('%s: %s' % (tfn, fn))

pythonforandroid/bootstraps/webview/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def select(fn):
174174
if select(x)]
175175

176176
# create tar.gz of thoses files
177-
tf = tarfile.open(tfn, 'w:gz', format=tarfile.GNU_FORMAT)
177+
tf = tarfile.open(tfn, 'w:gz', format=tarfile.USTAR_FORMAT)
178178
dirs = []
179179
for fn, afn in files:
180180
# print('%s: %s' % (tfn, fn))

0 commit comments

Comments
 (0)