Menu

Tree [2a15b5] master /
 History

HTTPS access


File Date Author Commit
 debian 2014-01-10 Bryan Gartner Bryan Gartner [cab343] updated debian/rpm packaging to use same source...
 samples 2014-01-11 Bryan Gartner Bryan Gartner [2a15b5] updated Ubuntu probes/samples
 AUTHORS 2012-07-08 Bryan Gartner Bryan Gartner [81c48c] recognizing contributors
 COPYING 2012-05-01 Bryan Gartner Bryan Gartner [ddf2c7] augment project with packaging content
 ChangeLog 2014-01-11 Bryan Gartner Bryan Gartner [2a15b5] updated Ubuntu probes/samples
 INSTALL 2012-05-01 Bryan Gartner Bryan Gartner [ddf2c7] augment project with packaging content
 Makefile.am 2014-01-10 Bryan Gartner Bryan Gartner [f86381] updated debian/rpm packaging to use same source...
 NEWS 2012-05-01 Bryan Gartner Bryan Gartner [ddf2c7] augment project with packaging content
 README 2012-05-01 Bryan Gartner Bryan Gartner [ddf2c7] augment project with packaging content
 autogen.sh 2012-05-01 Bryan Gartner Bryan Gartner [ddf2c7] augment project with packaging content
 configure.ac 2014-01-04 Bryan Gartner Bryan Gartner [e7b0b5] cleaned up native packaging artifacts, added di...
 distro-id.dsc.in 2014-01-10 Bryan Gartner Bryan Gartner [cab343] updated debian/rpm packaging to use same source...
 distro-id.sh 2014-01-10 Bryan Gartner Bryan Gartner [c282a3] updated Debian probes/samples
 distro-id.spec.in 2014-01-10 Bryan Gartner Bryan Gartner [cab343] updated debian/rpm packaging to use same source...
 test.py 2014-01-11 Bryan Gartner Bryan Gartner [2a15b5] updated Ubuntu probes/samples

Read Me

 #####      #     ####    #####  #####    ####              #    #####
 #    #     #    #          #    #    #  #    #             #    #    #
 #    #     #     ####      #    #    #  #    #  #####      #    #    #
 #    #     #         #     #    #####   #    #             #    #    #
 #    #     #    #    #     #    #   #   #    #             #    #    #
 #####      #     ####      #    #    #   ####              #    #####


provides a standalone POSIX-shell script used to identify a Linux distribution.
Output is modeled after lsb_release output to be easily parseable.  This has
very few dependencies, and is intended to be functional in minimal OS installations.

Target applications include out-of-distro applications that need to expose OS
information (via SNMP, for example), or software that, for whatever reason, cannot
test for a given interface and must instead rely on heuristics.  If it is feasible
to test for an interface, it is recommended to do so instead of making assumptions
about a system.

The distro-id project is designed to deliver a single, standalone shell script that
can be copied and periodically resynced into software releases that make use of
it - similar to config.sub/config.guess - and can also be delivered in a packaged
format with some samples and tests.