diff options
-rw-r--r-- | debian/.gitignore | 2 | ||||
-rw-r--r-- | debian/bash-completion | 1 | ||||
-rw-r--r-- | debian/changelog | 121 | ||||
-rw-r--r-- | debian/control | 15 | ||||
-rw-r--r-- | debian/copyright | 26 | ||||
-rwxr-xr-x | debian/rules | 6 | ||||
-rw-r--r-- | debian/source/format | 1 |
7 files changed, 172 insertions, 0 deletions
diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..9382cbe --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,2 @@ +hostinfo-tools* +files diff --git a/debian/bash-completion b/debian/bash-completion new file mode 100644 index 0000000..619d81e --- /dev/null +++ b/debian/bash-completion @@ -0,0 +1 @@ +contrib/bash-completion hostinfo diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f1e2e18 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,121 @@ +hostinfo-tools (0.2.3) bookworm; urgency=medium + + * Update for python 3 + + -- Jonah BrĂ¼chert <jbb@kaidan.im> Tue, 16 Apr 2024 18:16:31 +0200 + +hostinfo-tools (0.2.2) unstable; urgency=medium + + * Bump debian compat level + * Printer: fix unicode support + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Fri, 14 Dec 2018 18:10:50 +0100 + +hostinfo-tools (0.2.1) unstable; urgency=low + + * utils: handle None values in group_by + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Wed, 10 Jul 2013 20:03:40 +0200 + +hostinfo-tools (0.2.0) unstable; urgency=low + + * hostinfo: add -V and --version to get the version + * hostinfo: _match and _match_key are now private functions + * hostinfo: add basic string matching for the search + * Printer: add force argument to force to print at least an empty entry + * hostinfo: add missing or + * utils: new group_by interface for generic grouping + * hostinfo: add filter for matching hosts + * hostinfo: add --details option + * hostinfo: add --only-names option + * hostinfo: fix some pylint + * hostinfo: add basic search mechanism + * Printer: add possibility to add label on top level + * hostinfo: migration from getopts to argparse + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Wed, 05 Jun 2013 19:30:01 +0200 + +hostinfo-tools (0.1.11) unstable; urgency=low + + * Printer: fix renaming of vserver-host to vserver_host + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Mon, 03 Jun 2013 16:20:21 +0200 + +hostinfo-tools (0.1.10) unstable; urgency=low + + * hostinfo: print keys of list elements + * Printer: recursive printing of lists + * Printer: allow to filter plain values + * Printer: fix printing of empty dicts + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Wed, 29 May 2013 19:08:10 +0200 + +hostinfo-tools (0.1.9) unstable; urgency=low + + * Printer: refactoring the whole thing for better pylint result + * bin/hostinfo: use realpath do find relativ lib path + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Wed, 29 May 2013 11:35:59 +0200 + +hostinfo-tools (0.1.8) unstable; urgency=low + + * bin/hostinfo: fix typo + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Fri, 17 May 2013 17:20:41 +0200 + +hostinfo-tools (0.1.7) unstable; urgency=low + + * contrib/bash-completion: add missing command line flags + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Fri, 17 May 2013 16:39:33 +0200 + +hostinfo-tools (0.1.6) unstable; urgency=low + + * bin/hostinfo: write error messages to stderr + * bin/hostinfo: ignore HOSTINFO_PATH if its empty + * bin/hostinfo: add support for --hosts and --short + * some code layout + * hostinfo: basepath for the hostinfo files is configurable now + * hostinfo: add help cmdline parameter + * Printer: add more spaces for better structure of the output + * Printer: refactor the whole thing, add --verbose flag to show keys with value None + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Fri, 17 May 2013 15:42:38 +0200 + +hostinfo-tools (0.1.5) unstable; urgency=low + + * Printer: indent multiline values correctly + * Printer: ignore vserver ips on vserver host + * bin/hostinfo: add --keys to get valid keys for a host + * bin/hostinfo: add --file to get the path of the yaml file with the information + * bin/hostinfo: allow intermixing of option and non-option arguments + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Thu, 16 May 2013 21:18:01 +0200 + +hostinfo-tools (0.1.4) unstable; urgency=low + + * share/bash-completion: add simple bash-completion + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Wed, 08 May 2013 11:23:34 +0200 + +hostinfo-tools (0.1.3) unstable; urgency=low + + * hostinfo: add filter support for sub keys like addresses.eth0 + * bin/hostinfo: add getopt for advanced parameter support + * hostinfo: Prefix class, ports/addresses handling adjusted, new online mode + * hostinfo/printer: new lables + * bin/hostinfo: fix local lib import + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Wed, 08 May 2013 03:46:47 +0200 + +hostinfo-tools (0.1.2) unstable; urgency=low + + * bin/hostinfo: use development libraries if available + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Mon, 06 May 2013 19:57:22 +0200 + +hostinfo-tools (0.1.1) unstable; urgency=low + + * Initial release. + + -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Mon, 06 May 2013 17:31:41 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..25e6cce --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: hostinfo-tools +Section: admin +Priority: extra +Maintainer: Alexander Sulfrian <alex@spline.inf.fu-berlin.de> +Build-Depends: debhelper (>= 10), debhelper-compat (= 10), dh-python, python3, python3-setuptools, bash-completion, python3-debian +Standards-Version: 3.9.1 +Homepage: http://git.spline.inf.fu-berlin.de/hostinfo-tools/ +Vcs-Git: git://git.spline.inf.fu-berlin.de/hostinfo-tools + +Package: hostinfo-tools +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends}, python3-dnspython, python3-yaml +Description: scripts to query the hostinfo database + With this script you could query the autogenerated hostinfo + database with the information bcfg2 knows about the hosts. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..553273d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +This work was packaged for Debian by: + + Alexander Sulfrian <alex@spline.inf.fu-berlin.de> on Mon, 06 May 2013 17:30:15 +0200 + +It was downloaded from: + + http://git.spline.inf.fu-berlin.de/hostinfo-tools/ + +Upstream Author(s): + + Alexander Sulfrian <alex@spline.inf.fu-berlin.de> + +Copyright: + + Copyright (C) 2013 Alexander Sulfrian + +License: + + as-is + +The Debian packaging is: + + Copyright (C) 2013 Alexander Sulfrian <alex@spline.inf.fu-berlin.de> + +and is licensed under the GPL version 3, +see "/usr/share/common-licenses/GPL-3". diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..20cb16b --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=hostinfo + +%: + dh $@ --with=python3,bash-completion --buildsystem=pybuild diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) |