Closed AttilaTheFun closed 1 year ago
@tonimelisma I think this was broken by your commit here: https://github.com/davidbyttow/govips/commit/820907b45d1c6c6f0c82c89edbf8e17fc28197af The libvips version contains the date it was built. We should sanitize this, replacing colons with hyphens or something like that.
@tonimelisma @davidbyttow I created a PR to sanitize them here: https://github.com/davidbyttow/govips/pull/354
Hmm @davidbyttow I thought CI would regenerate the golden images. @tonimelisma what command did you run to regenerate them? The images in the repo still have colons in their names.
The CI does not change the repository contents. go test
runs the test suite and if the reference images are missing, generates them. You would need to create a PR after running go test
with the new reference images (and deleting the old ones)
Will this be fixed soon? I prevents pulling down the latest version
@tonimelisma @davidbyttow I'm trying to regenerate the images but I can't build / test govips currently because it's trying to link the wrong libvips version 😢 https://github.com/davidbyttow/govips/issues/355 Have you seen this issue before / do you know how to resolve it?
Hey @AttilaTheFun I haven't seen it. I don't think that's a govips issue, it's probably something with other tooling.
Hmm @tonimelisma do you know how govips / cgo locates the installed vips version? I have no idea how / why it's looking for this version that doesn't exist.
Oh! @tonimelisma I think it's an issue with the shell integrated with vscode. When I tried the same command from a regular terminal it found the correct libvips version. I'm not sure how it got messed up but I can use the regular terminal for now.
Hmm I'm getting some CGO crashes while running tests against libvips 8.14.2_1: https://github.com/davidbyttow/govips/issues/356
Need a new tag. Pulling in the latest commit works now
@sonu27 @AttilaTheFun apologies. I've released a new version, v2.13.0 with the latest commits.
I was just trying to update my govips dependency and when pulling in the current master commit with go get I received all of these invalid file path errors:
I think someone changed the golden image name format to include a timestamp when it was generated but it's using a formatting with colons. https://github.com/golang/go/issues/28001
Can we use a formatting that works with go get?