From 4988d36ba27cfdaac1f47b6fdaa942abfca5266e Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sun, 4 Dec 2011 00:39:40 +0200 Subject: [PATCH] Extra bits --- debian/control | 1 + debian/copyright | 4 +++- doc/pkg-on-images.1 | 49 +++++++++++++++++++++++++++++++++++++++++++++ setup.py | 1 + 4 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 doc/pkg-on-images.1 diff --git a/debian/control b/debian/control index e15fd97..04712c8 100644 --- a/debian/control +++ b/debian/control @@ -86,6 +86,7 @@ Description: useful tools for Ubuntu developers sbuild. - pbuilder-dist, cowbuilder-dist - wrapper script for managing several build chroots (for different Ubuntu and Debian releases) on the same system. + - pkg-on-images - query if a package is included in daily images. - pull-debian-debdiff - attempts to find and download a specific version of a Debian package and its immediate parent to generate a debdiff. - pull-debian-source - downloads the lastest source package available in diff --git a/debian/copyright b/debian/copyright index 98ffaf6..9d3ab4b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -144,7 +144,8 @@ License: GPL-3+ On Debian systems, the complete text of the GNU General Public License version 3 can be found in the /usr/share/common-licenses/GPL-3 file. -Files: doc/pull-debian-debdiff.1 +Files: doc/pkg-on-images.1 + doc/pull-debian-debdiff.1 doc/pull-debian-source.1 doc/requestbackport.1 doc/reverse-depends.1 @@ -152,6 +153,7 @@ Files: doc/pull-debian-debdiff.1 doc/ubuntu-dev-tools.5 doc/update-maintainer.1 enforced-editing-wrapper + pkg-on-images pull-debian-debdiff pull-debian-source requestbackport diff --git a/doc/pkg-on-images.1 b/doc/pkg-on-images.1 new file mode 100644 index 0000000..1ec52b5 --- /dev/null +++ b/doc/pkg-on-images.1 @@ -0,0 +1,49 @@ +.\" Copyright (C) 2011, Stefano Rivera +.\" +.\" Permission to use, copy, modify, and/or distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +.\" AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +.\" OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +.\" PERFORMANCE OF THIS SOFTWARE. +.TH pkg\-on\-images 1 "December 2011" ubuntu\-dev\-tools + +.SH NAME +pkg\-on\-images \- List the all the daily images containing the +specified packages + +.SH SYNOPSIS +.B pkg\-on\-images \fR[\fIoptions\fR] \fIpackage\fR... + +.SH DESCRIPTION +Lists all the current daily images containing the specified packages. +An index of the current manifests is downloaded from UbuntuWire. + +.SH OPTIONS +.TP +\fB\-b\fR, \fB\-\-binary\fR +The packages specified are binary packages. +This is faster than source packages, as otherwise we must query LP to +determine the binary packages that every specified source package +builds. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display a help message and exit + +.SH EXAMPLES +All the images that contain unity: +.IP +.nf +.B pkg\-on\-images -b unity +.fi + +.SH AUTHORS +\fBpkg\-on\-images\fR and this manpage were written by Stefano Rivera +. +.PP +Both are released under the terms of the ISC License. diff --git a/setup.py b/setup.py index 558b8e1..8f1ec4b 100755 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ scripts = ['404main', 'mk-sbuild', 'pbuilder-dist', 'pbuilder-dist-simple', + 'pkg-on-images', 'pull-debian-debdiff', 'pull-debian-source', 'pull-lp-source',