Manage files with git, without checking their contents into git Maintained by:haskell@FreeBSD.org Port Added: 26 Sep 2011 20:28:01 Also Listed In:haskell License: GPLv3
git-annex allows managing files with git, without checking the file contents
into git. While that may seem paradoxical, it is useful when dealing with
files larger than git can currently easily handle, whether due to limitations
in memory, time, or disk space. Even without file content tracking, being
able to manage files with git, move files around and delete files with
versioned directory trees, and use branches and distributed clones, are
all very handy reasons to use git. And annexed files can co-exist in the
same git repository with regularly versioned files, which is convenient
for maintaining documents, Makefiles, etc that are associated with annexed
files but that benefit from full revision control.
WWW: http://git-annex.branchable.com/
To install the port:cd /usr/ports/devel/hs-git-annex/ && make install clean To add the package:pkg_add -r hs-git-annex
Configuration Options
===> The following configuration options are available for hs-git-annex-4.20130323_1:
ASSISTANT=on: 'assistant' and 'watch' commands
DOCS=on: Build and/or install documentation
DYNAMIC=on: Add support for dynamic linking
HSCOLOUR=off: Colorize generated documentation by HsColour
INOTIFY=off: File system notifications support
PAIRING=off: Enable pairing (req. web application)
PRODUCTION=off: Production build
PROFILE=off: Add support for profiling
S3=on: S3 support
WEBAPP=off: Web application (req. assistant)
===> Use 'make config' to modify these settings
Reason:
On FreeBSD, git-annex incorrectly calculated SHA256 hashes for files
added to the annex repository due to the BSD-style output of
/sbin/sha256. The result of this is silent data corruption.
This problem has been fixed, but every file stored in an annex
repository will fail a `git-annex fsck` after the upgrade. Thus,
before updating, it is wise to issue the command below and restore the
files.
$ git-annex uninit
Corruptions can then be found by finding all files with the same hash.
Note that only files that were mishashed to the same location are a
problem.
2013-03-31
Affects: users of */hs-*
Author: haskell@FreeBSD.org
Reason:
Due to some unexpected dynamic linking problems, Haskell Cabal ports with
binaries that link to their own libraries may not work. With default
configuration, the following ports are known to have this problem:
Agda, BNFC, pandoc, and uuagc. (Their port revision are now bumped.)
In general, it is recommended to rebuild the port if you are
experiencing that the corresponding binary will not start, e.g.:
% agda
Shared object "libHSAgda-2.3.2-ghc7.4.2.so" not found, required by "agda"
2013-02-05
Affects: users of lang/ghc and */hs-*
Author: haskell@FreeBSD.org
Reason:
Note that the recent devel/libffi update caused some breakage in the Haskell
ports with the DYNAMIC option enabled. The problem has been identified and
fixed since then. All Haskell ports have been updated to their latest stable
versions or bumped as DYNAMIC is enabled by default.
Hence it is recommended to rebuild or reinstall all ports depending on GHC
by one of the following commands:
# portmaster -w -r ghc
or
# portupgrade -fr lang/ghc
or
# pkg install -fR lang/ghc
2012-12-20
Affects: users of lang/ghc and */hs-*
Author: haskell@FreeBSD.org
Reason:
Note that the Glorious Glasgow Haskell Compiler has been updated to
version 7.4.2.
Please rebuild or reinstall all dependent ports by issuing one of the
following commands, depending on the tool used:
# portmaster -w -r ghc
or
# portupgrade -fr lang/ghc
or
# pkg install -fR lang/ghc
2012-06-03
Affects: users of lang/ghc and */hs-*
Author: haskell@FreeBSD.org
Reason:
Note that The Glorious Glasgow Haskell Compiler and the Haskell Platform
have been updated to versions 7.4.1 and 2012.2.0.0, respectively. At the
same time, all Haskell ports have been updated to their latest working
versions.
To follow the changes, please issue one of the following commands
(depending on the tool used):
# portmaster -r ghc
or
# portupgrade -fr lang/ghc
2012-02-13
Affects: users of lang/ghc and */hs-*
Author: pgj@FreeBSD.org
Reason:
GHC has been updated to version 7.0.4, and Haskell Platform to version
2011.4.0.0, and other Haskell ports are also updated to their Haskell
Platform versions or latest versions.
To update all affected ports:
# portmaster -r lang/ghc
or
# portupgrade -r lang/ghc
2011-05-09
Affects: users of lang/ghc and */hs-*
Author: ashish@FreeBSD.org
Reason:
GHC has been updated to version 7.0.3 and other Haskell ports are also
updated to their Haskell Platform versions or latest versions.
To update all affected ports:
# portmaster -r lang/ghc
or
# portupgrade -r lang/ghc
Port Moves
port moved here from devel/git-annex on 2011-09-26 REASON: It has become a Cabal transcript
Number of commits found: 11
Commit History - (may be incomplete: see SVNWeb link above for full details)
- Fix a silent hashing problem for git-annex, please study the UPDATING
entry before proceeding!
Submitted by: Justin Bedo <cu@cua0.org>
Obtained from: FreeBSD Haskell
- Fix breakage in the DYNAMIC-enabled ports triggered by the recent
devel/libffi update
- Enable multithreaded build for lang/ghc (i.e. mark MAKE_JOBS_SAFE)
Please note that port revision for all the Haskell ports without version
changes are bumped.
New ports (20):
devel/hs-MonadRandom 0.1.8
devel/hs-base64-conduit 0.5.1
devel/hs-bifunctors 3.2
devel/hs-either 3.1
devel/hs-errors 1.3.1
devel/hs-generic-deriving 1.4.0
(Only the first 15 lines of the commit message are shown above )
- Update The Glorious Glasgow Haskell Compiler to version 7.4.2
- Update Haskell Platform to version 2012.4.0.0
- Update Gtk2Hs to 0.12.4
- Transfer maintainership of math/hs-math-functions to haskell@ [1]
Please note that port revisions for all the Haskell ports without version
changes are bumped.
Some further highlights of the update:
- Trim Makefile headers
- Enable dynamic libraries and dynamic linking by default
- Enable bootstrapping by versions of GHC and HsColour already installed
- Use GCC and binutils from ports
New ports (32):
(Only the first 15 lines of the commit message are shown above )
- Please welcome GHC 7.0.4
GHC in the ports tree has been updated to version 7.0.4 and the port revision
for all the Haskell ports without version changes are bumped. Other per-port
updates are coming soon.
This update also incorporates some improvements for bsd.cabal.mk that makes
working with Haskell ports even easier.
Thanks ashish@ for the help!
Obtained from: FreeBSD Haskell