Expose Settings for Build Report Inspector to allow custom date formatting
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by locating the BuildReportInspector code containing the shown assetPath construction and inspect how build reports are written in the Unity editor. Clarify whether the intended completion is a Settings UI for the date format or only a fixed ISO 8601 format; done means generated .buildreport filenames sort chronologically and the chosen behavior is covered by an appropriate test or verification.
Written by the indexing model from the issue text.
Description
BuildReportInspector hard-codes build report output path but more importantly it hard-codes the filename date formatting in a way I find unacceptable: using Unity Build Reporter as a Package Manager package my only option currently is manually renaming every file after Build Report Inspector creates it.
This is the hard-coding in question
var assetPath = buildReportDir + "/Build_" + date.ToString("yyyy-dd-MMM-HH-mm-ss") + ".buildreport";
Resulting in a filename like "Build-2020-15-kesä-15-59-06" on my computer, which is neither what I prefer but more importantly does not sort chronologically for quick and legible browsing and organizing (Project Assets view is sorted alphabetically and hard-coded format does not sort the entries in any chronological order which is relevant when making comparisons of the builds as chronological series).
I'd much prefer if you expose a Settings UI for customizing the defalt filename date formatting when outputting .buildreport files, but failing that you could just hardcode it in ISO 8601 "YYYY-MM-DD-hh-mm-ss" as described in https://en.wikipedia.org/wiki/ISO_8601
- Dominant language
- C#
- Stars
- 424
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Unity-Technologies/BuildReportInspector
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Unity-Technologies/BuildReportInspector#48 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Unity-Technologies/BuildReportInspector#19 · 2 reactions ·
All issues in Unity-Technologies/BuildReportInspector
Similar issues
-
[Feat] 조합 영역 구분선 개선 Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100