Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-11 | Don't overwrite environment CFLAGS, use CPPFLAGS. | Romain Francoise | |
2012-06-07 | Bump version, i.e. update debian/changelog. | Przemyslaw Pawelczyk | |
2012-06-07 | Fix 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-10 | Add option preventing metastore from omitting .git dirs. | Przemyslaw Pawelczyk | |
2012-02-10 | Add .gitignore. | Przemyslaw Pawelczyk | |
2012-02-10 | Merge 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-10 | Remove 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-10 | Fix getopt parsing of -f. | Romain Francoise | |
2008-06-23 | Cleanup help messagev1 | David Härdeman | |
2008-06-23 | Add stricter build flags | David Härdeman | |
2008-06-23 | Add dynamic metafile path | David 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-20 | Add documentation of the file format used... | David Härdeman | |
2008-03-20 | First stab at supporting the option of automatically creating empty | David Härdeman | |
directories which are missing. This should help with Debian BR #460998 | |||
2008-03-20 | Detect whether the underlying FS supports xattrs | David 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-20 | Add something vaguely useful to README | David Härdeman | |
2008-03-20 | Fix unhelpful error messages | David Härdeman | |
(thanks to bug report forwarded by Joey Hess <joey@kitenet.net>) | |||
2007-11-25 | fix display of message in usage message | Joey Hess | |
Displaying a function pointer as a string doesn't work well. :-) | |||
2007-11-25 | fix documentation of --compare | Joey Hess | |
I considered changing metastore to match the documentation and use --diff, but I'm already using --compare in etckeeper. | |||
2007-05-23 | Simplify mentry_insert | David Härdeman | |
2007-05-21 | Add optimization flags to gcc | David Härdeman | |
2007-05-21 | Free some temporarily allocated memory | David Härdeman | |
2007-05-21 | Add caching uid/gid lookup functions | David Härdeman | |
2007-05-21 | Use hash tables instead of linked lists for a nice speedup at the cost of ↵ | David Härdeman | |
sorted output | |||
2007-05-21 | And add a newline | David Härdeman | |
2007-05-21 | Oops, fix typo | David Härdeman | |
2007-05-21 | Sadly, we can't change symlink mtimes | David Härdeman | |
2007-05-20 | Make sure stat doesn't error out on > 2GB files | David Härdeman | |
2007-05-20 | Add example scripts to integrate metastore with git | David Härdeman | |
2007-05-20 | Fix chmod so that it actually works | David Härdeman | |
2007-05-20 | Improve some error messages. | David Härdeman | |
2007-05-19 | Correct usage message | David Härdeman | |
2007-05-19 | Add missing dependency | David Härdeman | |
2007-05-19 | Add debian build scripts for my own convenience | David Härdeman | |
2007-05-19 | Add (un)install targets | David Härdeman | |
2007-05-19 | Quiet some -ansi/-pedantic compilation warnings | David Härdeman | |
2007-05-19 | Add a man page and update help message | David Härdeman | |
2007-05-19 | Improve some variable names and add comments to the last few functions | David Härdeman | |
2007-05-19 | And remove another global variable (verbosity) | David Härdeman | |
2007-05-19 | Remove the need for a global variable (do_mtime) | David Härdeman | |
2007-05-19 | 80-col align code, add license headers | David Härdeman | |
2007-05-19 | Change all printf() calls to msg() calls and clean up output | David Härdeman | |
2007-05-18 | Split meta entry functions into a separate file | David Härdeman | |
2007-05-18 | Make sure only initial paths are normalized | David Härdeman | |
2007-05-18 | Add debug output for compare action | David Härdeman | |
2007-05-18 | Also ignore .git directories | David Härdeman | |
2007-05-18 | Another pointless checkin | David Härdeman | |
2007-05-18 | Empty checkin to test git repo | David Härdeman | |
2007-05-18 | Initial project checkin | David Härdeman | |
2007-05-18 | Empty commit | root | |