From ac12f754a1ad4f7ed57e08893f86e4e2627e3564 Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Tue, 15 Dec 2015 23:26:04 -0700 Subject: Import git-repair_1.20151215-1.debian.tar.xz [dgit import tarball git-repair 1.20151215-1 git-repair_1.20151215-1.debian.tar.xz] --- changelog | 126 +++++++++++++++++++++++++++++++++++++++++++ compat | 1 + control | 37 +++++++++++++ copyright | 35 ++++++++++++ gbp.conf | 10 ++++ git-repair.lintian-overrides | 1 + manpages | 1 + rules | 10 ++++ source/format | 1 + 9 files changed, 222 insertions(+) create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100644 gbp.conf create mode 100644 git-repair.lintian-overrides create mode 100644 manpages create mode 100755 rules create mode 100644 source/format diff --git a/changelog b/changelog new file mode 100644 index 0000000..9b2e1e4 --- /dev/null +++ b/changelog @@ -0,0 +1,126 @@ +git-repair (1.20151215-1) unstable; urgency=medium + + * Package 1.20151215-1 + + -- Richard Hartmann Wed, 16 Dec 2015 07:26:04 +0100 + +git-repair (1.20151215) unstable; urgency=medium + + * Fix insecure temporary permissions and potential denial of + service attack when creating temp dirs. Closes: #807341 + * Merge from git-annex. + + -- Joey Hess Tue, 15 Dec 2015 20:47:59 -0400 + +git-repair (1.20150106-2) unstable; urgency=medium + + * Fix typo in description + + -- Richard Hartmann Thu, 20 Aug 2015 13:41:50 +0200 + +git-repair (1.20150106-1) unstable; urgency=medium + + * Package 1.20150106 + * Update dependencies (Closes: #789977) + * Take over maintenance of package + * Bump standards version to 3.9.6 + + -- Richard Hartmann Thu, 20 Aug 2015 11:24:46 +0200 + +git-repair (1.20150106) unstable; urgency=medium + + * Debian package is now maintained by Richard Hartmann. + * Fix build with process 1.2.1.0. + * Merge from git-annex. + + -- Joey Hess Tue, 06 Jan 2015 19:09:23 -0400 + +git-repair (1.20141027) unstable; urgency=medium + + * Adjust cabal file to support network-uri split. + * Merge Build/ from git-annex, including removing a use of deprecated + System.Cmd. + + -- Joey Hess Mon, 27 Oct 2014 11:09:56 -0400 + +git-repair (1.20141026) unstable; urgency=medium + + * Prevent auto gc from happening when fetching from a remote. + * Merge from git-annex. + + -- Joey Hess Sun, 26 Oct 2014 13:37:30 -0400 + +git-repair (1.20140914) unstable; urgency=medium + + * Update to build with optparse-applicative 0.10. Closes: #761552 + + -- Joey Hess Sun, 14 Sep 2014 12:48:27 -0400 + +git-repair (1.20140815) unstable; urgency=medium + + * Removing bad objects could leave fsck finding no more unreachable objects, + but some branches no longer accessible. Fix this, including support for + fixing up repositories that were incompletely repaired before. + * Merge from git-annex. + + -- Joey Hess Fri, 15 Aug 2014 13:49:09 -0400 + +git-repair (1.20140423) unstable; urgency=medium + + * Improve memory usage when git fsck finds a great many broken objects. + * Merge from git-annex. + + -- Joey Hess Wed, 23 Apr 2014 14:01:30 -0400 + +git-repair (1.20140227) unstable; urgency=medium + + * Optimise unpacking of pack files, and avoid repeated error + messages about corrupt pack files. + * Add swapping 2 files test case. + + -- Joey Hess Thu, 27 Feb 2014 11:56:27 -0400 + +git-repair (1.20140115) unstable; urgency=medium + + * Support old git versions from before git fsck --no-dangling was + implemented. + * Fix bug in packed refs file exploding code that caused a .gitrefs + directory to be created instead of .git/refs + * Check git version at run time. + + -- Joey Hess Wed, 15 Jan 2014 16:53:30 -0400 + +git-repair (1.20131213) unstable; urgency=low + + * Improve repair of index files in some situations. + + -- Joey Hess Fri, 13 Dec 2013 14:51:51 -0400 + +git-repair (1.20131203) unstable; urgency=low + + * Fix build deps. Closes: #731179 + + -- Joey Hess Tue, 03 Dec 2013 15:02:21 -0400 + +git-repair (1.20131122) unstable; urgency=low + + * Added test mode, which can be used to randomly corrupt test + repositories, in reproducible ways, which allows easy + corruption-driven-development. + * Improve repair code in the case where the index file is corrupt, + and this hides other problems. + * Write a dummy .git/HEAD if the file is missing or corrupt, as + git otherwise will not treat the repository as a git repo. + * Improve fsck code to find badly corrupted objects that crash git fsck + before it can complain about them. + * Fixed crashes on bad file encodings. + * Can now run 10000 tests (git-repair --test -n 10000 --force) + with 0 failures. + + -- Joey Hess Fri, 22 Nov 2013 11:16:03 -0400 + +git-repair (1.20131118) unstable; urgency=low + + * First release + + -- Joey Hess Mon, 18 Nov 2013 13:38:12 -0400 diff --git a/compat b/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +9 diff --git a/control b/control new file mode 100644 index 0000000..e1bd4ef --- /dev/null +++ b/control @@ -0,0 +1,37 @@ +Source: git-repair +Section: utils +Priority: optional +Build-Depends: + debhelper (>= 9), + ghc, + git, + libghc-missingh-dev, + libghc-hslogger-dev, + libghc-network-dev, + libghc-exceptions-dev (>= 0.6), + libghc-transformers-dev, + libghc-unix-compat-dev, + libghc-ifelse-dev, + libghc-text-dev, + libghc-quickcheck2-dev, + libghc-utf8-string-dev, + libghc-async-dev, + libghc-optparse-applicative-dev (>= 0.10.0), + libghc-network-uri-dev +Maintainer: Richard Hartmann +Standards-Version: 3.9.6 +Vcs-Git: git://git-repair.branchable.com/ +Homepage: http://git-repair.branchable.com/ + +Package: git-repair +Architecture: any +Section: utils +Depends: ${misc:Depends}, ${shlibs:Depends}, git, rsync +Description: repair various forms of damage to git repositories + git-repair can repair various forms of damage to git repositories. + . + It is a complement to git fsck, which finds problems, but does not fix them. + . + As well as avoiding the need to rm -rf a damaged repository and re-clone, + using git-repair can help rescue commits you've made to the damaged + repository and not yet pushed out. diff --git a/copyright b/copyright new file mode 100644 index 0000000..33f85b4 --- /dev/null +++ b/copyright @@ -0,0 +1,35 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: native package + +Files: * +Copyright: © 2013 Joey Hess +License: GPL-3+ + The full text of version 3 of the GPL is distributed as doc/GPL in + this package's source, or in /usr/share/common-licenses/GPL-3 on + Debian systems. + +Files: Utility/* +Copyright: 2012-2014 Joey Hess +License: BSD-2-clause + +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..73ec349 --- /dev/null +++ b/gbp.conf @@ -0,0 +1,10 @@ +[DEFAULT] +upstream-branch = master +debian-branch = debian +upstream-tag = %(version)s +debian-tag = debian/%(version)s + +postbuild = lintian $GBP_CHANGES_FILE +color = on +compression = xz +compression-level = 9 diff --git a/git-repair.lintian-overrides b/git-repair.lintian-overrides new file mode 100644 index 0000000..25d3d4c --- /dev/null +++ b/git-repair.lintian-overrides @@ -0,0 +1 @@ +binary-or-shlib-defines-rpath diff --git a/manpages b/manpages new file mode 100644 index 0000000..4cad191 --- /dev/null +++ b/manpages @@ -0,0 +1 @@ +git-repair.1 diff --git a/rules b/rules new file mode 100755 index 0000000..4d8fa21 --- /dev/null +++ b/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +# Avoid using cabal, as it writes to $HOME +export CABAL=./Setup + +# Do use the changelog's version number, rather than making one up. +export RELEASE_BUILD=1 + +%: + dh $@ diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- cgit v1.2.3