Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2011 22:54:12 +1000 (EST)
From:      Fraser Tweedale <frase@frase.id.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/157703: New port: devel/git-annex Manage file heirarchies with git
Message-ID:  <201106081254.p58CsCIe022584@bacardi.wooloowin.frase.id.au>
Resent-Message-ID: <201106081330.p58DU8uY096745@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         157703
>Category:       ports
>Synopsis:       New port: devel/git-annex Manage file heirarchies with git
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 08 13:30:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Fraser Tweedale
>Release:        FreeBSD 8.2-RC3 amd64
>Organization:
>Environment:
System: FreeBSD bacardi 8.2-RC3 FreeBSD 8.2-RC3 #8 r218185: Wed Feb 2 21:04:05 EST 2011 Fraser@bacardi:/usr/obj/usr/src/sys/BACARDI amd64


	
>Description:

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, checksumming 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/

>How-To-Repeat:
	
>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	git-annex
#	git-annex/Makefile
#	git-annex/pkg-descr
#	git-annex/distinfo
#	git-annex/files
#	git-annex/files/patch-Makefile
#
echo c - git-annex
mkdir -p git-annex > /dev/null 2>&1
echo x - git-annex/Makefile
sed 's/^X//' >git-annex/Makefile << '4b13fa8bf9e363be75ec7bc61e1df977'
X# New ports collection makefile for:	git-annex
X# Date created:				8 June 2011
X# Whom:					frase@frase.id.au
X#
X# $FreeBSD$
X#
X
XPORTNAME=	git-annex
XPORTVERSION=	0.20110601
XCATEGORIES=	devel haskell
XMASTER_SITES=	http://git.kitenet.net/?p=git-annex.git;a=snapshot;sf=tgz;h=refs/tags/
XDISTFILES=	${PORTVERSION}
XDIST_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	frase@frase.id.au
XCOMMENT=	Manage file hierarchies with git
X
XBUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc \
X		hs-MissingH>=0:${PORTSDIR}/devel/hs-MissingH \
X		hs-pcre-light>=0:${PORTSDIR}/devel/hs-pcre-light \
X		hs-utf8-string>=0:${PORTSDIR}/devel/hs-utf8-string \
X		hs-SHA>=0:${PORTSDIR}/security/hs-SHA \
X		hs-dataenc>=0:${PORTSDIR}/converters/hs-dataenc
XRUN_DEPENDS=	ghc:${PORTSDIR}/lang/ghc \
X		hs-MissingH>=0:${PORTSDIR}/devel/hs-MissingH \
X		hs-pcre-light>=0:${PORTSDIR}/devel/hs-pcre-light \
X		hs-utf8-string>=0:${PORTSDIR}/devel/hs-utf8-string \
X		hs-SHA>=0:${PORTSDIR}/security/hs-SHA \
X		hs-dataenc>=0:${PORTSDIR}/converters/hs-dataenc
X
XUSE_PERL5=	yes
XUSE_GMAKE=	yes
X
XMAN1=		git-annex.1 git-annex-shell.1
X
XLICENSE=	GPLv3
X
XPLIST_FILES=	bin/git-annex \
X		bin/git-annex-shell
X
X.include	<bsd.port.mk>
4b13fa8bf9e363be75ec7bc61e1df977
echo x - git-annex/pkg-descr
sed 's/^X//' >git-annex/pkg-descr << '24526250b0f85a1dd1c52a1cb915f2cd'
Xgit-annex allows managing files with git, without checking the file
Xcontents into git. While that may seem paradoxical, it is useful when
Xdealing with files larger than git can currently easily handle, whether
Xdue to limitations in memory, checksumming time, or disk space.
X
XEven without file content tracking, being able to manage files with git,
Xmove files around and delete files with versioned directory trees, and use
Xbranches and distributed clones, are all very handy reasons to use git.
XAnd annexed files can co-exist in the same git repository with regularly
Xversioned files, which is convenient for maintaining documents, Makefiles,
Xetc that are associated with annexed files but that benefit from full
Xrevision control.
X
XWWW: http://git-annex.branchable.com/
24526250b0f85a1dd1c52a1cb915f2cd
echo x - git-annex/distinfo
sed 's/^X//' >git-annex/distinfo << '96a78b3fe162a1b9d88a3774aff150a2'
XSHA256 (git-annex/0.20110601) = 2718e5634a4384d8a2a284bac66f1cff76d2c048b6c57662c24c575a97e9193b
XSIZE (git-annex/0.20110601) = 358008
96a78b3fe162a1b9d88a3774aff150a2
echo c - git-annex/files
mkdir -p git-annex/files > /dev/null 2>&1
echo x - git-annex/files/patch-Makefile
sed 's/^X//' >git-annex/files/patch-Makefile << '585c16b0aece66a3c56899ae6b137435'
Xdiff --git a/Makefile b/Makefile
Xindex 286c3a6..3ed7a59 100644
X--- Makefile
X+++ Makefile
X@@ -1,4 +1,4 @@
X-PREFIX=/usr
X+PREFIX=/usr/local
X IGNORE=-ignore-package monads-fd
X GHCFLAGS=-O2 -Wall $(IGNORE) -fspec-constr-count=5
X ifdef PROFILE
X@@ -37,12 +37,8 @@ git-annex-shell.1: doc/git-annex-shell.mdwn
X install: all
X 	install -d $(DESTDIR)$(PREFIX)/bin
X 	install $(bins) $(DESTDIR)$(PREFIX)/bin
X-	install -d $(DESTDIR)$(PREFIX)/share/man/man1
X-	install -m 0644 $(mans) $(DESTDIR)$(PREFIX)/share/man/man1
X-	install -d $(DESTDIR)$(PREFIX)/share/doc/git-annex
X-	if [ -d html ]; then \
X-		rsync -a --delete html/ $(DESTDIR)$(PREFIX)/share/doc/git-annex/html/; \
X-	fi
X+	install -d $(DESTDIR)$(PREFIX)/man/man1
X+	install -m 0644 $(mans) $(DESTDIR)$(PREFIX)/man/man1
X 
X test: $(bins)
X 	if ! $(GHCMAKE) -O0 test; then \
X@@ -59,21 +55,7 @@ testcoverage: $(bins)
X 	@hpc report test --exclude=Main --exclude=QC
X 	@hpc markup test --exclude=Main --exclude=QC --destdir=.hpc >/dev/null
X 
X-# If ikiwiki is available, build static html docs suitable for being
X-# shipped in the software package.
X-ifeq ($(shell which ikiwiki),)
X-IKIWIKI=@echo "** ikiwiki not found, skipping building docs" >&2; true
X-else
X-IKIWIKI=ikiwiki
X-endif
X-
X docs: $(mans)
X-	$(IKIWIKI) doc html -v --wikiname git-annex --plugin=goodstuff \
X-		--no-usedirs --disable-plugin=openid --plugin=sidebar \
X-		--underlaydir=/dev/null --disable-plugin=shortcut \
X-		--disable-plugin=smiley \
X-		--plugin=comments --set comments_pagespec="*" \
X-		--exclude='news/.*'
X 
X clean:
X 	rm -rf build $(bins) $(mans) test configure  *.tix .hpc \
585c16b0aece66a3c56899ae6b137435
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106081254.p58CsCIe022584>