Skip to content

[tracer] A log sent in a .zip or a .gz downloads under a log's name - #45

Merged
DraChimeraVee merged 1 commit into
mainfrom
dravee/tracer/zip-download
Nov 8, 2026
Merged

DraChimeraVee merged 1 commit into
mainfrom
dravee/tracer/zip-download

Conversation

@DraChimeraVee

Copy link
Copy Markdown
Contributor

The site keeps a log sent in a .zip or a .gz as its unpacked text, and the report page's Download gave that text the archive's name: report 58's page has href="1.log" download="logs.zip", and 1.log is plain text, so the browser saved a logs.zip nothing opens.

  • tr_unpacked_name names the text as a log: logs.zip as logs.log, game.log.gz as game.log, any other name as it is. The heading and the JSON keep the name that was sent.
  • test_archive_download sends a log in a Share Log zip and one in a .gz; four of its checks fail with the archive's name.

After the reinstall, the start draws every report's page again, the old reports' links with them.

The site keeps a packed log as its text, and the report page's Download
saved that text under the archive's name (logs.zip), a .zip nothing
opens: it is named as a log now (logs.log, game.log for game.log.gz).

Signed-off-by: AO55 <AO55@reden-emu.dev>
@DraChimeraVee
DraChimeraVee added this pull request to stack #47 November 8, 2026 03:55
@DraChimeraVee
DraChimeraVee marked this pull request as ready for review November 8, 2026 04:09
@DraChimeraVee
DraChimeraVee merged commit ca67179 into main Nov 8, 2026
2 checks passed
@DraChimeraVee
DraChimeraVee deleted the dravee/tracer/zip-download branch November 8, 2026 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants