marcoceppi / leankit.hostmar.co

Leankit magic URLs for different schemas I care about
3 stars 3 forks source link

max length of card-id field prohibits linking some bugs/issues #2

Open ryan-beisner opened 8 years ago

ryan-beisner commented 8 years ago

Ex: https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/issues/791

Should be fed as: gh:Ubuntu-Solutions-Engineering/openstack-installer/791

But the UI only accepts through: gh:Ubuntu-Solutions-Engineering/openstack-installe

Perhaps a generic URL type can be implemented, and users could feed a shortened url? Such as: url:http://foo

marcoceppi commented 8 years ago

Would having a UUID generator for this work?

Goto leankit.hostmar.co
Type URL
If < length allowed in Leankit
  produce shortened url
else
  produce unique id

So feeding it http://github.com/juju/charm-tools/issues/2 would produce gh:juju/charm-tools/2 but https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/issues/791 would produce tu:jgr6p53. We could also use this to support URLs which aren't part of the default parsers.

Combined with a greasemonkey script that make a box that did the auto-urling on the leankit site so that you never had to leave leankit to make use of the identifier.

image

The downside is we lose observability, the unique id doesn't /mean/ anything but it's one of the only ways I can see around this limitation.