-
-
Notifications
You must be signed in to change notification settings - Fork 357
Add --asset-dir
to blame-copy-royal
#2065
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
Add --asset-dir
to blame-copy-royal
#2065
Conversation
CI runs on this upstream GitoxideLabs/gitoxide repository now use an image for The new failing test cases are due to the fixture script error, occurring for each test that uses the affected script, that I described in the second half of #2053 (comment) ("The new failures with Git 2.50.0"). It happens due to Git 2.50.0 no longer supporting unrecognized Since then, I've reproduced the errors locally on an x86_64 Arch Linux system. The results can be seen in this gist. That they don't happen on Ubuntu in the full Interestingly, I also had a small number of other test failures, which appear to be entirely unrelated to these, on Arch Linux x86_64 with Git 2.50.0. Two of them happen without Although I plan to try to fix this--and, at least with respect to the |
@EliahKagan That’s helpful, thanks a lot for the context! For this PR, there’s no pressure to get it merged as it is related to |
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.
Thanks a lot for the update, and sorry for not catching this issue during the review.
30d4d6a
to
e616e87
Compare
The Although we should be able to do this without Python, for now the best thing to do might be to install a Python interpreter in those containers.
Any such change to the workflow could be undone later, if and when the fixture script is eventually modified to use only tools that the test suite otherwise requires. |
9ae314c
to
3838fcd
Compare
Thanks a lot for the hint! If the I definitely invite you to do this without python3. The approach was chosen because I thought it's easier to deal with one dependency than with multiple ones + bash portability issues - little did I know😅. |
3838fcd
to
73a30f8
Compare
This is a follow-up to #2041. Without this change,
blame-copy-royal
can’t be used for files whose relative path starts withassets/
as this is also a path used byblame-copy-royal
. This PR adds a parameter--asset-dir
that allows overwriting the asset directory so that it can be set to an arbitrary value in case there is a conflict.A similar option could also be provided for the name of the script itself.