Save diagnostic files: preserve mtime

Open
#25,180 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
desktop

Research direction

Start by locating the diagnostic-file saving code and how selected files are added to the ZIP archive. Check how each archive entry's modification time is currently assigned. Done means saved diagnostic files retain their actual last-modified date and time in the resulting archive.

Written by the indexing model from the issue text.

Description

dev feature request

When saving diagnostic files, we manually copy selected files into a ZIP archive, rather than zipping the entire folder. I guess that's fine, but a disadvantage is that the "last modified" date/time is not preserved in the resulting ZIP archive; instead it gets set to the current date/time. To facilitate the process of inspecting diagnostic files, it may be beneficial to preserve the actual "last modified" date/time of the files.

Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from musescore/MuseScore

All issues in musescore/MuseScore

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.