mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-07 06:47:00 +02:00
Prepare a debian package, and make it pgloader 3.0.94.
This commit is contained in:
parent
477a52a6d3
commit
f58b5960cd
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,3 +3,6 @@ local-data
|
||||
pgloader.1
|
||||
pgloader.html
|
||||
pgloader.pdf
|
||||
debian/pgloader.debhelper.log
|
||||
debian/pgloader.substvars
|
||||
debian/pgloader/
|
11
Makefile
11
Makefile
@ -7,12 +7,12 @@ BUILDAPP = build/buildapp
|
||||
MANIFEST = build/manifest.ql
|
||||
PGLOADER = build/pgloader.exe
|
||||
|
||||
DEBUILD_ROOT = /tmp/pgloader
|
||||
|
||||
all: $(PGLOADER)
|
||||
|
||||
docs:
|
||||
pandoc pgloader.1.md -o pgloader.1
|
||||
pandoc pgloader.1.md -o pgloader.html
|
||||
pandoc pgloader.1.md -o pgloader.pdf
|
||||
|
||||
~/quicklisp/local-projects/qmynd:
|
||||
git clone https://github.com/qitab/qmynd.git $@
|
||||
@ -91,6 +91,13 @@ vm-build: vm
|
||||
test:
|
||||
$(MAKE) PGLOADER=$(realpath $(PGLOADER)) -C test all
|
||||
|
||||
deb:
|
||||
mkdir -p $(DEBUILD_ROOT) && rm -rf $(DEBUILD_ROOT)/*
|
||||
rsync -Ca --exclude=build/* ./ $(DEBUILD_ROOT)/
|
||||
cd $(DEBUILD_ROOT) && make -f debian/rules orig
|
||||
cd $(DEBUILD_ROOT) && debuild -us -uc -sa
|
||||
cp -a /tmp/pgloader_* build/
|
||||
|
||||
check: test ;
|
||||
|
||||
.PHONY: test
|
||||
|
@ -20,6 +20,7 @@ sudo apt-get install -y postgresql-9.3 postgresql-contrib-9.3 \
|
||||
postgresql-9.3-ip4r \
|
||||
sbcl \
|
||||
git patch unzip \
|
||||
devscripts \
|
||||
libsqlite3-dev
|
||||
|
||||
sudo DEBIAN_FRONTEND=noninteractive \
|
||||
|
6
debian/README.source
vendored
Normal file
6
debian/README.source
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
pgloader for Debian
|
||||
-------------------
|
||||
|
||||
See https://github.com/dimitri/pgloader
|
||||
|
||||
-- Dimitri Fontaine <dimitri@2ndQuadrant.fr>, Mon, 9 Dec 2013 11:59:38 +0100
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
pgloader (3.0.94-1) unstable; urgency=low
|
||||
|
||||
* Release Candidate 4.
|
||||
|
||||
-- Dimitri Fontaine <dimitri@2ndQuadrant.fr> Mon, 09 Dec 2013 14:58:51 +0400
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
8
|
26
debian/control
vendored
Normal file
26
debian/control
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
Source: pgloader
|
||||
Section: database
|
||||
Priority: extra
|
||||
Maintainer: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
|
||||
Build-Depends: debhelper (>= 8.0.0)
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: https://github.com/dimitri/pgloader
|
||||
Vcs-Git: https://github.com/dimitri/pgloader.git
|
||||
Vcs-Browser: https://github.com/dimitri/pgloader
|
||||
|
||||
Package: pgloader
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: extract, transform and load data into PostgreSQL
|
||||
pgloader imports data from different kind of sources and COPY it into
|
||||
PostgreSQL.
|
||||
.
|
||||
The command language is described in the manual page and allows to describe
|
||||
where to find the data source, its format, and to describe data processing
|
||||
and transformation.
|
||||
.
|
||||
Supported source formats include CSV, fixed width flat files, dBase3 files
|
||||
(DBF), and SQLite and MySQL databases. In most of those formats, pgloader
|
||||
is able to auto-discover the schema and create the tables and the indexes
|
||||
in PostgreSQL. In the MySQL case it's possible to edit CASTing rules from
|
||||
the pgloader command directly.
|
25
debian/copyright
vendored
Normal file
25
debian/copyright
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: pgloader
|
||||
Source: https://github.com/dimitri/pgloader
|
||||
|
||||
Files: *
|
||||
Copyright: 2013 Dimitri Fontaine <dimitri@2ndQuadrant.fr>
|
||||
|
||||
License: The PostgreSQL Licence
|
||||
|
||||
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.
|
2
debian/docs
vendored
Normal file
2
debian/docs
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
README.md
|
||||
pgloader.1.md
|
1
debian/files
vendored
Normal file
1
debian/files
vendored
Normal file
@ -0,0 +1 @@
|
||||
pgloader_3.0.94-1_amd64.deb database extra
|
1
debian/pgloader.install
vendored
Normal file
1
debian/pgloader.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
build/pgloader.exe /usr/bin
|
1
debian/pgloader.links
vendored
Normal file
1
debian/pgloader.links
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/bin/pgloader.exe usr/bin/pgloader
|
1
debian/pgloader.manpages
vendored
Normal file
1
debian/pgloader.manpages
vendored
Normal file
@ -0,0 +1 @@
|
||||
pgloader.1
|
25
debian/rules
vendored
Executable file
25
debian/rules
vendored
Executable file
@ -0,0 +1,25 @@
|
||||
#!/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
|
||||
|
||||
PKGVERS = $(shell dpkg-parsechangelog | awk -F '[:-]' '/^Version:/ { print substr($$2, 2) }')
|
||||
EXCLUDE = --exclude-vcs --exclude=debian --exclude=build
|
||||
|
||||
orig: clean
|
||||
cd .. && tar czf pgloader_$(PKGVERS).orig.tar.gz $(EXCLUDE) pgloader
|
||||
|
||||
override_dh_auto_test:
|
||||
# do nothing
|
||||
|
||||
override_dh_strip:
|
||||
# do nothing
|
||||
|
||||
%:
|
||||
dh $@
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
@ -29,7 +29,7 @@
|
||||
|
||||
(in-package :pgloader.params)
|
||||
|
||||
(defparameter *version-string* "3.0.93"
|
||||
(defparameter *version-string* "3.0.94"
|
||||
"pgloader version strings, following Emacs versionning model.")
|
||||
|
||||
;; we can't use pgloader.utils:make-pgstate yet because params is compiled
|
||||
|
Loading…
Reference in New Issue
Block a user