Applying patches from rt.cpan.org tickets

Ever try to apply patches from a bug report in rt.cpan.org? Up until a few days ago, it was a bit of a pain because curl and wget didn't work without supplying your username and password. This prevented simple patch application like so:

curl -sL https://rt.cpan.org/Ticket/Attachment/.../.../foo.patch \
| git am -s

As of earlier this week, that's fixed! Now you can apply patches quite easily by copying the link in RT directly to your terminal and it will just work.

Share this post: