fix (309): check that used starts with listed version#315
Conversation
|
Hello please rebase your current codebase to the updated codebase as a lot of regex has been modified. Secondly lets modify this implementation of yours a little bit. There is only one time when the full hash is required and it is when fetching the commit from remote. What we should do instead is as follows, generally prefer the shortened hash (i think it is trimmed to like 7 characters) for everything, but when building from source explicitly ask for the full hash. |
|
hi ! yup, i've seen the other PR getting merged :) the 2 commits from my PR have been successfully rebased without any conflict. as for your requests, that makes sense => i'll switch to short hashes then ;) |
|
@MordechaiHadad, could you assign me to this PR, so that i can see the status changes with |
|
@antoineeestevaaan - A fellow terminal-only enjoyer; clearly 😄 . You should be able to watch PR check runs via I may perhaps be able to assist after working on/around the hash stuff in the last PR (Though not too extensively). Perhaps @MordechaiHadad you can weigh in on where/how the split between |
|
Ill read this tomorrow sorry, i was away on shabat. |
|
@MordechaiHadad, just updated the PR ! mostly reverted all of it xD please tell me if you like it more ;) |
|
Hmm 5 commits but only 1 line of code changed? lol |
|
these can be squashed if you want. do i need to change something else? |
Yeah nothing else, but squashing. This is just to handle hashes in the ls command correct? |
roger that, i'll do that soon.
yes, this PR only changes the |
|
Alright waiting for squashing and then ill merge |
|
@MordechaiHadad, i think this is good to go 😉 |
with this PR, when listing currently installed versions, let's call one of them v,
bob listwill check whether or not the currently "used" version starts with vinstead of is strictly equal to v.
Note
this is the new version of the PR, after review from @MordechaiHadad
Pros:
Cons:
Comparison
Changelog