From 28173f3e2037a37cdd6d6afe7f1b084e216df1ca Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 18 Oct 2010 19:59:21 +0000 Subject: A few changes to the project after move to git. --- .cvsignore | 20 -------------------- .gitignore | 23 +++++++++++++++++++++++ ChangeLog | 46 ++++++++++++++++++++++++++-------------------- Makefile.am | 14 ++++++++++++-- NEWS | 26 +++++++++++++++++++++++++- autogen.sh | 19 +++++++++++++++++++ 6 files changed, 105 insertions(+), 43 deletions(-) delete mode 100644 .cvsignore create mode 100644 .gitignore create mode 100755 autogen.sh diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index dfb975d..0000000 --- a/.cvsignore +++ /dev/null @@ -1,20 +0,0 @@ -aclocal.m4 -autom4te.cache -compile -config.h -config.h.in* -config.log -config.status -configure -depcomp -install-sh -Makefile -Makefile.in -missing -mkinstalldirs -stamp-* -trash -.cdtproject -.project -*.tar.gz -.* diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0ff01ed --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +aclocal.m4 +autom4te.cache +compile +config.h +config.h.in* +config.log +config.status +configure +depcomp +install-sh +Makefile +Makefile.in +missing +mkinstalldirs +stamp-* +trash +.cdtproject +.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 " 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 "$@" -- cgit v1.2.3