-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide GfW ReleaseNote Start menu Icon, and tweak collapsible div marker #281
Conversation
What was the problem with |
The sdk installer definitely built an installer. I was able to run it. It (ReleaseNotes.html) just didn't have the extra words for the parts where the upstream Git is linked (actually patch 2 - that was my mistake). I think that I may need to do something else additional to get that part of the release notes formatted. I suspect that's somewhere in the please.sh. I'm just not sure what I need to do for that case.
If I get that working, the one extra I'd like to do (separate patch) would be to prefix each of the collapsible divs which start "Changes since.." with the "Git vX.Y.Z: " that is being considered. (My eyes cross over seeing the release before, so go to the wrong place..) So at the moment I feel I have two good patches, one that I've failed to test, and one that's at just a plan. |
69a8181
to
ad2bc0f
Compare
I have removed the extra commit that was not working for me. I'll investigate that at some other time. I also updated the PR title, once I found that edit via the web interface. |
Are you referring to https://github.com/git-for-windows/build-extra/blob/master/render-release-notes.sh? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! Thank you! Please let me know whether you want to act on my suggestion(s), or whether you think it's not necessary.
installer/install.iss
Outdated
@@ -124,6 +124,7 @@ Name: "{app}\tmp" | |||
Name: {group}\Git GUI; Filename: {app}\cmd\git-gui.exe; Parameters: ""; WorkingDir: %HOMEDRIVE%%HOMEPATH%; IconFilename: {app}\{#MINGW_BITNESS}\share\git\git-for-windows.ico | |||
Name: {group}\Git Bash; Filename: {app}\git-bash.exe; Parameters: "--cd-to-home"; WorkingDir: %HOMEDRIVE%%HOMEPATH%; IconFilename: {app}\{#MINGW_BITNESS}\share\git\git-for-windows.ico | |||
Name: {group}\Git CMD; Filename: {app}\git-cmd.exe; Parameters: "--cd-to-home"; WorkingDir: %HOMEDRIVE%%HOMEPATH%; IconFilename: {app}\{#MINGW_BITNESS}\share\git\git-for-windows.ico | |||
Name: {group}\Git ReleaseNotes; Filename: {app}\ReleaseNotes.html; Parameters: ""; WorkingDir: %HOMEDRIVE%%HOMEPATH%; IconFilename: {app}\{#MINGW_BITNESS}\share\git\git-for-windows.ico |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a space between "Release" and "Notes"?
(BTW this icon will open the release notes in the default web browser app, which is not a web app.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I swithered about the spacing, and took the easy route of just using the filename 😉
You are right about needing 'browser' in their. I had a senior moment. previously I'd even written 'seb'.
I can fix both.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just had another look, and once these two issues are addressed, I think this PR is good to merge.
Oh, oh, I think I know what you mean. For new Git for Windows releases based on a new Git version, we add that link. And yes, that's done in Lines 4075 to 4088 in 4ecc9eb
|
Do you (I) have to run I am thinking that there is process or script part that creates the html, and that it's the html that is included in the user-installer (rather than the .md file bing in the installer and the installer itself does some processing at install time). When I looked at please.sh I found the various |
Only if you want an entry "Comes with Git v[...]" in the latest item of the release notes. Did I misunderstand and you did not want that?
Yes,
Indeed, I did not yet get a chance to look at your patches. |
While users will probably appreciate that there is a formatted set of release notes for Git for Windows, especially if they installed it themselves, it is not easy to find. Provide a Start Menu icon that will open the release notes in their default web browser app. Signed-off-by: Philip Oakley <philipoakley@iee.email>
Increase the font size of collapsible div's arrow and change them to an open triangle (White Right/Down Triangle U+25B7/D), hopefully to distinguish them from simple bullet markers. Also change the mouse over cursor to the pointing hand, ready for the user mouse click. Signed-off-by: Philip Oakley <philipoakley@iee.email>
I've updated the two patches as discussed, and tested locally using So looking good for me. PS I'll now see if I can get a start on the tweaks to the formatting to work. I'll extend my description so we can make sure we are on the same page talking about the same problem 😉 |
I've realised I had completely the wrong mental model of what was happening... What I'd seen in the So I think I know what I'm doing now. I'll an initial proof of concept pair that modify the Once those two work, I'll add two preparatory patches that goes through the older entries an tweak them to the new format (almost like a 'correct all spellings' patch). I'll do them on a new PR. Thanks. |
Sounds good! In the meantime, I'll merge this PR. |
The release notes [have been made a bit more readable and are now linked from the Start Menu group](#281). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Improve the accessibility and readability of the release notes.
Add a start menu icon for the GfW's own release notes, so use can find and read them.
Small improvement to the readability of the notes by using larger, open 'white' triangles for the collapsible regions of the release notes - feels more like the typical explorer look. Previously they looked like basic bullet points
Also, specifically mark the upstream Git's link as being for their release notes (not tested successfully - may not have invoked the please.sh appropriately. I'd expected the
sdk build installer
to do it's magic - guidance needed!)Signed-off-by: Philip Oakley philipoakley@iee.email