From 2d971ca95cce45678b6f0c3bc777c3f85703bcf3 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Thu, 22 Jan 2015 11:00:33 -0800 Subject: [PATCH] Remove Debian packaging, downstream has deviated too much anyway --- .gitignore | 10 ---------- README.rst | 3 +-- debian/changelog | 23 ----------------------- debian/compat | 1 - debian/control.in | 15 --------------- debian/copyright | 24 ------------------------ debian/pycompat | 1 - debian/rules | 34 ---------------------------------- 8 files changed, 1 insertion(+), 110 deletions(-) delete mode 100644 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control.in delete mode 100644 debian/copyright delete mode 100644 debian/pycompat delete mode 100755 debian/rules diff --git a/.gitignore b/.gitignore index 0a5e976..dc2c237 100644 --- a/.gitignore +++ b/.gitignore @@ -5,13 +5,3 @@ /apidocs /gitosis/test/tmp /.coverage - -# debianization -/debian/control -/debian/files -/debian/*.substvars -/debian/*.debhelper -/debian/gitosis -/build -/dist -/python-build-stamp-* diff --git a/README.rst b/README.rst index a696401..65d58f8 100644 --- a/README.rst +++ b/README.rst @@ -30,8 +30,7 @@ And install it via:: python setup.py install -Though you may want to use e.g. ``--prefix=``. For Debian/Ubuntu -users, the source is debianized. +Though you may want to use e.g. ``--prefix=``. Setting up diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 2b38c35..0000000 --- a/debian/changelog +++ /dev/null @@ -1,23 +0,0 @@ -gitosis (0.2) unstable; urgency=low - - * Fix initial push syntax in README. Needs to say "refs/heads/". - * Clean up more files in debian/rules. - * Mark the generated egg as non-zip-safe. - * Ensure "git init" doesn't write to stdout, and confuse a push. - The repository autocreation functionality ends up sending the - stdout to the client side, and there a very confused git push - can't make any sense of the protocol. - * Adjust README to make adduser create the home directory. - * Avoid missing configuration file trouble on initial run - of gitosis-init (and hence, gitosis-run-hook). - * Allow using email address in SSH public key user fields. - * Make sure ~git/.ssh exists in gitosis-init. - - -- Tommi Virtanen Mon, 3 Sep 2007 23:28:23 -0700 - -gitosis (0.1) unstable; urgency=low - - * Initial Release. - - -- Tommi Virtanen Mon, 4 Jun 2007 12:49:11 +0300 - diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7ed6ff8..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control.in b/debian/control.in deleted file mode 100644 index fc37370..0000000 --- a/debian/control.in +++ /dev/null @@ -1,15 +0,0 @@ -Source: gitosis -Section: admin -Priority: optional -Maintainer: Tommi Virtanen -Standards-Version: 3.7.2 -Build-Depends: @cdbs@, python-setuptools (>= 0.6c5) - -Package: gitosis -Section: admin -Architecture: all -Depends: ${python:Depends}, python-setuptools -Description: git repository hosting application - Manage git repositories, provide access to them over SSH, with tight - access control and not needing shell accounts. - diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 791827d..0000000 --- a/debian/copyright +++ /dev/null @@ -1,24 +0,0 @@ -This package was debianized by Tommi Virtanen on -Tue, 28 Aug 2007 21:32:22 -0700. - -It was originally downloaded from http://eagain.net/software/gitosis/ - -Upstream Author: Tommi Virtanen - -Copyright: - - Gitosis -- git repository hosting application - Copyright (C) 2007 Tommi Virtanen - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - -On Debian Linux systems, the complete text of the GNU General Public -License can be found in '/usr/share/common-licenses/GPL'. diff --git a/debian/pycompat b/debian/pycompat deleted file mode 100644 index 0cfbf08..0000000 --- a/debian/pycompat +++ /dev/null @@ -1 +0,0 @@ -2 diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 0a0a647..0000000 --- a/debian/rules +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/make -f -# -*- mode: makefile; coding: utf-8 -*- - -ifeq ($(wildcard debian/control),) -ifeq ($(DEB_AUTO_UPDATE_DEBIAN_CONTROL),) -advice_about_control := yes -endif -endif - -ifeq ($(advice_about_control),yes) -advice-on-debian-control %:: - @echo "It seems you are building from pristine source and" - @echo "debian/control is missing. It will be autogenerated" - @echo "if you say:" - @echo - @echo " ./debian/rules generate" - @echo - @exit 1 -else - -DEB_PYTHON_SYSTEM := pysupport - -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/python-distutils.mk - -clean:: - rm -rf dist gitosis.egg-info -endif - - -generate:: -# I wish this was atomic - cp debian/control.in debian/control - fakeroot env DEB_AUTO_UPDATE_DEBIAN_CONTROL=1 ./debian/rules clean