Debbugs::Versions(3pm) | User Contributed Perl Documentation | Debbugs::Versions(3pm) |
Debbugs::Versions - debbugs version information processing
The Debbugs::Versions module provides generic support functions for the implementation of version tracking in debbugs.
Complex organizations, such as Debian, require the tracking of bugs in multiple versions of packages. The versioning scheme is frequently branched: for example, a security update announced by an upstream developer will be packaged as-is for the unstable distribution while a minimal backport is made to the stable distribution. In order to report properly on the bugs open in each distribution, debbugs must be aware of the structure of the version tree for each package.
Gathering the version data is beyond the scope of this module: in the case of Debian it is carried out by mechanical analysis of package changelogs. Debbugs::Versions takes version data for a package generated by this or any other means, merges it into a tree structure, and allows the user to perform queries based on supplied data about the versions in which bugs have been found and the versions in which they have been fixed.
The data format looks like this (backslashes are not actually there, and indicate continuation lines):
1.5.4 1.5.0 1.5-iwj.0.4 1.5-iwj.0.3 1.5-iwj.0.2 1.5-iwj.0.1 1.4.0 1.3.14 \ 1.3.13 1.3.12 1.3.11 1.3.10 ... 1.4.1.6 1.4.1.5 1.4.1.4 1.4.1.3 1.4.1.2 1.4.1.1 1.4.1 1.4.0.31 1.4.0.30 \ 1.4.0.29 1.4.0.28 1.4.0.27 1.4.0.26.0.1 1.4.0.26 1.4.0.25 1.4.0.24 \ 1.4.0.23.2 1.4.0.23.1 1.4.0.23 1.4.0.22 1.4.0.21 1.4.0.20 1.4.0.19 \ 1.4.0.18 1.4.0.17 1.4.0.16 1.4.0.15 1.4.0.14 1.4.0.13 1.4.0.12 \ 1.4.0.11 1.4.0.10 1.4.0.9 1.4.0.8 1.4.0.7 1.4.0.6 1.4.0.5 1.4.0.4 \ 1.4.0.3 1.4.0.2 1.4.0.1 1.4.0 \ 1.4.0.35 1.4.0.34 1.4.0.33 1.4.0.32 1.4.0.31
This method is expected mainly to be used internally by the "merge" method.
This method is mainly for internal use.
"buggy" attempts to cope with found and fixed versions not in the version tree by simply checking whether any fixed versions are recorded in the event that nothing is known about any of the found versions.
Whether this is faster than calling "buggy" for each version you're interested in is not altogether clear, and depends rather strongly on the number of known and interested versions.
2020-04-07 | perl v5.30.0 |