Add --asset-dir to blame-copy-royal#2065
Add --asset-dir to blame-copy-royal#2065Sebastian Thiel (Byron) merged 2 commits intoGitoxideLabs:mainfrom
--asset-dir to blame-copy-royal#2065Conversation
|
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 |
|
Eliah Kagan (@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 |
Sebastian Thiel (Byron)
left a comment
There was a problem hiding this comment.
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-royalcan’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-dirthat 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.