--- pgstaging-0.11.orig/debian/rules +++ pgstaging-0.11/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + +build: build-stamp + $(MAKE) man + +build-stamp: configure-stamp + dh_testdir + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dh_clean + $(MAKE) DESTDIR=$(CURDIR)/debian/pgstaging clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/pgloader. + $(MAKE) DESTDIR=$(CURDIR)/debian/pgstaging install + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install + dh_pysupport + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- pgstaging-0.11.orig/debian/pyversions +++ pgstaging-0.11/debian/pyversions @@ -0,0 +1 @@ +2.4- --- pgstaging-0.11.orig/debian/changelog +++ pgstaging-0.11/debian/changelog @@ -0,0 +1,39 @@ +pgstaging (0.11-1) unstable; urgency=low + + * Clarify the pgstaging/console.py licence: MIT + * Install the client part in /usr/share/pgstaging rather than /usr/lib + + -- Dimitri Fontaine Thu, 10 Dec 2009 12:02:54 +0100 + +pgstaging (0.10-1) unstable; urgency=low + + * Fix handling of -j X option (forgot a cast to int) + * Fix error case when the pg_restore command points to a non existing file + * Stop removing the dump file on pg_restore error, so you can then use load + + -- Dimitri Fontaine Thu, 26 Nov 2009 10:38:48 +0100 + +pgstaging (0.9-1) unstable; urgency=low + + * Implement restore_jobs option to use pg_restore -j + + -- Dimitri Fontaine Tue, 24 Nov 2009 18:02:29 +0100 + +pgstaging (0.8~dev-2) unstable; urgency=low + + * Fix architecture field + + -- Dimitri Fontaine Tue, 24 Nov 2009 16:52:22 +0100 + +pgstaging (0.8~dev-1) unstable; urgency=low + + * Implement a purge command to only keep configured number of online databases + * Implement a vacuumdb command + + -- Dimitri Fontaine Tue, 24 Nov 2009 14:08:22 +0100 + +pgstaging (0.7-1) unstable; urgency=low + + * Initial release (Closes: #552488) + + -- Dimitri Fontaine Mon, 26 Oct 2009 16:17:09 +0100 --- pgstaging-0.11.orig/debian/compat +++ pgstaging-0.11/debian/compat @@ -0,0 +1 @@ +7 --- pgstaging-0.11.orig/debian/pgstaging-client.dirs +++ pgstaging-0.11/debian/pgstaging-client.dirs @@ -0,0 +1 @@ +/usr/share/pgstaging --- pgstaging-0.11.orig/debian/pgstaging-client.install +++ pgstaging-0.11/debian/pgstaging-client.install @@ -0,0 +1 @@ +staging-client.sh /usr/share/pgstaging --- pgstaging-0.11.orig/debian/pgstaging.dirs +++ pgstaging-0.11/debian/pgstaging.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/doc/pgstaging +etc/pg_staging --- pgstaging-0.11.orig/debian/copyright +++ pgstaging-0.11/debian/copyright @@ -0,0 +1,42 @@ +This work was packaged for Debian by: + + Dimitri Fontaine on Mon, 26 Oct 2009 16:17:09 +0100 + +It was downloaded from http://github.com/dimitri/pg_staging + +Upstream Author: + + Dimitri Fontaine + +Copyright: + + Copyright (C) 2009 Dimitri Fontaine + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + +The pgstaging/console.py file is MIT licenced. The terms of services +applying are to be read at http://code.activestate.com/help/terms/. + +The Debian packaging is: + + Copyright (C) 2009 Dimitri Fontaine + +and is licensed under the BSD license too. --- pgstaging-0.11.orig/debian/control +++ pgstaging-0.11/debian/control @@ -0,0 +1,24 @@ +Source: pgstaging +Section: database +Priority: extra +Maintainer: Dimitri Fontaine +Build-Depends: debhelper (>= 7), python-support, asciidoc (>= 8.2), python-docutils +Standards-Version: 3.8.3 +Homepage: http://github.com/dimitri/pg_staging + +Package: pgstaging +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.4) +Description: setup and maintain your staging environments from your production backups + pg_staging implements commands for playing with your PostgreSQL backups, + allowing you to expose in devel or prelive environments more than one copy + of a live database at the same time. + + +Package: pgstaging-client +Architecture: all +Recommends: pgbouncer, skytools +Description: client script for pgstaging + pg_staging implements commands for playing with your PostgreSQL backups, + allowing you to expose in devel or prelive environments more than one copy + of a live database at the same time. --- pgstaging-0.11.orig/debian/pycompat +++ pgstaging-0.11/debian/pycompat @@ -0,0 +1 @@ +2 --- pgstaging-0.11.orig/debian/pgstaging.docs +++ pgstaging-0.11/debian/pgstaging.docs @@ -0,0 +1,4 @@ +README.html +README.rst +TODO +TODO.html --- pgstaging-0.11.orig/debian/pgstaging.manpages +++ pgstaging-0.11/debian/pgstaging.manpages @@ -0,0 +1,2 @@ +pg_staging.1 +pg_staging.5 --- pgstaging-0.11.orig/debian/pgstaging-client.docs +++ pgstaging-0.11/debian/pgstaging-client.docs @@ -0,0 +1,2 @@ +README.rst +README.html