Inconsistent behavior between syncpackage and requestsync in 0.143ubuntu0.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
== SRU ==
[IMPACT]
requestsync doesn't check proposed, and will include too many changelog entries in the bug
[TEST CASE]
Find a package like the one in the report, by running this UDD query:
SELECT rp.source, r.version, rp.version, d.release, d.version
FROM ubuntu_sources AS rp
INNER JOIN ubuntu_sources AS r
ON (rp.source = r.source
AND rp.version != r.version
AND r.release='raring')
INNER JOIN sources AS d
ON (rp.source = d.source
AND rp.version < d.version
AND r.version != d.version
AND d.release IN ('sid', 'experimental'))
WHERE rp.release=
Run syncpackage and requestsync on it (without actually doing anything).
See that the changelogs differ.
== Original Report ==
If a package exists in ${DEVELOPMENT_
$ requestsync -d experimental shiboken
W: Target release missing - assuming raring
Consider using syncpackage(1) for syncs that do not require feature freeze exceptions.
Currently the bug report looks like:
Summary (one line):
Sync shiboken 1.1.2-2 (universe) from Debian experimental (main)
Description:
Please sync shiboken 1.1.2-2 (universe) from Debian experimental (main)
Changelog entries since current raring version 1.1.1-1:
shiboken (1.1.2-2) experimental; urgency=low
* Add python{
* Make dbg tests build-critical.
-- Didier Raboud <email address hidden> Mon, 29 Oct 2012 10:06:19 +0100
shiboken (1.1.2-1) experimental; urgency=low
* New 1.1.2 "Alaursa" release.
- Add 6 1.1.2-specific symbols;
* Update B-Ds:
- add python{,3}-numpy to succeed all tests.
-- Didier Raboud <email address hidden> Tue, 04 Sep 2012 08:47:15 +0200
Edit [y|N]? ^C
User abort.
$ syncpackage -d experimental shiboken
syncpackage: Source shiboken -> raring/Proposed: current version 1.1.2-1, new version 1.1.2-2
syncpackage: New changes:
shiboken (1.1.2-2) experimental; urgency=low
* Add python{
* Make dbg tests build-critical.
-- Didier Raboud <email address hidden> Mon, 29 Oct 2012 10:06:19 +0100
Sync this package [y|N]? y
syncpackage: Request succeeded; you should get an e-mail once it is processed.
The syncpackage behavior is the one we want.
description: | updated |
This bug was fixed in the package ubuntu-dev-tools - 0.145
---------------
ubuntu-dev-tools (0.145) experimental; urgency=low
[ Stefano Rivera ]
* syncpackage: Don't throw away release pockets, returning correct errors
when the source and destination match even though the destination release
pocket doesn't.
* requestsync: We now sync to proposed (LP: #1073060)
[ Steve Langasek ]
* Initial support for setting up cross-build chroots.
-- Stefano Rivera <email address hidden> Tue, 06 Nov 2012 22:58:32 +0200