[Python-apps-commits] r8028 - in packages/trac-git/trunk/debian (14 files)
debacle at users.alioth.debian.org
debacle at users.alioth.debian.org
Wed Jan 4 01:17:54 UTC 2012
Date: Wednesday, January 4, 2012 @ 01:17:52
Author: debacle
Revision: 8028
Current package from sid.
Added:
packages/trac-git/trunk/debian/README.Debian
packages/trac-git/trunk/debian/README.source
packages/trac-git/trunk/debian/changelog
packages/trac-git/trunk/debian/compat
packages/trac-git/trunk/debian/control
packages/trac-git/trunk/debian/copyright
packages/trac-git/trunk/debian/docs
packages/trac-git/trunk/debian/gbp.conf
packages/trac-git/trunk/debian/patches/
packages/trac-git/trunk/debian/patches/0001-Make-setup.py-by-not-installing-COPYING-or-README.patch
packages/trac-git/trunk/debian/patches/series
packages/trac-git/trunk/debian/rules
packages/trac-git/trunk/debian/update-patches.mk
Modified:
packages/trac-git/trunk/debian/source/format
Added: packages/trac-git/trunk/debian/README.Debian
===================================================================
--- packages/trac-git/trunk/debian/README.Debian (rev 0)
+++ packages/trac-git/trunk/debian/README.Debian 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1,74 @@
+trac-git for Debian
+-------------------
+
+(This document "borrowed" and altered from the trac-bzr package.)
+
+CONTENTS
+1. Enabling trac-git globally
+2. Enabling trac-git per project
+3. Using a Git repository in a Trac project.
+
+--
+
+Enabling trac-git globally
+
+ To enable, create or edit /etc/trac.ini and add:
+
+ [components]
+ tracext.git.* = enabled
+
+ You must restart tracd for changes to take effect.
+
+--
+
+Enabling trac-git per project
+
+ Edit the <projectenv>/conf/trac.ini file:
+
+ 2. Add the following:
+
+ [components]
+ tracext.git.* = enabled
+
+ You must restart tracd for changes to take effect.
+
+--
+
+Using a Git repository in a Trac project.
+
+ Edit the <projectenv>/conf/trac.ini file:
+
+ 1. Ensure that the repository_type is set to "git" (without the
+ quotes). This is also asked when creating a Trac environment
+ with the 'trac-admin <projectenv> initenv' command.
+
+ 2. Set repository_dir to the directory of the Git repository to
+ be used. Note: the directory should point to the .git part
+ of a Git repository, so if the repository is _not_ bare, it
+ should have a "/.git" suffix.
+
+ 3. Find the [git] section and make sure the "git_bin" option points
+ to the exact location of your git binary ("git" is not sufficient;
+ "/usr/bin/git" is).
+
+ 4. Add any, or none, of the following configuration options to
+ the [git] section:
+
+ [git]
+ # let Trac cache meta-data via CachedRepository wrapper;
+ # default: false
+ cached_repository = true
+
+ # disable automatic garbage collection for in-memory commit-tree cache;
+ # default: false
+ persistent_cache = true
+
+ # length revision sha-sums should be tried to be abbreviated to (must be >= 4 and <= 40);
+ # default: 7
+ shortrev_len = 6
+
+ # executable file name (optionally with path) of git binary;
+ # default: 'git'
+ git_bin = /usr/src/git-dev/git
+
+ -- Jonny Lamb <jonny at debian.org> Fri, 11 Jul 2008 01:59:37 +0100
Added: packages/trac-git/trunk/debian/README.source
===================================================================
--- packages/trac-git/trunk/debian/README.source (rev 0)
+++ packages/trac-git/trunk/debian/README.source 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1,58 @@
+Patches
+=======
+
+This package occasionally uses quilt to store modifications to the upstream
+source, although in most uploads no patches are needed.
+
+To get the fully patched source: make -f debian/rules patch
+
+To revert to what's in git: make -f debian/rules unpatch
+
+To add a patch: obtain a diff and put it in debian/patches, or see below
+
+To remove an existing patch: delete it from debian/patches
+
+Packaging using git
+===================
+
+The repository contains an appropriate debian/gbp.conf to build this package
+using git-buildpackage. The debian branch contains the latest upstream versions
+(for unstable, or experimental while a freeze is in progress). The debian-<release>
+branch contains versions targeted for a specific release (lenny, squeeze, etc.)
+
+Here's how to build it:
+
+ git clone git://git.jonnylamb.com/git/packaging/trac-git.git
+ cd trac-git
+ git checkout debian
+ git-buildpackage -us -uc
+
+or for testing/stable branches like debian-lenny:
+
+ git clone git://git.jonnylamb.com/git/packaging/trac-git.git
+ cd trac-git
+ git checkout debian-lenny
+ git-buildpackage -us -uc --git-debian-branch=debian-lenny
+
+The branch 'upstream' is a copy of the contents of upstream tarballs. To import
+upstream tarballs use:
+
+ git checkout debian
+ git-import-orig ~/trac-git-0.7.x.tar.gz
+
+The branch 'debian-patches' is 'upstream' plus any patches needed for Debian.
+It should be rebased on 'upstream' after each upstream release:
+
+ git checkout debian-patches
+ git rebase upstream
+
+The preferred way of adding patches is to make a commit to the debian-patches
+branch:
+
+ git checkout debian-patches
+ <edit upstream source>
+ git commit
+ git checkout debian
+ fakeroot debian/rules update-patches
+
+ -- Jonny Lamb <jonny at debian.org>, Sat, 7 Mar 2009 17:55:11 +0000
Added: packages/trac-git/trunk/debian/changelog
===================================================================
--- packages/trac-git/trunk/debian/changelog (rev 0)
+++ packages/trac-git/trunk/debian/changelog 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1,98 @@
+trac-git (0.0.20100513-2) unstable; urgency=low
+
+ * debian/control: Make Python-Version >= 2.5, not = 2.5, to make it
+ importable in python 2.6 code. (Closes: #586193)
+
+ -- Jonny Lamb <jonny at debian.org> Thu, 17 Jun 2010 13:07:52 +0100
+
+trac-git (0.0.20100513-1) unstable; urgency=low
+
+ * New upstream snapshot. (Closes: #570808)
+ * debian/copyright: Updated debian/* copyright.
+ * debian/control: Upped Standards-Version. (no changes)
+ * Changed source format to 3.0 (quilt).
+
+ -- Jonny Lamb <jonny at debian.org> Thu, 13 May 2010 09:09:20 +0100
+
+trac-git (0.0.20090320-1) unstable; urgency=low
+
+ * New upstream snapshot.
+ * debian/gbp.conf: Removed no-create-orig line.
+ * debian/rules: Upped DATE.
+ * debian/README.source: Added.
+ * debian/control: Bumped Standards-Version to 3.8.1. (No changes)
+ * debian/patches/:
+ + 0002-Prevent-leaving-processes-open-and-running.patch: Removed, fixed
+ upstream.
+ + 0001-Make-setup.py-by-not-installing-COPYING-or-README.patch: Updated.
+
+ -- Jonny Lamb <jonny at debian.org> Fri, 20 Mar 2009 16:31:31 +0000
+
+trac-git (0.0.20090217-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/gbp.conf: Added git-buildpackage config file.
+ * debian/README.Debian: Use my debian.org email address.
+ * debian/update-patches.mk: Added.
+ * debian/rules:
+ + Include update-patches.mk.
+ + Added get-orig-source target.
+ * debian/patches/01-r4147-add-previous_rev_argument.diff: Removed: already
+ upstream.
+
+ -- Jonny Lamb <jonny at debian.org> Tue, 17 Feb 2009 20:17:52 +0000
+
+trac-git (0.0.20080710-3) unstable; urgency=medium
+
+ * debian/control:
+ + Use my debian.org email address.
+ * debian/copyright:
+ + Use my debian.org email address.
+ * debian/patches/:
+ + Added 02-508019-defunct-processes.diff to prevent leaving processes open
+ and running and ultimately making the machine run out of memory.
+ (Closes: #508019)
+
+ -- Jonny Lamb <jonny at debian.org> Tue, 09 Dec 2008 22:33:37 +0000
+
+trac-git (0.0.20080710-2) unstable; urgency=low
+
+ * debian/patches/01-r4147-add-previous_rev_argument.diff: Added new patch
+ to fix the 500 server error. This is r4147 upstream. (Closes: #498761)
+ * Moved plugin back from gitplugin to original upstream location of
+ tracext.git so my renaming doesn't appear in a stable release.
+ * debian/rules: Moved the patch target dependency to build-stamp to ensure
+ correct dependencies when building in parallel.
+ * debian/control: Removed Provides completely and added misc:Depends on
+ trac-git as the former has no meaning in an arch-indep package.
+
+ -- Jonny Lamb <jonnylamb at jonnylamb.com> Tue, 30 Sep 2008 18:22:00 +0100
+
+trac-git (0.0.20080710-1) unstable; urgency=low
+
+ * New upstream fork for the 0.11 Trac plugin version. (Closes: #490183)
+ * debian/control:
+ + Removed python-all-dev Build-Dep.
+ + Updated Homepage field.
+ + Upped version of Trac to depend on.
+ + Upped Standards-Version.
+ + Added XS-Python-Version: 2.5.
+ * debian/copyright: Updated.
+ * debian/dirs: Removed.
+ * debian/docs: Updated to point to 0.11 plugin.
+ * debian/postinst: Removed.
+ * debian/rules:
+ + Updated 0.10 references to 0.11.
+ + Added files to be deleted to clean target.
+ * debian/README.Debian: Updated.
+ * debian/patches/disable-installing-docs.diff: Removed.
+ * debian/patches/00-fix-setup.py.diff: Added to fix up the setup.py and
+ rename tracext.git to gitplugin.
+
+ -- Jonny Lamb <jonnylamb at jonnylamb.com> Sat, 12 Jul 2008 01:43:30 +0100
+
+trac-git (0.0.20080122-1) unstable; urgency=low
+
+ * Initial release. (Closes: #482334)
+
+ -- Jonny Lamb <jonnylamb at jonnylamb.com> Mon, 19 May 2008 14:33:23 +0100
Added: packages/trac-git/trunk/debian/compat
===================================================================
--- packages/trac-git/trunk/debian/compat (rev 0)
+++ packages/trac-git/trunk/debian/compat 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1 @@
+5
Added: packages/trac-git/trunk/debian/control
===================================================================
--- packages/trac-git/trunk/debian/control (rev 0)
+++ packages/trac-git/trunk/debian/control 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1,19 @@
+Source: trac-git
+Maintainer: Jonny Lamb <jonny at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 5.0)
+Build-Depends-Indep: python, python-central (>= 0.5), python-setuptools
+Standards-Version: 3.8.4
+XS-Python-Version: >= 2.5
+Homepage: http://trac-hacks.org/wiki/GitPlugin
+Vcs-Git: git://git.jonnylamb.com/git/packaging/trac-git.git
+Vcs-Browser: http://git.jonnylamb.com/?p=packaging/trac-git.git;a=summary
+
+Package: trac-git
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, trac (>= 0.11), git-core
+XB-Python-Version: ${python:Versions}
+Description: Git version control backend for Trac
+ A plugin that provides support for the Git source code management
+ tool for Edgewall Software's Trac.
Added: packages/trac-git/trunk/debian/copyright
===================================================================
--- packages/trac-git/trunk/debian/copyright (rev 0)
+++ packages/trac-git/trunk/debian/copyright 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1,26 @@
+This package was debianized by Jonny Lamb <jonny at debian.org> on
+Mon, 19 May 2008 13:55:33 +0100.
+
+The upstream tarball was created from an SVN repository checkout of:
+
+ http://trac-hacks.org/svn/gitplugin
+
+Upstream Author:
+
+ Herbert Valerio Riedel <hvr at gnu.org>
+
+Copyright:
+
+ Copyright (C) 2006 Herbert Valerio Riedel <hvr at gnu.org>
+
+License:
+
+ You are free to distribute this software under the terms of
+ the GNU General Public License either version 2 of the License,
+ or (at your option) any later version.
+
+ On Debian systems, the complete text of the GNU General Public
+ License, version 2, can be found in /usr/share/common-licenses/GPL-2
+
+The Debian packaging is copyright 2008-2009, Jonny Lamb <jonny at debian.org> and
+is licensed under the GPL-2, see `/usr/share/common-licenses/GPL-2'.
Added: packages/trac-git/trunk/debian/docs
===================================================================
--- packages/trac-git/trunk/debian/docs (rev 0)
+++ packages/trac-git/trunk/debian/docs 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1 @@
+0.11/README
Added: packages/trac-git/trunk/debian/gbp.conf
===================================================================
--- packages/trac-git/trunk/debian/gbp.conf (rev 0)
+++ packages/trac-git/trunk/debian/gbp.conf 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1,8 @@
+[DEFAULT]
+debian-branch = debian
+upstream-branch = upstream
+pristine-tar = True
+
+[git-buildpackage]
+tarball-dir = ../tarballs/
+export-dir = ../build-area/
Added: packages/trac-git/trunk/debian/patches/0001-Make-setup.py-by-not-installing-COPYING-or-README.patch
===================================================================
--- packages/trac-git/trunk/debian/patches/0001-Make-setup.py-by-not-installing-COPYING-or-README.patch (rev 0)
+++ packages/trac-git/trunk/debian/patches/0001-Make-setup.py-by-not-installing-COPYING-or-README.patch 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1,22 @@
+From 89f443e93dd6d980b4ff2384562547aef8e5014e Mon Sep 17 00:00:00 2001
+From: Jonny Lamb <jonny at debian.org>
+Date: Tue, 17 Feb 2009 19:59:51 +0000
+Subject: [PATCH] Make setup.py by not installing COPYING or README.
+
+debhelper does this for us automatically.
+
+Signed-off-by: Jonny Lamb <jonny at debian.org>
+---
+ 0.11/setup.py | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/0.11/setup.py b/0.11/setup.py
+index 1c7c0f4..54856d5 100755
+--- a/0.11/setup.py
++++ b/0.11/setup.py
+@@ -20,4 +20,4 @@ setup(
+ packages=['tracext', 'tracext.git'],
+ namespace_packages=['tracext'],
+ entry_points = {'trac.plugins': 'git = tracext.git.git_fs'},
+- data_files=['COPYING','README'])
++ exclude_package_data={'':['COPYING','README']})
Added: packages/trac-git/trunk/debian/patches/series
===================================================================
--- packages/trac-git/trunk/debian/patches/series (rev 0)
+++ packages/trac-git/trunk/debian/patches/series 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1 @@
+0001-Make-setup.py-by-not-installing-COPYING-or-README.patch
Added: packages/trac-git/trunk/debian/rules
===================================================================
--- packages/trac-git/trunk/debian/rules (rev 0)
+++ packages/trac-git/trunk/debian/rules 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+
+PYVER=$(shell python -c 'import sys; print sys.version[:3]')
+
+include $(CURDIR)/debian/update-patches.mk
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ rm -rf dist build
+ -find . -name *\.py[co] -exec rm {} \;
+ dh_clean
+ -for file in PKG-INFO SOURCES.txt dependency_links.txt \
+ entry_points.txt namespace_packages.txt requires.txt \
+ top_level.txt; do rm 0.11/TracGit.egg-info/$$file; done
+ -rm -rf 0.11/build/
+
+build: build-stamp
+
+build-stamp:
+ dh_testdir
+ cd 0.11 && python setup.py build && cd ..
+ touch $@
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cd 0.11 && python setup.py install \
+ --root=$(CURDIR)/debian/trac-git \
+ --single-version-externally-managed && cd ..
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_pycentral
+ dh_compress -X.py
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+
+DATE := 20090320
+get-orig-source:
+ svn export http://trac-hacks.org/svn/gitplugin ../trac-git-0.0.$(DATE)
+ tar pczf ../trac-git_0.0.$(DATE).orig.tar.gz ../trac-git-0.0.$(DATE)
+ rm -rf ../trac-git-0.0.$(DATE)
+
+.PHONY: build clean binary-indep binary-arch binary install configure
Property changes on: packages/trac-git/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Modified: packages/trac-git/trunk/debian/source/format
===================================================================
--- packages/trac-git/trunk/debian/source/format 2012-01-03 23:13:50 UTC (rev 8027)
+++ packages/trac-git/trunk/debian/source/format 2012-01-04 01:17:52 UTC (rev 8028)
@@ -1 +1 @@
-3.0 (quilt)
+3.0 (quilt)
\ No newline at end of file
Added: packages/trac-git/trunk/debian/update-patches.mk
===================================================================
--- packages/trac-git/trunk/debian/update-patches.mk (rev 0)
+++ packages/trac-git/trunk/debian/update-patches.mk 2012-01-04 01:17:52 UTC (rev 8028)
@@ -0,0 +1,12 @@
+update-patches:
+ mkdir -p $(CURDIR)/debian/patches
+ rm -f $(CURDIR)/debian/patches/*.patch
+ rm $(CURDIR)/debian/patches/series
+ git format-patch -o $(CURDIR)/debian/patches debian-patches ^upstream
+ for patch in $$(ls $(CURDIR)/debian/patches/*.patch) ; \
+ do \
+ lines=$$(cat $$patch | wc -l) ; \
+ head -n $$(($$lines - 3)) $$patch > $${patch}.chomped ; \
+ mv $${patch}.chomped $$patch ; \
+ echo $$(basename $${patch}) >> $(CURDIR)/debian/patches/series ; \
+ done
More information about the Python-apps-commits
mailing list