BotBotMe / botbot-plugins

External plugins for BotBot.me
https://lincolnloop.com/blog/saying-goodbye-botbotme/
BSD 3-Clause "New" or "Revised" License
32 stars 21 forks source link

Short GitHub URLS #20

Open ipmb opened 10 years ago

ipmb commented 10 years ago

via @hamiltont at https://github.com/BotBotMe/botbot-bot/issues/30


I don't see an issue for this, so here's one in case it's just never been brought up.

Currently this is the URL format:

$ gh#1129
$ Objectify FrameworkTest Types: https://github.com/TechEmpower/FrameworkBenchmarks/pull/1129

I'd lvoe to see this instead

$ gh#1129
$ Objectify FrameworkTest Types: http://git.io/7P6RkA

This is what Travis-CI does for their IRC notifications and IMO it's much cleaner. It's also a relatively trusted URL - I think git.io will only shorten URLs to github

ipmb commented 10 years ago

If anybody wants to look at this, this is the module: https://github.com/BotBotMe/botbot-plugins/blob/master/botbot_plugins/plugins/github.py