summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2010-10-18 19:59:21 +0000
committerStef Walter <stef@thewalter.net>2010-10-18 21:16:43 +0000
commit28173f3e2037a37cdd6d6afe7f1b084e216df1ca (patch)
tree7f2bc3720450721182d3b9852a1326728a372de1
parente021152e8e0b66776f743900a7b481d3cdff772c (diff)
A few changes to the project after move to git.
-rw-r--r--.gitignore (renamed from .cvsignore)3
-rw-r--r--ChangeLog46
-rw-r--r--Makefile.am14
-rw-r--r--NEWS26
-rwxr-xr-xautogen.sh19
5 files changed, 85 insertions, 23 deletions
diff --git a/.cvsignore b/.gitignore
index dfb975d..0ff01ed 100644
--- a/.cvsignore
+++ b/.gitignore
@@ -18,3 +18,6 @@ trash
.project
*.tar.gz
.*
+*.o
+
+/src/scrounge-ntfs
diff --git a/ChangeLog b/ChangeLog
index 163a82c..0bd7f42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,26 +1,32 @@
-0.9
- - Use my real name 'Stef Walter'
- See: http://memberwebs.com/nielsen/
+=== ChangeLog discontinued ===
-0.8.7
- - Fix crasher on corrupted drives. A problem with update
- sequence offset being filled with garbage [Albert Kwok]
+ With the move to git, this project is switching from a ChangeLog
+ file to relying on commit messages to provide change history. Please
+ write commit messages in the following format:
-0.8.6
- - Don't exit on error reading source drive [Marius Hillenbrand]
- - Fixed core dump when attribute list, but no MFT loaded [Marius Hillenbrand]
+=== begin example commit ===
-0.8.5
- - Ported to Linux/FreeBSD
- - Support for very fragmented MFTs
- - Fixed memory leaks
- - Fixed many bugs
+ Short explanation of the commit
-0.8
- - Support for non-contiguous MFT
- - Better support for WinXP NTFS
- - Other bug fixes
+ Longer explanation explaining exactly what's changed, whether any
+ external or private interfaces changed, what bugs were fixed (with bug
+ tracker reference if applicable) and so forth. Be concise but not too
+ brief.
-0.7
- - Initial public release
+=== end example commit ===
+ - Always add a brief description of the commit to the _first_ line of
+ the commit and terminate by two newlines. This may be the title of
+ a fixed bug, copied from Bugzilla.
+
+ - First line (the brief description) must only be one sentence and
+ should start with a capital letter unless it starts with a
+ lowercase symbol or identifier. Don't use a trailing full stop,
+ and don't exceed 72 characters.
+
+ - The main description (the body) is normal prose and should use
+ normal punctuation and capital letters where appropriate.
+
+ - When committing code on behalf of others use the --author option,
+ e.g. git commit -a --author "Joe Coder <joe@coder.org>" and
+ --signoff.
diff --git a/Makefile.am b/Makefile.am
index 08cbe21..7a07430 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,5 +3,15 @@ EXTRA_DIST = config.win32.h
SUBDIRS = src win32 doc
dist-hook:
- rm -rf `find $(distdir)/ -name CVS`
-
+ @if test -d "$(srcdir)/.git"; \
+ then \
+ echo Creating ChangeLog && \
+ ( cd "$(top_srcdir)" && \
+ echo '# Generate automatically. Do not edit.'; echo; \
+ $(top_srcdir)/missing --run git log --stat --date=short ) > ChangeLog.tmp \
+ && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
+ || ( rm -f ChangeLog.tmp ; \
+ echo Failed to generate ChangeLog >&2 ); \
+ else \
+ echo A git clone is required to generate a ChangeLog >&2; \
+ fi
diff --git a/NEWS b/NEWS
index c7ab92a..d79c30e 100644
--- a/NEWS
+++ b/NEWS
@@ -1 +1,25 @@
-See ChangeLog \ No newline at end of file
+0.9
+ - Use my real name 'Stef Walter'
+ See: http://memberwebs.com/nielsen/
+
+0.8.7
+ - Fix crasher on corrupted drives. A problem with update
+ sequence offset being filled with garbage [Albert Kwok]
+
+0.8.6
+ - Don't exit on error reading source drive [Marius Hillenbrand]
+ - Fixed core dump when attribute list, but no MFT loaded [Marius Hillenbrand]
+
+0.8.5
+ - Ported to Linux/FreeBSD
+ - Support for very fragmented MFTs
+ - Fixed memory leaks
+ - Fixed many bugs
+
+0.8
+ - Support for non-contiguous MFT
+ - Better support for WinXP NTFS
+ - Other bug fixes
+
+0.7
+ - Initial public release
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..1d2c8d9
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+# Some boiler plate to get git setup as expected
+if test -d .git; then
+ if test -f .git/hooks/pre-commit.sample && \
+ test ! -f .git/hooks/pre-commit; then
+ cp -pv .git/hooks/pre-commit.sample .git/hooks/pre-commit
+ fi
+fi
+
+set -x
+
+aclocal
+autoheader
+automake -a
+autoconf
+./configure "$@"