Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In D6 I am pretty sure the list of downloads on a project page said "tar.gz" for the tarball download, now it just says "gz".
Comments
Comment #1
TR CreditAttribution: TR commentedYes, I can confirm this. D6 did say tar.gz, now it says simply gz
Comment #2
tvn CreditAttribution: tvn commentedYes, this indeed changed. But do we absolutely need 'tar.gz' on those tables?
Comment #3
longwaveWell, the file extension of a tarball is .tar.gz, so I think it makes more sense to show the full extension; .gz only tells half the story.
Comment #4
markhalliwellThis is indeed wrong and needs to be fixed.
From: http://askubuntu.com/a/122149
Comment #5
markhalliwellFWIW and to clarify even more, I gzip SQL dumps all the time:
.sql.gz
. Just having.gz
doesn't define what type of file is gzipped.Comment #6
tvn CreditAttribution: tvn commentedComment #7
kalman.hosszu CreditAttribution: kalman.hosszu commentedI checked the problem and I see the following things:
I think if PHP's core function doesn't handle tar.gz extension as a special one, we shouldn't. Maybe we could use tgz extension instead of tar.gz but I'm not sure it's in the scope.
Comment #8
longwaveThe problem is that .tar.gz is *two* extensions, not just one, so PHP might technically be doing the right thing, it just doesn't handle two file extensions. The .gz alone does not convey the full meaning, as described above.
Comment #9
drummThis is fixed in Views 7.x-3.x, #1791970: Optionally detect tar.* as extension instead of * on views file extension field handler. When 7.x-3.8 is released, we can upgrade to get this.
Comment #10
tvn CreditAttribution: tvn commentedPostponing then, till that release is available.
Comment #11
kalman.hosszu CreditAttribution: kalman.hosszu commentedI set the relation to keep it clear.
Comment #12
tvn CreditAttribution: tvn commentedComment #13
drummNow deployed. Release download tables are cached and regenerated when a release for the project is edited/added/removed. I cleared the cache for https://drupal.org/project/drupal, and it is working.