summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog126
-rw-r--r--compat1
-rw-r--r--control37
-rw-r--r--copyright35
-rw-r--r--gbp.conf10
-rw-r--r--git-repair.lintian-overrides1
-rw-r--r--manpages1
-rwxr-xr-xrules10
-rw-r--r--source/format1
9 files changed, 222 insertions, 0 deletions
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 <richih@debian.org> 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 <id@joeyh.name> Tue, 15 Dec 2015 20:47:59 -0400
+
+git-repair (1.20150106-2) unstable; urgency=medium
+
+ * Fix typo in description
+
+ -- Richard Hartmann <richih@debian.org> 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 <richih@debian.org> 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 <id@joeyh.name> 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 <joeyh@debian.org> 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 <joeyh@debian.org> 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 <joeyh@debian.org> 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 <joeyh@debian.org> 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 <joeyh@debian.org> 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 <joeyh@debian.org> 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 <joeyh@debian.org> 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 <joeyh@debian.org> Fri, 13 Dec 2013 14:51:51 -0400
+
+git-repair (1.20131203) unstable; urgency=low
+
+ * Fix build deps. Closes: #731179
+
+ -- Joey Hess <joeyh@debian.org> 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 <joeyh@debian.org> Fri, 22 Nov 2013 11:16:03 -0400
+
+git-repair (1.20131118) unstable; urgency=low
+
+ * First release
+
+ -- Joey Hess <joeyh@debian.org> 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 <richih@debian.org>
+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 <joey@kitenet.net>
+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 <joey@kitenet.net>
+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)