abcxyz / abcxyz/github-metrics-aggregator

(Leech) Logs file type in gcs does not match file extension.

Open
#141 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
16
Forks
3
PR merge metrics
No merged PRs in 30d

Description

### TL;DR

Logs are being saved in gcs with the file extension `.tar.gz`, but the archives are actually zip files. The file extension should either be updated to `.zip` or archives should be compressed to `.tar.gz` format and existing files should be re-compressed.

### Observed behavior

```shell
$ gunzip logs.tar.gz
gzip: logs.tar.gz has more than one entry -- unchanged

$ file logs.tar.gz
logs.tar.gz: Zip archive data, at least v2.0 to extract, compression method=deflate

$ unzip logs.tar.gz
Archive: logs.tar.gz
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.