[Bug 2025748] Re: Launchpad downloads fail with "incorrect size, got X expected Y"

2023-07-10 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-dev-tools -
0.193ubuntu4~20.04.3

---
ubuntu-dev-tools (0.193ubuntu4~20.04.3) focal; urgency=medium

  * ubuntutools/misc.py: swap iter_content for raw stream with
"Accept-Encoding: identity" to fix .diff.gz downloads (LP: #2025748). This
fixes a regression caused by the backport of 0.193 that included this bug.

 -- Robie Basak   Thu, 06 Jul 2023 12:14:00
+

** Changed in: ubuntu-dev-tools (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2025748

Title:
  Launchpad downloads fail with "incorrect size, got X expected Y"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/2025748/+subscriptions


-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 2025748] Re: Launchpad downloads fail with "incorrect size, got X expected Y"

2023-07-10 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-dev-tools -
0.193ubuntu4~22.04.2

---
ubuntu-dev-tools (0.193ubuntu4~22.04.2) jammy; urgency=medium

  * ubuntutools/misc.py: swap iter_content for raw stream with
"Accept-Encoding: identity" to fix .diff.gz downloads (LP: #2025748). This
fixes a regression caused by the backport of 0.193 that included this bug.

 -- Robie Basak   Thu, 06 Jul 2023 13:09:21
+0100

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2025748

Title:
  Launchpad downloads fail with "incorrect size, got X expected Y"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/2025748/+subscriptions


-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 2025748] Re: Launchpad downloads fail with "incorrect size, got X expected Y"

2023-07-10 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-dev-tools -
0.193ubuntu4~22.10.2

---
ubuntu-dev-tools (0.193ubuntu4~22.10.2) kinetic; urgency=medium

  * ubuntutools/misc.py: swap iter_content for raw stream with
"Accept-Encoding: identity" to fix .diff.gz downloads (LP: #2025748). This
fixes a regression caused by the backport of 0.193 that included this bug.

 -- Robie Basak   Thu, 06 Jul 2023 13:06:18
+0100

** Changed in: ubuntu-dev-tools (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2025748

Title:
  Launchpad downloads fail with "incorrect size, got X expected Y"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/2025748/+subscriptions


-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 2025748] Re: Launchpad downloads fail with "incorrect size, got X expected Y"

2023-07-10 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-dev-tools -
0.193ubuntu4~23.04.2

---
ubuntu-dev-tools (0.193ubuntu4~23.04.2) lunar; urgency=medium

  * ubuntutools/misc.py: swap iter_content for raw stream with
"Accept-Encoding: identity" to fix .diff.gz downloads (LP: #2025748). This
fixes a regression caused by the backport of 0.193 that included this bug.

 -- Robie Basak   Thu, 06 Jul 2023 13:01:35
+0100

** Changed in: ubuntu-dev-tools (Ubuntu Lunar)
   Status: Fix Committed => Fix Released

** Changed in: ubuntu-dev-tools (Ubuntu Kinetic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2025748

Title:
  Launchpad downloads fail with "incorrect size, got X expected Y"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/2025748/+subscriptions


-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 2025748] Update Released

2023-07-10 Thread Łukasz Zemczak
The verification of the Stable Release Update for ubuntu-dev-tools has
completed successfully and the package is now being released to
-updates.  Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2025748

Title:
  Launchpad downloads fail with "incorrect size, got X expected Y"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/2025748/+subscriptions


-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 2025748] Re: Launchpad downloads fail with "incorrect size, got X expected Y"

2023-07-10 Thread Łukasz Zemczak
As this is a developer-facing package (regular users unaffected) +
changes are limited to package download with the test scope vast enough,
I'll consider this package for an early release.

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2025748

Title:
  Launchpad downloads fail with "incorrect size, got X expected Y"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/2025748/+subscriptions


-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 2025748] Re: Launchpad downloads fail with "incorrect size, got X expected Y"

2023-07-10 Thread Robie Basak
I performed the Test Plan on Lunar, Kinetic, Jammy and Focal. With the
current versions the problem reproduced as expected in scenarios A and
B, and scenario C worked as expected. Then I upgraded to proposed and
scenarios A, B and C all worked as expected.

The current versions were:

Lunar: 0.193ubuntu4~23.04.1
Kinetic: 0.193ubuntu4~22.10.1
Jammy: 0.193ubuntu4~22.04.1
Focal: 0.193ubuntu4~20.04.2

The proposed versions were:

Lunar: 0.193ubuntu4~23.04.2
Kinetic: 0.193ubuntu4~22.10.2
Jammy: 0.193ubuntu4~22.04.2
Focal: 0.193ubuntu4~20.04.3

My notes from reproducing manually are below in case I need to do these
steps again:

lxc launch ubuntu:focal rbasak-focal
lxc exec rbasak-focal bash
apt update && apt -y install --no-install-recommends ubuntu-dev-tools
dpkg-query -W ubuntu-dev-tools

0.193ubuntu4~23.04.1
0.193ubuntu4~22.10.1
0.193ubuntu4~22.04.1
0.193ubuntu4~20.04.2

python3
from ubuntutools.archive import UbuntuSourcePackage
pkg=UbuntuSourcePackage(package='ffc', version='0.7.0-1')
pkg.pull()
exit()
stat -c%s ffc_0.7.0-1.diff.gz

rm *

pull-lp-source ffc 0.7.0-1

stat -c%s ffc_0.7.0-1.diff.gz
rm -r ffc*

pull-pkg -D ubuntu --upload-queue --pull source elfutils jammy
xxd elfutils_0.186-1ubuntu0.1_source.changes|head -1
rm -r elf*

# manual on Focal
add-apt-repository -yp proposed
apt -y install -t focal-proposed ubuntu-dev-tools


dpkg-query -W ubuntu-dev-tools
0.193ubuntu4~23.04.2
0.193ubuntu4~22.10.2
0.193ubuntu4~22.04.2
0.193ubuntu4~20.04.3


** Tags removed: verification-needed verification-needed-focal 
verification-needed-jammy verification-needed-kinetic verification-needed-lunar
** Tags added: verification-done verification-done-focal 
verification-done-jammy verification-done-kinetic verification-done-lunar

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2025748

Title:
  Launchpad downloads fail with "incorrect size, got X expected Y"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/2025748/+subscriptions


-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs