# HG changeset patch # User daninorr # Date 1354053980 28800 # Tue Nov 27 14:06:20 2012 -0800 # Node ID c6b369d949ec205b4bc45dc235b3542e18d8352a # Parent 54908544d0424cfbe7fc9d7b109b0525cda28c41 Add files to use as a template for building a debian package for Guestrepo diff --git a/build-deb.sh b/build-deb.sh new file mode 100755 --- /dev/null +++ b/build-deb.sh @@ -0,0 +1,32 @@ +#!/bin/bash -eux +# Guestrepo: A Mercurial Extension for the managing of components +# Copyright (C) 2012 Schweitzer Engineering Laboratories, Inc. + +# 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. + +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +# Contact information: + +# opensource@selinc.com + +# Schweitzer Engineering Laboratories, Inc. +# 2350 NE Hopkins Court +# Pullman, WA 99163 - USA +dpkg-buildpackage -us -uc >/dev/null + +mv ../mercurial-guestrepo*.deb . +rm -f ../guestrepo_*.changes +rm -f ../guestrepo_*.dsc +rm -f ../guestrepo_*.tar.gz +lintian -i *.deb diff --git a/debian/changelog b/debian/changelog new file mode 100644 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,35 @@ +guestrepo (1.10) unstable; urgency=low + * Added grupdate --pull and grpull --update + * Added --json option to grsummary, grstate, grin and grout + * Optimized pushes + * Updated the README to reflect new changes + * Added ability to save/load .hgguestrepo files + * Added color to grsummary output + * Added --new-branch option to grpush + + -- Daniel Norris Fri, 16 Nov 2012 09:37:17 -0800 + +guestrepo (1.05) unstable; urgency=low + + * Added grout & grin, "guestrepo in, guestrepo out" + * Renamed sync to grupdate. This assists in training. + + -- Paul Nathan Wed, 22 Aug 2012 16:07:04 -0700 + +guestrepo (1.04) unstable; urgency=low + + * Improved compatability with extensions changing mercurial output + + -- bensmit Mon, 13 Aug 2012 12:47:20 -0700 + +guestrepo (1.03) unstable; urgency=low + + * Reorganized and a debian + + -- bensmit Mon, 30 Jul 2012 16:01:31 -0700 + +guestrepo (1.02) unstable; urgency=low + + * Initial release. + + -- bensmit Mon, 30 Jul 2012 15:30:58 -0700 diff --git a/debian/compat b/debian/compat new file mode 100644 --- /dev/null +++ b/debian/compat @@ -0,0 +1,1 @@ +7 \ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: guestrepo +Maintainer: Schwietzer Engineering Laboratories +Section: python +Priority: optional +Build-Depends: debhelper( >=7 ), python-all (>= 2.4) +Standards-Version: 3.9.1 + +Package: mercurial-guestrepo +Section: devel +Provides: sel-hg-guestrepo +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-all, mercurial (>= 2.1) +Description: Mercurial extension for enterprises needing to handle + modules and components diff --git a/debian/copyright b/debian/copyright new file mode 100644 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,24 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: guestrepo +Upstream-Source: https://bitbucket.org/selinc/guestrepo + +Files: * +Copyright: 2012 Schweitzer Engineering Laboratories, Inc. +License: GPL-2+ + 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. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/debian/rules b/debian/rules new file mode 100755 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=python_distutils \ No newline at end of file