incorporate backport-source script

Bug #66836 reported by Colin Watson
6
Affects Status Importance Assigned to Milestone
ubuntu-archive-tools
Won't Fix
Low
Unassigned

Bug Description

At the distro sprint in Wiesbaden, with the help of Scott and Mark, I ported James' "mia.py" backport generation script to run on Soyuz, calling it "backport-source". It has some resemblance to sync-source, except that instead of retrieving an external source package and generating a .changes file for it (or, in the future, creating new publishing records), it takes a source package in a distro and munges its changelog so that it can be "uploaded" to a backports pocket of a different distrorelease with a different version number so that it can be built in the target distrorelease.

As with the other ported-from-dak scripts, it's not in Launchpad style; sorry about that. I hope you can accept it on the same basis as the other ported-from-dak scripts for the time being.

Revision history for this message
Colin Watson (cjwatson) wrote :

This probably wants to become scripts/ftpmaster-tools/backport-source.py.

Celso Providelo (cprov)
Changed in soyuz:
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Here's our current version, adjusted to cope with intervening Launchpad changes.

Is there any hope that this will ever be reviewed and incorporated? It's been nearly a year and a half now, and I'm no fonder of having to use long-term local copies of scripts that talk to the Launchpad database than you are.

Revision history for this message
Christian Reis (kiko) wrote :

Well, if you must ask... where are the tests for this code, Colin?

Revision history for this message
Colin Watson (cjwatson) wrote :

I have no experience with writing Launchpad tests, but I would be happy to work with somebody to specify them.

Revision history for this message
Robert Collins (lifeless) wrote :

@Colin, I think the best way forward here is to file this as a merge proposal.

visibility: private → public
Revision history for this message
Robert Collins (lifeless) wrote :

In terms of our overall workload and impact on users, I don't think this is high itself - sorry.

Changed in soyuz:
importance: High → Medium
Revision history for this message
Robert Collins (lifeless) wrote :

Putting into the backlog.

Changed in launchpad:
importance: Medium → Low
Changed in launchpad:
importance: Low → Critical
importance: Critical → Low
Revision history for this message
Robert Collins (lifeless) wrote :

...
20:47 < lifeless> cjwatson: client script sounds good
20:48 < lifeless> cjwatson: should we close the bug then ?
20:50 < cjwatson> lifeless: maybe reassign to the ubuntu-archive-tools project so it becomes our problem

affects: launchpad → ubuntu-archive-tools
Revision history for this message
Colin Watson (cjwatson) wrote :

Today I decommissioned the backport-source infrastructure and deprecated the archive admin interface to backports in favour of having backporters run the backportpackage tool themselves. One fewer thing we need to run with elevated privileges on ftpmaster!

Changed in ubuntu-archive-tools:
status: Triaged → Won't Fix
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.