Skip to content

Last commit broke the project #27

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

Closed
dsoprea opened this issue Jun 1, 2020 · 5 comments · Fixed by #28
Closed

Last commit broke the project #27

dsoprea opened this issue Jun 1, 2020 · 5 comments · Fixed by #28
Assignees
Labels

Comments

@dsoprea
Copy link

dsoprea commented Jun 1, 2020

Your code isn't currently compiling. The tests are reflecting this. Looks like the last change broke it.

https://travis-ci.org/github/go-errors/errors/jobs/692460222

image

baa9282#diff-faeee970b41138d8bdc51e7aa3601141R147

You probably meant Is(), not errors.Is().

Please fix or revert.

@dsoprea
Copy link
Author

dsoprea commented Jun 1, 2020

Incidentally, it looks like you aren't running the unit-tests on pull-requests. Otherwise, that could've allowed you to identify this issue before merging.

#26

dsoprea added a commit to dsoprea/go-exif that referenced this issue Jun 1, 2020
dsoprea added a commit to dsoprea/go-exif that referenced this issue Jun 1, 2020
dsoprea added a commit to dsoprea/go-exif that referenced this issue Jun 1, 2020
dsoprea added a commit to dsoprea/go-exif that referenced this issue Jun 1, 2020
dsoprea added a commit to dsoprea/go-exif that referenced this issue Jun 1, 2020
…rsion is very legacy and very unsupported.

go-errors/errors#27

red, and an empty message aborts the commit.
dsoprea added a commit to dsoprea/go-exif that referenced this issue Jun 1, 2020
…rsion is very legacy and very unsupported.

go-errors/errors#27

red, and an empty message aborts the commit.
dsoprea added a commit to dsoprea/go-exif that referenced this issue Jun 1, 2020
…rsion is very legacy and very unsupported.

go-errors/errors#27

red, and an empty message aborts the commit.
dsoprea added a commit to dsoprea/go-exif that referenced this issue Jun 1, 2020
Tip of dependency is broken and it was affecting us:

go-errors/errors#27
dsoprea added a commit to dsoprea/go-exif that referenced this issue Jun 1, 2020
Tip of dependency is broken and it was affecting us:

go-errors/errors#27

- We also disabled 1.10 and 1.11 due to lack of support in dependencies now that we're being recognized as a module.
@ConradIrwin
Copy link
Contributor

Thanks for reporting @dsoprea, it looks like the tests are running go1.10 which has been unsupported for a while now.

We introduced a fix that only works on go1.13 (the oldest maintained version of go) and above; what version of go are you running?

@titouanfreville I think it should be easy to make your change backward compatible by using go build tags to conditionally change the implementation of Is depending on the go version, or by copy-pasting the code from go1.13's errors package into here. Is that something you'll have time to look at?

@dsoprea
Copy link
Author

dsoprea commented Jun 1, 2020 via email

@titouanfreville
Copy link
Collaborator

titouanfreville commented Jun 2, 2020

Implemented solution with tags. Test are now ok.
Would be nice to have a lock on PR when travis fails.

@titouanfreville titouanfreville self-assigned this Jun 2, 2020
@titouanfreville titouanfreville pinned this issue Jun 2, 2020
@titouanfreville titouanfreville unpinned this issue Jun 2, 2020
@dsoprea
Copy link
Author

dsoprea commented Jun 2, 2020

It's a project setting under "Webhooks".

Screenshot_20200602-105711_Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants