[MIR] distro-info, distro-info-data, and shunit2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
distro-info (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
distro-info-data (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
liblist-compare-perl (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
shunit2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is a Main Inclusion Request for source packages distro-info, distro-info-utils, and shunit2.
== Main Inclusion Request Info ==
* Availability
distro-info has been in universe since 11.10. The package distro-info-data is essentially split off of that package, and will be new in 12.04.
shunit2 has been in universe since lucid in its same upstream (2.1.5 version).
* Rationale
The distro-info package provides a nice way for packages to avoid hard-coding release names and then later requiring an SRU to support new releases. Because it is not in main, packages *in* main cannot use it without providing a fallback to a list of hard coded strings.
The maas and cobbler packages are just 2 that use this to avoid hard-coding release names or other distro-info.
shunit2 was selected as a unit test framework to make sure the new sh version of the utilities were functioning as intended.
* Security
* distro-info, distro-info-data:
There should be little security concern, as there is only command line tools that are not required to run as root and text in CSV formated data.
The tools is written in shell, and should be fairly robust against command execution, since it only forks one time (for the 'date' command).
* shunit2: shunit2 has only been touched once since 10.04, and not for security related or severe bug.
* Quality assurance:
There is a test suite in distro-info that ensures that data output is as expected. The commands 'ubuntu-
* UI standards
There is no translation provided in distro-info, distro-info-data, or shunit2. This could be added at a later date, but this is probably just a developer tool, and non-translated output is not terrible.
* Dependencies:
All build and binary dependencies are in main.
* Maintenance:
The distro-info-data package has been designed explicitly for simple SRUs. The distro-info package really should not require much maintenance, but is present in debian and has an maintainer active in both Debian and Ubuntu (Benjamin Drung).
shunit2 has only been touched twice in debian since 10.04. It is a straight sync, and should not cause any issues.
* Background information:
I'm aware of at least 3 packages that I've been involved in developing (cloud-utils, cobbler, and maas) that use distro-info. I'm sure there are others, and the general idea of removing the requirement of hard coded release names is extremely useful.
Related bugs:
* Bug 963062: [FFE] distro-info should have posix shell cmdline tool
description: | updated |
description: | updated |
Changed in distro-info (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
Changed in shunit2 (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
Changed in distro-info-data (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
I think it is important to note that as of 0.7 distro-info no longer has a dependency on haskell. Please note it did FTBFS because of 3 failing tests.