-
Notifications
You must be signed in to change notification settings - Fork 494
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
bashrc: re-include $PS1 priority #651
Conversation
@Alexpux I was not sure if the sha256sums and the package vers are to be updated by the maintainers (you?, @elieux ..? ), or whether I should have done that. @renatosilva - does this change releflect your intitial intentions? |
Yes, please update shasum and pkgrel, thanks! |
Could you clarify a couple of points?
|
There is a builtin tool called sha256sum.exe:
You just need to calculate the checksum of the file in source array:
Increase If you see "[MSYS2 CI] SUCCESS: No changes in package recipes." that means no change in PKGBUILD file was detected so the CI server did nothing. I typed too slow and found you just made it ;) |
Thanks for the feedback. It's good to know I made reasonable guesses ;-) Feedback on the patch itself is welcomed. I currently only have a lttle XP Sp3 netbook for home/mobile hacking, so the patching was tested there. |
@fracting There is an easier way.
It will automatically calculate sha256 for files contained in |
6e6310d (filesystem: New specific variable MSYS2_PS1., 2016-05-01) introduced the MSYS2_PS1 prompt script priority to allow multiple device configurations. Unfortunately, if MSYS2_PS1 was not set it overwrote the $PS1, even when specifically set by the users configuration, such as provided in the Git-for-Windows SDK (see git-for-windows/git#794 (comment)) and the monkey patch fix (git-for-windows/build-extra#122). Introduce a priority order so that the user's $PS1 (if set) has an intermediate priority between the MSYS2_PS1 and the default PS1. Signed-off-by: Philip Oakley <philipoakley@iee.org>
I have updated the commit message (only) to correct a spelling mistake and clarify the wording. |
@Alexpux Is there anything I need to do to help move this forward? What is the typical process time for changes like this (Summer holidays may have an impact)?, regards Philip |
Many Thanks! |
After updating to new bash and filesystem-2016.02-2 my default prompt changed to
|
I think this is problem of new filesystem package. See commit: |
@Karlson2k when was your previous update the Filesystem? was it before 6e6310d (filesystem: New specific variable MSYS2_PS1., 2016-05-01) introduced the MSYS2_PS1 prompt script proriority to allow multiple device configurations? i.e. did you ever install 2016.02-1 - maybe re-install that and see if it fixes it, or not. That patch 6e6310d had a bug in that it overwrote the users PS1 (as decribed above). This meant that the Git for Windows SDK's bash prompt was corrupted, and my patch was a minimal fix for the G4W SDK case. As a mainly windows person, I'm not sure what the fix for you would be. I'll have a google about, given your description to see if I can understand what happened, but if you can try a few debug things that would be great. |
Angelo Graziosi wrote:
Thank you for the confirmation. So at the moment I'm at a loss as to the appropriate fix that accepts everybodies differing ways of setting the PS1 for the different purposes (both bash window title, and bash prompt). The very original source of the PS1 setting in G4W (and the SDK, which is different) is detailed in git-for-windows/build-extra#122 (comment) It all looks a bit of a mess. Also, jsut seen (but not read) #653 |
6e6310d (filesystem: New specific variable MSYS2_PS1., 2016-05-01)
introduced the MSYS2_PS1 prompt script proriority to allow multiple
device configurations.
Unfortunately it overwrote the $PS1, even when specifically set by the
users configuration, such as the Git-for-Windows SDK
see git-for-windows/git#794 (comment)
and the monkey patch fix
git-for-windows/build-extra#122.
Introduce a priority order so that the user's $PS1 (if set) has an
intermediate priority between the MSYS2_PS1 and the default PS1.
Signed-off-by: Philip Oakley philipoakley@iee.org