Diffs not available for syncs on +queue page like for regular uploads

Bug #851562 reported by Scott Kitterman
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

As you can see from the attached screen shot, we have diffs available on pages like https://launchpad.net/ubuntu/oneiric/+queue?queue_state=1 for regular uploads, but when syncs were added to this page, diffs for syncs weren't. Reviewing the diff for a proposed sync takes a non-trivial effort since you have to go pull the package from Debian and from Ubuntu, download them both, and then debdiff them. Please add this for syncs as well.

Revision history for this message
Scott Kitterman (kitterman) wrote :
Deryck Hodge (deryck)
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
tags: added: derivation
Revision history for this message
Colin Watson (cjwatson) wrote :

I've been looking at this a bit. Generating the diff in time is easy (actually easier than doing it in its current position, I think), but showing it is hard because diffs are linked to SPRs and PCJs don't have a fixed SPR.

I wonder if it would be terrible to just add an optional SPR reference to the PCJ table, so that we could use that to look up PackageDiffs as needed? We don't always have an SPR in hand (e.g. in DistroSeriesLocalDifferencesView.requestUpgrades), but as far as I can see the cases where we don't have one when creating the PCJ don't matter for queue reviews.

Colin Watson (cjwatson)
tags: added: package-copies package-diff
Revision history for this message
Colin Watson (cjwatson) wrote :

Discussion at the client sprint: we should encapsulate the SourcePackageRelease handling within PackageCopyJob rather than passing it in from sites that create the jobs; but since PCJs never end up in DistroSeries:+queue until they've been partially run and decided to suspend themselves, they could compute their own SPR links at that point. That would still require a new DB column.

Adam Conrad (adconrad)
summary: - Diff's not available for sync's on +queue page like for regular uploads
+ Diffs not available for syncs on +queue page like for regular uploads
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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