Skip to content
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

Get rid of debug hooks shenanigans #1213

Merged
merged 1 commit into from
Oct 11, 2020

Conversation

NiLuJe
Copy link
Member

@NiLuJe NiLuJe commented Oct 11, 2020

It's currently horribly broken on CircleCI under Busted, for... reasons.
And, surprise surprise, it was originally implemented as... a CI hack.
(in 897906d).
Plus, I don't think we actually ever set debug hooks in the first place
anyway?

I fully expect the testsuite to implode on some random new stuff instead,
but, oh, well.


This change is Reviewable

It's currently horribly broken on CircleCI under Busted, for... reasons.
And, surprise surprise, it was originally implemented as... a CI hack.
(in 897906d).
Plus, I don't think we actually ever set debug hooks in the first place
anyway?

I fully expect the testsuite to implode on some random new stuff insetad,
but, oh, well.
Copy link
Member

@Frenzie Frenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably okay, but you could also just say something like debug = {sethook = function() end} so a human can easily swap it in and out.

@NiLuJe
Copy link
Member Author

NiLuJe commented Oct 11, 2020 via email

@NiLuJe
Copy link
Member Author

NiLuJe commented Oct 11, 2020 via email

@Frenzie
Copy link
Member

Frenzie commented Oct 11, 2020

AFAIU, nothing is ever actually setting a hook

Depends a bit, if they're in Really Useful™ positions I tend to prefer keeping such things around for the future over cleaning it up, so to speak. ymmv I suppose

@NiLuJe NiLuJe merged commit 6f2bd83 into koreader:master Oct 11, 2020
NiLuJe added a commit to NiLuJe/koreader that referenced this pull request Oct 11, 2020
NiLuJe added a commit to koreader/koreader that referenced this pull request Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants