Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1214391 > unrolled thread

Bug#1082838: DebFile: Have to parse source field to extract source version

Started byStefano Rivera <stefanor@debian.org>
First post2024-09-27 11:50 +0200
Last post2024-09-27 11:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1082838: DebFile: Have to parse source field to extract source version Stefano Rivera <stefanor@debian.org> - 2024-09-27 11:50 +0200

#1214391 — Bug#1082838: DebFile: Have to parse source field to extract source version

FromStefano Rivera <stefanor@debian.org>
Date2024-09-27 11:50 +0200
SubjectBug#1082838: DebFile: Have to parse source field to extract source version
Message-ID<JrfLP-faB6-1@gated-at.bofh.it>
Package: python3-debian
Version: 0.1.49
Severity: normal

DebFile.control.debcontrol() returns a bare Deb822 object representing
the CONTROL file. For a binnmu, this may contain:
Source: foo (1.0-1)

For Packages files we have the helper .source and .source_version
attributes to pares this for us.

Maybe .debcontrol() should return a Packages object with these helpers?

Stefano

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web