-
-
Notifications
You must be signed in to change notification settings - Fork 600
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
Use get_entry instead of get_str #269
Conversation
how are you planning to work around this?
looks good doesn't it? |
I don’t have a solution yet, so I’ll do a little research to see what other projects are doing.
Yes, the git config used on CI seems to not interfere with the new tests. |
aa43432
to
c618c07
Compare
@extrawurst I might have found a solution. Setting |
Sorry for the delay, this would break tests that depend on |
I did a little research to see how other tools tackle this issue, and this is what I found:
I share your concerns, though, and, to be honest, I was quite surprised to find that this seems to be a common practice. To make the tests independent of their order, we could set |
@cruessler thanks for researching this. Ok lets go ahead with this approach, but let's do one more thing: Let's limit the impact of this change to the test that requires this instead of all using We should make a utility that helps us set the can you make those changes and mark the PR as ready to review? |
@extrawurst Sounds good to me! I'll update the PR in the next few days. |
It looks like changing
That means that whatever value I briefly tried rusty-fork, but could not get it to work quickly. |
@cruessler omg why do they make it so hard on us? :) |
@extrawurst Looks like that is not an option, either. :-) We would have to depend on
I searched far and wide, but |
looks like u have an opportunity to become a |
@extrawurst There is already an issue at |
@cruessler as far as I can see no one ever raised the idea of exposing |
@cruessler also maybe this change is relevant for us: rust-lang/git2-rs#656 ? |
Thanks for the hint! I just checked locally, and on my machine the issue was solved and the new tests were green. I’ll update the branch, so we can see what CI says. |
There is only one downside: |
c618c07
to
f09c2f0
Compare
@cruessler well that's a concession I can make. can you quickly add that to the changelog aswell, then I can merge it 👍 |
f09c2f0
to
74615ed
Compare
@extrawurst Great, done! |
@cruessler Thanks❤️ |
Related to #79 and #228.
Beware that the additional tests most likely will fail locally because the local git config interferes with them. This PR is intended for testing whether there are issues on CI.