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

Some refactoring of gh_releases #166

Merged
merged 1 commit into from Nov 16, 2020

Conversation

JedMeister
Copy link
Member

@JedMeister JedMeister commented Sep 11, 2020

Primarily the changes are to support unauthenticated usage. But some other tweaks too.

Note: under some circumstances (e.g. multipage results) unathenticated usage may lead to errors and/or unreliable results. So is generally not recommended in production...

FWIW the core of this has been sitting in my local dev common for some time. This is just a commit of what I've been using locally for a while, with a few more tweaks...

Copy link
Member

@OnGle OnGle left a comment

Choose a reason for hiding this comment

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

Sorry I completely missed this, absolutely my fault for being slack with my notifications.

Yeah I don't have any issues with this explicitly, it makes sense to me to support this. As you note occasionally it can lead to unexpected results or errors with multi-page results and the query limit gets hit, perhaps long-term that could be addressed by somehow triggering a hard build failure if it does happen?

@JedMeister
Copy link
Member Author

Thanks man. I'll merge this now then, but I like your idea of an error if the query limit gets hit.

@JedMeister JedMeister merged commit 8167ccc into turnkeylinux:master Nov 16, 2020
@JedMeister JedMeister deleted the gh_releases-refactoring branch November 16, 2020 21:57
@JedMeister JedMeister restored the gh_releases-refactoring branch February 11, 2021 06:06
@JedMeister JedMeister deleted the gh_releases-refactoring branch February 11, 2021 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants