** Description changed: + == Feature Freeze Enhancement Info == + = Proposed Changes = + * split distro-info into 2 source packages, distro-info-data and distro-info + where distro-info would depend on distro-info-data. The -data package + will provide only the data files (csv formated data) and the distro-info + package would provide binaries that read that data. + * replace the haskell version of 'distro-info' with a posix shell version + The posix shell version removes the build-dependency on haskell, while + providing roughly the same speed. + + = Rationale = + This change is desireable for the following reasons: + a.) the /bin/sh are significantly smaller than haskell commands, arch independent and just as fast + b.) When there is a new distro name or data available, we will not have to SRU the distro-info package, but only the distro-info-data package. That means no rebuild is necessary and the SRU update will be much more clear and small. + c.) By removing the haskell version there is no longer a build dependency on haskelll, so both packages are suitable for main inclusion. + + 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. Unfortunately, right now it is not in main, meaning main + packages *cannot* use that, or must provide a fallback and only use + 'Suggests' for distro-info. + + = Other Information = + Benjamin developed a shell test case that covered the output of the old commands and the replacement shell command. The development of the new command was done against this test case, which reasonably assures that any thing using the old will not know any difference. + + + == Original Description == when you install distro-info, you get a haskell tool to read the csv data in /usr/bin/. It would make sense for that script to be in posix shell if it can be acceptably fast. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: distro-info 0.5.1 - ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9 - Uname: Linux 3.2.0-18-generic x86_64 - ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Fri Mar 23 08:46:13 2012 - EcryptfsInUse: Yes - InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012) - ProcEnviron: - TERM=xterm - PATH=(custom, user) - LANG=en_US.UTF-8 - SHELL=/bin/bash SourcePackage: distro-info - UpgradeStatus: Upgraded to precise on 2011-11-07 (136 days ago)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/963062 Title: [FFE] distro-info should have posix shell cmdline tool To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/963062/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs