[Pkg-rust-maintainers] fakeupstream.cgi: add redirector for crates.io website

Angus Lees gus at debian.org
Wed Dec 23 00:11:26 UTC 2015


Package: qa.debian.org
Severity: wishlist
Tags: patch

The standard packaging tool for the Rust programming language ("cargo")
distributes package sources via the https://crates.io/ website.
Unfortunately for uscan, the dynamic content for this website is all served
via JSON.  According to a discussion with upstream[*], the upstream
infrastructure isn't able to easily serve HTML-formatted dynamic content at
this time.

The attached patch adds a wrapper to fakeupstream.cgi to reformat the
relevant "versions" JSON blob as uscan-friendly HTML.  Please apply.

[*] Upstream discussion: https://github.com/rust-lang/crates.io/issues/238

Thanks!
 - Gus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20151223/4b930f2b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fakeupstream-crates-io.patch
Type: text/x-patch
Size: 1534 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20151223/4b930f2b/attachment.bin>


More information about the Pkg-rust-maintainers mailing list