Bug#456113: python-apt: missing support for SHA256 in apt_pkg

2009-01-11 Thread Julian Andres Klode
tag 456113 fixed-upstream

On Wed, Dec 12, 2007 at 11:37:41PM -0800, Cameron Dale wrote:
> Package: python-apt
> Version: 0.7.3.1
> Severity: normal
> 
> 
> I believe that the PkgRecords is missing support for the SHA256 hashes
> used for packages. I can access the MD5 and SHA1 hashes through e.g.
> 
> r = apt_pkg.GetPkgRecords(cache)
> r.Lookup(...)
> r.SHA1Hash
> 
> but SHA256Hash just returns an AttributeError.
I have fixed this in the jak branch as of revision 229 (aka
j...@debian.org-2009090229-nfusiztkf0h39u2u).

See http://bzr.debian.org/loggerhead/users/jak/python-apt/jak/revision/229
> 
> Thanks,
> Cameron
> 
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (990, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.22-1-vserver-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages python-apt depends on:
> ii  apt [libapt-pkg-libc6.6-6-4.4 0.7.6-0.1  Advanced front-end for dpkg
> ii  apt-utils [libapt-inst-libc6. 0.7.6-0.1  APT utility programs
> ii  libc6 2.6.1-1GNU C Library: Shared libraries
> ii  libgcc1   1:4.2.1-4  GCC support library
> ii  libstdc++64.2.1-4The GNU Standard C++ Library v3
> ii  lsb-release   3.1-24 Linux Standard Base version 
> report
> ii  python2.4.4-6An interactive high-level 
> object-o
> ii  python-central0.5.15 register and build utility for 
> Pyt
> 
> python-apt recommends no packages.
> 
> -- no debconf information
> 
> 
> 

-- 
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juli...@jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/


signature.asc
Description: Digital signature


Bug#456113: python-apt: missing support for SHA256 in apt_pkg

2007-12-13 Thread Cameron Dale
Package: python-apt
Version: 0.7.3.1
Severity: normal


I believe that the PkgRecords is missing support for the SHA256 hashes
used for packages. I can access the MD5 and SHA1 hashes through e.g.

r = apt_pkg.GetPkgRecords(cache)
r.Lookup(...)
r.SHA1Hash

but SHA256Hash just returns an AttributeError.

Thanks,
Cameron


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-1-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-apt depends on:
ii  apt [libapt-pkg-libc6.6-6-4.4 0.7.6-0.1  Advanced front-end for dpkg
ii  apt-utils [libapt-inst-libc6. 0.7.6-0.1  APT utility programs
ii  libc6 2.6.1-1GNU C Library: Shared libraries
ii  libgcc1   1:4.2.1-4  GCC support library
ii  libstdc++64.2.1-4The GNU Standard C++ Library v3
ii  lsb-release   3.1-24 Linux Standard Base version report
ii  python2.4.4-6An interactive high-level object-o
ii  python-central0.5.15 register and build utility for Pyt

python-apt recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]