--- pgloader-2.3.3~dev3.orig/debian/pgloader.manpages +++ pgloader-2.3.3~dev3/debian/pgloader.manpages @@ -0,0 +1 @@ +pgloader.1 --- pgloader-2.3.3~dev3.orig/debian/compat +++ pgloader-2.3.3~dev3/debian/compat @@ -0,0 +1 @@ +5 --- pgloader-2.3.3~dev3.orig/debian/control +++ pgloader-2.3.3~dev3/debian/control @@ -0,0 +1,18 @@ +Source: pgloader +Section: database +Priority: extra +Maintainer: Dimitri Fontaine +Build-Depends: debhelper (>= 5), docbook-to-man (>= 2.0.0), python-support (>= 0.3), xmlto, asciidoc (>= 0.8.2) +Standards-Version: 3.9.1 +Homepage: http://pgloader.projects.postgresql.org + +Package: pgloader +Architecture: all +Depends: ${misc:Depends}, python (>=2.4.4), python-psycopg2 | python-psycopg (<< 1.1.21) | python-psycopg (>= 1.1.21-14), ${python:Depends} +Description: loads flat data files into PostgreSQL + pgloader imports data from flat files and insert it into a database + table. You have to provide a configuration file containing sections, + which each defines how to load a table. CSV and text format are + supported, the former is able to import MySQL dumps when -T is used, + the latter is able to parse multi-line non-quoted with trailing + delimiter quite CSV input, such as given by Informix UNLOAD. --- pgloader-2.3.3~dev3.orig/debian/copyright +++ pgloader-2.3.3~dev3/debian/copyright @@ -0,0 +1,39 @@ +This package was debianized by Dimitri Fontaine on +Mon, 13 Nov 2006 22:56:15 +0100. + +It was downloaded from http://pgloader.projects.postgresql.org/ + +Upstream Author: Dimitri Fontaine + +Copyright: 2005, Jan Wieck + 2006, 2007, 2008 Dimitri Fontaine + +Copyright. The following copyright applies to the entire distribution: + + PostgreSQL Data Base Management System + (formerly known as Postgres, then as Postgres95). + + Portions Copyright (c) 1996-2003, The PostgreSQL Global Development Group + + Portions Copyright (c) 1994, The Regents of the University of California + + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose, without fee, and without a written agreement + is hereby granted, provided that the above copyright notice and this + paragraph and the following two paragraphs appear in all copies. + + IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR + DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS + DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS + ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO + PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + + +The Debian packaging is (C) 2006, Dimitri Fontaine and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- pgloader-2.3.3~dev3.orig/debian/dirs +++ pgloader-2.3.3~dev3/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/pgloader --- pgloader-2.3.3~dev3.orig/debian/changelog +++ pgloader-2.3.3~dev3/debian/changelog @@ -0,0 +1,182 @@ +pgloader (2.3.3~dev3-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Don't hardcode dependency on python-support, use ${python:Depends} + (closes: #542052). Thanks to Faheem Mitha for the bug report. + + -- Jakub Wilk Fri, 06 Jan 2012 02:19:25 +0100 + +pgloader (2.3.3~dev3-1) unstable; urgency=low + + * Implement -f --field-sep to overwrite the default from command line + * Add support for filename arguments, which use defaults + * Implement --reject-log and --reject-data + * Add support for --max-parallel-sections and --section-threads + * Support setting any PG option (-o and config file) + * Have --debug show a traceback + * Fix a bug where pgloader would freeze on early error (no such file) + * Implement an option to set csv field size limit + * Implement --load-from-stdin + * Implement --boundaries + * use gettempdir() rather than hard-coded "/tmp" + * Handle C-c the default system's way + * Fix pgloader thread error management + * Fix exit status to be non-zero in case of known errors + + -- Dimitri Fontaine Tue, 09 Nov 2010 16:10:01 +0100 + +pgloader (2.3.2-1) unstable; urgency=low + + * Implement --from support in all readers (Closes: #531034) + * Use psycopg cursor.copy_expert() when available (> 2.0.6) + * FIX fixedreader: it now know about -C + * FIX Round Robin Reader with respect to offsets in readlines() + * support python 2.3 if not using RRR (not importing collections.deque) + * change logger initialisation to support python 2.3 + * FIX bad usage of STDERR in the code + * Implement skip_head_lines option in configuration (superseded by -F) + * Do not sort() section list when it's been given on command line + * Catch InterfaceError when trying to close connection + + -- Dimitri Fontaine Mon, 29 Jun 2009 09:39:33 +0200 + +pgloader (2.3.1-2) unstable; urgency=low + + * FIX Missing Build-Depends (Closes: #485067) + + -- Dimitri Fontaine Mon, 09 Jun 2008 15:23:56 +0200 + +pgloader (2.3.1-1) unstable; urgency=low + + * FIX: Add database opening into critical path (BoundedSemaphore) + * FIX: close database connection as soon as possible + * Add support for fixed format + * Add support for escaped field_sep, such as \t + + -- Dimitri Fontaine Wed, 21 May 2008 12:19:42 +0200 + +pgloader (2.3.0-1) unstable; urgency=low + + * FIX the cluttered test case, see BUGS.txt + * Better release it as stable now and fix bugs when found than wait for + more testing of the ~dev release candidates. + + -- Dimitri Fontaine Mon, 10 Mar 2008 15:36:04 +0100 + +pgloader (2.3.0~dev3-1) experimental; urgency=low + + * Add options for forcing psycopg version to use (-1, -2, --psycopg-version) + + -- Dimitri Fontaine Wed, 27 Feb 2008 12:54:46 +0100 + +pgloader (2.3.0~dev2-1) experimental; urgency=low + + * columns = * is now supported + + -- Dimitri Fontaine Mon, 25 Feb 2008 14:58:46 +0100 + +pgloader (2.3.0~dev-1) unstable; urgency=low + + * Mutli-threaded pgloader (see options max_parallel_sections, + section_threads and split_file_reading) + * FIX for -C and -I options (replace sys.log with self.log), per user request + + -- Dimitri Fontaine Mon, 11 Feb 2008 15:04:40 +0100 + +pgloader (2.2.6-1) unstable; urgency=low + + * pgloader -V now VACUUM each table separately, no more vacuumdb issued + * New option -D to DISABLE Triggers while loading (ENABLE them one done) + + -- Dimitri Fontaine Fri, 01 Feb 2008 11:01:34 +0100 + +pgloader (2.2.5-1) unstable; urgency=low + + * Now using proper python logging module + * New client_min_messages, log_min_messages, log_file and lc_messages options + * Better reporting of DatabaseError (pkey violation, e.g.) + * Have logging of error data work again in all cases (DatabaseError) + * Protect some more settings from begin overwritten when using templates + + -- Dimitri Fontaine Fri, 07 Dec 2007 23:24:58 +0100 + +pgloader (2.2.5~dev-1) unstable; urgency=low + + * Configuration now supports templates + * Command line option for setting --reformat_path, -R + * Upload to Debian (Closes: #453434) + + -- Dimitri Fontaine Mon, 26 Nov 2007 21:53:11 +0100 + +pgloader (2.2.4) unstable; urgency=low + + * Reformat modules to change input on-the-fly + * mysql module with timestamp function provided + * some fixes, all tests green again + + -- Dimitri Fontaine Tue, 20 Nov 2007 16:48:19 +0100 + +pgloader (2.2.3) unstable; urgency=low + + * User Defined Columns + * Temporary files with copy data content now suffixed .pgloader + * New option --version + * Fix TextReader newline_escapes configuration option reading + * Fix Reader reject initialisation + * Skip database related settings when in DRY_RUN mode (-n) + * List all command line options from man page synopsis + + -- Dimitri Fontaine Wed, 14 Nov 2007 21:57:39 +0100 + +pgloader (2.2.2) unstable; urgency=low + + * New command line options --quiet and --summary (-qs for short) + + -- Dimitri Fontaine Sat, 20 Oct 2007 16:20:18 +0200 + +pgloader (2.2.1) unstable; urgency=low + + * Support for datestyle setting + * Support for omiting column numbering + * Change documentation source format from SGML to asciidoc + + -- Dimitri Fontaine Thu, 23 Aug 2007 12:35:34 +0200 + +pgloader (2.2.0) unstable; urgency=low + + * Support for partial loading of data (subrange(s) of columns) + * COPY table (col1, col2, ..., coln) systematically used + * Support for CSV format (with quoting) + + -- Dimitri Fontaine Mon, 04 Jun 2007 11:13:21 +0200 + +pgloader (2.1.0) unstable; urgency=low + + * Added support for partial COPY table definition + * Documentation and example update (see serial) + + -- Dimitri Fontaine Fri, 19 Jan 2007 12:25:39 +0100 + +pgloader (2.0.2) unstable; urgency=low + + * configurable null and empty_string representations + * bugfix on newline_escapes behavior when all lines are not escaped + * new global newline_escapes setting + * uses by default psycopg2, failback to psycopg1 if not available + * client_encoding can now be set on each table + * documentation (manpage) update + + -- Dimitri Fontaine Wed, 15 Nov 2006 22:26:46 +0100 + +pgloader (2.0.1-2) unstable; urgency=low + + * package cleaning (lintian warnings and error) + + -- Dimitri Fontaine Tue, 14 Nov 2006 18:14:57 +0100 + +pgloader (2.0.1-1) unstable; urgency=low + + * Initial release + + -- Dimitri Fontaine Mon, 13 Nov 2006 22:56:15 +0100 + --- pgloader-2.3.3~dev3.orig/debian/pycompat +++ pgloader-2.3.3~dev3/debian/pycompat @@ -0,0 +1 @@ +2 --- pgloader-2.3.3~dev3.orig/debian/rules +++ pgloader-2.3.3~dev3/debian/rules @@ -0,0 +1,76 @@ +#!/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. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +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/pgloader clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/pgloader. + $(MAKE) DESTDIR=$(CURDIR)/debian/pgloader 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 --- pgloader-2.3.3~dev3.orig/debian/pyversions +++ pgloader-2.3.3~dev3/debian/pyversions @@ -0,0 +1 @@ +2.3-