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

Anonymous gist will be disabled soon #68

Open
Krinkle opened this issue Mar 8, 2018 · 3 comments
Open

Anonymous gist will be disabled soon #68

Krinkle opened this issue Mar 8, 2018 · 3 comments

Comments

@Krinkle
Copy link
Contributor

Krinkle commented Mar 8, 2018

https://blog.github.com/2018-02-18-deprecation-notice-removing-anonymous-gist-creation/

This is currently used by oftn-bot to report a failed ecma evaluation. It uploads it as an anonnymous Gist, and then reports a shortened Git.io url back to IRC.

For example:

(okay) undefined:1 ... https://git.io/vAxsO (expanded)

@eligrey
Copy link
Member

eligrey commented Mar 8, 2018

Maybe it's time to switch to Mozilla's public pastebin or require account credentials for gist.

@ljharb
Copy link
Member

ljharb commented Mar 8, 2018

I'd say requiring account credentials is fine; creating a new account is pretty easy.

@brigand
Copy link
Contributor

brigand commented Mar 9, 2018

Perhaps have a backup service that doesn't require auth, and use that if the config doesn't include a token. Gist seems to be well-liked, and I see few (but not zero) people using the mozilla paste site. I tried to paste some ES6 code into it, and it didn't like that. Also currently the gist code requires a site that supports markdown rendering, which the mozilla paste site doesn't seem to support.

The only thing I like about the mozilla paste site (aside from expiration, maybe) is that it's likely to continue existing for a long time, while some others have less of a backing.

Just putting this out there: another option is for the bot run an HTTP server, and display the pastes as basic html. No external service, but bad for other reasons. I think relying on an external service is best for now, at least in oftn-bot (I'm working on an IRC bot which will have a web interface).

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

No branches or pull requests

4 participants