summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-07Create AUTHORS file.Przemyslaw Pawelczyk
2013-05-03Add include guards in header files.Przemyslaw Pawelczyk
2013-05-03Simplify mentries_recurse*() functions.Przemyslaw Pawelczyk
Remove duplicated code introduced by 47fa5ae and use settings instead.
2013-05-03Introduce settings structure.Przemyslaw Pawelczyk
No more passing particular options (like git or mtime) to functions. The structure is meant to be immutable after filling during startup.
2012-06-11Bump version, i.e. update debian/changelog.Przemyslaw Pawelczyk
2012-06-11Remove no longer needed debian/{source/format,watch} files.Przemyslaw Pawelczyk
2012-06-11Merge debian/ changes from Debian.Romain Francoise
* Switch to debhelper compat level 9. * Enable all hardening options. * Don't overwrite environment CFLAGS, use CPPFLAGS. * Bump Standards-Version to 3.9.3, no changes needed.
2012-06-11Don't overwrite environment CFLAGS, use CPPFLAGS.Romain Francoise
2012-06-07Bump version, i.e. update debian/changelog.Przemyslaw Pawelczyk
2012-06-07Fix false error when writing zero-length records.Zak Wilcox
Quoting Todd A. Jacobs, https://bugs.launchpad.net/bugs/937306: DATA LOSS WARNING: Using metastore in its current condition can lead to loss of metadata. See below for details. First of all, metastore provides confusing and useless feedback to the user when storing extended attributes without defined values. To consistently re-create this problem: $ touch foo $ setfattr -n user.bar foo $ metastore -s foo Failed to write to file: Success $ echo $? 1 The error message and exit status imply the operation has failed, but it has not--at least, not completely. You can see that metastore *appears* to have succeeded as follows: $ rm foo $ touch foo $ metastore -a foo ./foo: changing metadata ./foo: adding xattr user.bar $ echo $? 0 $ getfattr -d foo # file: foo user.bar So, the .metadata file seems to contains all the correct information, but it provides this contradictory and cryptic error message to the user on save. However, the .metadata file *is* actually broken, but you only see it when saving multiple extended attributes where at least one of them has no defined value. $ rm foo; rm .metadata $ touch foo $ setfattr -n user.bar foo $ setfattr -n user.baz -v quux foo $ getfattr -d foo # file: foo user.bar user.baz="quux" $ metastore -s foo Failed to write to file: Success $ echo $? 1 $ rm foo $ touch foo $ metastore -a Attempt to read beyond end of file, corrupt file? $ echo $? 1 So, there are really two things that need fixing: 1. The incredibly cryptic error message on save. What is the actual error condition it is trying to report? 2. The proper handling of extended attributes without values. Signed-off-by: Przemyslaw Pawelczyk <przemoc@gmail.com>
2012-02-10Add option preventing metastore from omitting .git dirs.Przemyslaw Pawelczyk
2012-02-10Add .gitignore.Przemyslaw Pawelczyk
2012-02-10Merge debian/ changes from Debian.Romain Francoise
* New maintainer. * Switch (back) to a minimal rules files; restores missing examples. * Switch to source format 3.0 (quilt). * Add debian/watch. * Bump Standards-Version to 3.9.1, no changes needed.
2012-02-10Remove prompting from example Git pre-commit hook.Romain Francoise
Hooks now run with stdin closed (since Git version 1.5.4) and prompting will not work when using a high-level interface such as git-gui or Emacs anyway.
2012-02-10Fix getopt parsing of -f.Romain Francoise
2008-06-23Cleanup help messagev1David Härdeman
2008-06-23Add stricter build flagsDavid Härdeman
2008-06-23Add dynamic metafile pathDavid Härdeman
In some situations it may be useful to have multiple sets of metadata for the same hierarchy (e.g. representing how a file set should appear on different hosts). The ability to select a metadata file may be useful in this case. Patch by Sergio Callegari <sergio.callegari@gmail.com>
2008-03-20Add documentation of the file format used...David Härdeman
2008-03-20First stab at supporting the option of automatically creating emptyDavid Härdeman
directories which are missing. This should help with Debian BR #460998
2008-03-20Detect whether the underlying FS supports xattrsDavid Härdeman
No support for xattrs is treated the same as a file having no xattrs on a file system which does support xattrs. This should fix Debian BR #470184
2008-03-20Add something vaguely useful to READMEDavid Härdeman
2008-03-20Fix unhelpful error messagesDavid Härdeman
(thanks to bug report forwarded by Joey Hess <joey@kitenet.net>)
2007-11-25fix display of message in usage messageJoey Hess
Displaying a function pointer as a string doesn't work well. :-)
2007-11-25fix documentation of --compareJoey Hess
I considered changing metastore to match the documentation and use --diff, but I'm already using --compare in etckeeper.
2007-05-23Simplify mentry_insertDavid Härdeman
2007-05-21Add optimization flags to gccDavid Härdeman
2007-05-21Free some temporarily allocated memoryDavid Härdeman
2007-05-21Add caching uid/gid lookup functionsDavid Härdeman
2007-05-21Use hash tables instead of linked lists for a nice speedup at the cost of ↵David Härdeman
sorted output
2007-05-21And add a newlineDavid Härdeman
2007-05-21Oops, fix typoDavid Härdeman
2007-05-21Sadly, we can't change symlink mtimesDavid Härdeman
2007-05-20Make sure stat doesn't error out on > 2GB filesDavid Härdeman
2007-05-20Add example scripts to integrate metastore with gitDavid Härdeman
2007-05-20Fix chmod so that it actually worksDavid Härdeman
2007-05-20Improve some error messages.David Härdeman
2007-05-19Correct usage messageDavid Härdeman
2007-05-19Add missing dependencyDavid Härdeman
2007-05-19Add debian build scripts for my own convenienceDavid Härdeman
2007-05-19Add (un)install targetsDavid Härdeman
2007-05-19Quiet some -ansi/-pedantic compilation warningsDavid Härdeman
2007-05-19Add a man page and update help messageDavid Härdeman
2007-05-19Improve some variable names and add comments to the last few functionsDavid Härdeman
2007-05-19And remove another global variable (verbosity)David Härdeman
2007-05-19Remove the need for a global variable (do_mtime)David Härdeman
2007-05-1980-col align code, add license headersDavid Härdeman
2007-05-19Change all printf() calls to msg() calls and clean up outputDavid Härdeman
2007-05-18Split meta entry functions into a separate fileDavid Härdeman
2007-05-18Make sure only initial paths are normalizedDavid Härdeman