Static URL pointing to the latest .dsc file

Bug #192715 reported by Siegfried Gevatter
2
Affects Status Importance Assigned to Milestone
REVU
Fix Released
Low
Siegfried Gevatter
Debian
Fix Released
Unknown

Bug Description

There should be a static URL to get the latest .dsc file for a certain package.

Rationale:
 - Useful for linking to it in e-mails that ask for review.
 - Can be used in scripts.
 - It looks nice.

Example:
 http://revu.tauware.de/dsc/examplepkg (will point to the latest .dsc for package «examplepkg»).

I'll work on this and ping sistpoty on IRC once it's ready.

Related branches

Changed in revu:
assignee: nobody → rainct
status: New → In Progress
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Revision 179 of my branch ('revu1') implements this and is ready for merging.

At the end the URL is http://revu.tauware.de/dsc.py?package=examplepkg, nice URL's weren't as easy as I thought.

Changed in revu:
assignee: rainct → sistpoty
status: In Progress → Confirmed
Revision history for this message
StefanPotyra (sistpoty) wrote :

I guess you should force the content-type to text/plain (see diff.py), others than that, it looks quite good!
Even comments in common.py, cool!

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Added :).

Sadly dget doesn't accept the URL (that's why I added the &url option, to still make this useful for scripts), but I've reported a bug related to this to the devscripts developer (Debian #466605) and will try to workaround this once they fix dget.

Revision history for this message
StefanPotyra (sistpoty) wrote :

merged into trunk, not yet in production. I also readded the doc-string for details.py (index-function).

Revision history for this message
StefanPotyra (sistpoty) wrote :

oh, I've also updated the README to add you as copyright holder. Please check, if I got it right.

Changed in revu:
status: Confirmed → Fix Committed
Revision history for this message
Siegfried Gevatter (rainct) wrote :

This is now available in REVU. As already said, the implementation isn't really ideal yet and should be revised later (lets wait some time to see if Debian answers), but at least the feature is now there.

For example, a script could now request the URL to kdesudo-kde4's latest .dsc file from: http://revu.tauware.de/dsc.py?package=kdesudo-kde4&url, or directly access it with the non-dget'able URL http://revu.tauware.de/dsc.py?package=kdesudo-kde4.

Changed in revu:
assignee: sistpoty → rainct
importance: Undecided → Low
status: Fix Committed → Fix Released
Changed in debian:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.