[Bug 1860456] Re: ubuntutools.archive.UbuntuSourcePackage().pull() fails

2020-01-21 Thread Dan Streetman
> The problem AIUI is something to do with ambiguity when multiple
different orig tarballs are associated with a single upstream version
string

ouch, that is *really* bad.  But indeed, that's the case here.  Oh well,
it's jaunty, right?

updated MR fixes it:

>>> from ubuntutools import archive
>>> archive.UbuntuSourcePackage('akonadi', '1.1.2-0ubuntu1~jaunty1').pull()
Public key not found, could not verify signature
Checksum for akonadi_1.1.2.orig.tar.gz does not match.
>>> 


> I suggest you wait to see Colin's patch

there should be a way to disable the checksum checking, whether we tie
it into verify_signature or use a separate parameter, regardless of any
other patch.  updated MR creates --no-verify-checksums param to handle
that.

@mapreri MR should be ready for your review and merge

-- 
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/1860456

Title:
  ubuntutools.archive.UbuntuSourcePackage().pull() fails

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

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


[Bug 1860456] Re: ubuntutools.archive.UbuntuSourcePackage().pull() fails

2020-01-21 Thread Robie Basak
> Since the checksum actually is incorrect for this package/version...

I believe that's inaccurate. I suggest you wait to see Colin's patch. He
was going to prepare an MP when he has time. The problem AIUI is
something to do with ambiguity when multiple different orig tarballs are
associated with a single upstream version string.

-- 
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/1860456

Title:
  ubuntutools.archive.UbuntuSourcePackage().pull() fails

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

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


[Bug 1860456] Re: ubuntutools.archive.UbuntuSourcePackage().pull() fails

2020-01-21 Thread Dan Streetman
Since the checksum actually is incorrect for this package/version, the
MR will allow this to work if you add verify_signature=False:

>>> archive.UbuntuSourcePackage('akonadi', '1.1.2-0ubuntu1~jaunty1').pull()
Public key not found, could not verify signature
Checksum for akonadi_1.1.2.orig.tar.gz does not match.
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/ubuntutools/archive.py", line 514, in 
pull
raise DownloadError('File %s could not be found' % name)
ubuntutools.archive.DownloadError: File akonadi_1.1.2.orig.tar.gz could not be 
found
>>> archive.UbuntuSourcePackage('akonadi', '1.1.2-0ubuntu1~jaunty1', 
>>> verify_signature=False).pull()
>>> 


** Changed in: ubuntu-dev-tools (Ubuntu)
 Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: ubuntu-dev-tools (Ubuntu)
   Importance: Undecided => Medium

** Changed in: ubuntu-dev-tools (Ubuntu)
   Status: New => In Progress

-- 
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/1860456

Title:
  ubuntutools.archive.UbuntuSourcePackage().pull() fails

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

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


[Bug 1860456] Re: ubuntutools.archive.UbuntuSourcePackage().pull() fails

2020-01-21 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/377880

-- 
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/1860456

Title:
  ubuntutools.archive.UbuntuSourcePackage().pull() fails

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

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


[Bug 1860456] Re: ubuntutools.archive.UbuntuSourcePackage().pull() fails

2020-01-21 Thread Mattia Rizzolo
more specifically, it says

Checksum for akonadi_1.1.2.orig.tar.gz does not match.
DownloadError: File akonadi_1.1.2.orig.tar.gz could not be found

-- 
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/1860456

Title:
  ubuntutools.archive.UbuntuSourcePackage().pull() fails

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

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


[Bug 1860456] Re: ubuntutools.archive.UbuntuSourcePackage().pull() fails

2020-01-21 Thread Robie Basak
Colin has a working patch for this.

-- 
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/1860456

Title:
  ubuntutools.archive.UbuntuSourcePackage().pull() fails

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

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


[Bug 1860456] [NEW] ubuntutools.archive.UbuntuSourcePackage().pull() fails

2020-01-21 Thread Robie Basak
Public bug reported:

Steps to reproduce:

import ubuntutools.archive
ubuntutools.archive.UbuntuSourcePackage('akonadi', 
'1.1.2-0ubuntu1~jaunty1').pull()

This fails with an ubuntutools.archive.DownloadError.

** Affects: ubuntu-dev-tools (Ubuntu)
 Importance: Undecided
 Status: New

-- 
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/1860456

Title:
  ubuntutools.archive.UbuntuSourcePackage().pull() fails

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

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