aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/automatically_adding_metadata
Commit message (Collapse)AuthorAge
* Fix metadata hook script to support non-ascii charactersGravatar Joey Hess2018-02-26
| | | | | | | | | | tips/automatically_adding_metadata/pre-commit-annex: Fix to not silently skip filenames containing non-ascii characters. git diff-index defaults to munging non-ascii characters. Using -z makes it not do that, and then we just change the nulls to newlines. This commit was sponsored by Jochen Bartl on Patreon.
* followupGravatar Joey Hess2017-12-11
|
* Added a comment: hook and quotingGravatar woffs2017-12-09
|
* Fix metadata hook behavior when multiple files are added at once. Thanks, ↵Gravatar Joey Hess2016-03-02
| | | | Klaus Ethgen.
* remove lower-casing of field names; metadata fields are case-insensativeGravatar Joey Hess2016-02-28
|
* The pre-commit-annex hook script that automatically extracts metadata has ↵Gravatar Joey Hess2016-02-28
| | | | been updated to also use exiftool. Thanks, Klaus Ethgen.
* add basic progressGravatar Joey Hess2015-06-15
|
* Added a comment: pre-commit is OK on windows now - auto adding last mod datetimeGravatar https://www.google.com/accounts/o8/id?id=AItOawnW_CrhP9p50n9UUhTg_a9glyKWSvnrjRQ2015-01-30
|
* Windows: Fix running of the pre-commit-annex hook.Gravatar Joey Hess2015-01-20
|
* followupGravatar Joey Hess2015-01-20
|
* Added a comment: direct mode pre-commit hooks [on windows]Gravatar https://www.google.com/accounts/o8/id?id=AItOawnW_CrhP9p50n9UUhTg_a9glyKWSvnrjRQ2015-01-20
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2014-04-17
|\
| * Added a commentGravatar http://joeyh.name/2014-04-17
| |
* | modify so the script can be run with existing annexed files to extract their ↵Gravatar Joey Hess2014-04-17
|/ | | | metadata
* Added a commentGravatar https://id.koumbit.net/anarcat2014-04-01
|
* Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus2014-03-03
|
* decruftGravatar Joey Hess2014-03-02
|
* pre-commit-annex hook script to automatically extract metadata from lots of ↵Gravatar Joey Hess2014-03-02
types of files Using the extract(1) program to do the heavy lifting. Decided to make git-annex run pre-commit-annex when committing. Since git-annex pre-commit also runs it, it'll be run when git commit is run too, via the pre-commit hook. This basically gives back the pre-commit hook that git-annex took away. The implementation avoids repeatedly looking for the hook script when the assistant is running and committing repeatedly; only checks if the hook is available once. To make the script simpler, made git-annex metadata -s field?=value only set a field when it's not already got a value. This commit was sponsored by bak.