summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* gitignore support for the assistant and watcherGravatar Joey Hess2013-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requires git 1.8.4 or newer. When it's installed, a background git check-ignore process is run, and used to efficiently check ignores whenever a new file is added. Thanks to Adam Spiers, for getting the necessary support into git for this. A complication is what to do about files that are gitignored but have been checked into git anyway. git commands assume the ignore has been overridden in this case, and not need any more overriding to commit a changed version. However, for the assistant to do the same, it would have to run git ls-files to check if the ignored file is in git. This is somewhat expensive. Or it could use the running git-cat-file process to query the file that way, but that requires transferring the whole file content over a pipe, so it can be quite expensive too, for files that are not git-annex symlinks. Now imagine if the user knows that a file or directory tree will be getting frequent changes, and doesn't want the assistant to sync it, so gitignores it. The assistant could overload the system with repeated ls-files checks! So, I've decided that the assistant will not automatically commit changes to files that are gitignored. This is a tradeoff. Hopefully it won't be a problem to adjust .gitignore settings to not ignore files you want the assistant to autocommit, or to manually git annex add files that are listed in .gitignore. (This could be revisited if git-annex gets access to an interface to check the content of the index w/o forking a git command. This could be libgit2, or perhaps a separate git cat-file --batch-check process, so it wouldn't need to ship over the whole file content.) This commit was sponsored by Francois Marier. Thanks!
* better git version checkingGravatar Joey Hess2013-08-02
|
* release notesGravatar Joey Hess2013-08-02
|
* add news item for git-annex 4.20130802Gravatar Joey Hess2013-08-02
|
* releasing version 4.201308024.20130802Gravatar Joey Hess2013-08-02
|
* improve error messageGravatar Joey Hess2013-08-02
|
* fix syntaxGravatar Joey Hess2013-08-02
|
* fix Windows breakageGravatar Joey Hess2013-08-02
|
* get rid of __WINDOWS__, use mingw32_HOST_OSGravatar Joey Hess2013-08-02
| | | | | The latter is harder for me to remember, but avoids build failures in code used by the configure program.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2013-08-02
|\
| * Added a comment: re: git annex get failed -- debugGravatar https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y2013-08-02
| |
| * Added a comment: re: git annex get failedGravatar https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y2013-08-02
| |
| * Added a comment: git annex get failedGravatar https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y2013-08-02
| |
| * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U2013-08-02
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U2013-08-02
| |
| * Sometimes, I dislike MarkDownGravatar Richard Hartmann2013-08-02
| |
| * Fix indentationGravatar Richard Hartmann2013-08-02
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U2013-08-02
| |
| * Added a commentGravatar http://joeyh.name/2013-08-01
| |
| * Added a comment: checkpresent againGravatar https://www.google.com/accounts/o8/id?id=AItOawnWvnTWY6LrcPB4BzYEBn5mRTpNhg5EtEg2013-08-01
| |
* | reorderGravatar Joey Hess2013-08-01
|/
* blog for the dayGravatar Joey Hess2013-08-01
|
* Slow and ugly work around for bug #718517 in git, which broke git-cat-file ↵Gravatar Joey Hess2013-08-01
| | | | | | | | | | | | | --batch for filenames containing spaces. This runs git-cat-file in non-batch mode for all files with spaces. If a directory tree has a lot of them, and is in direct mode, even "git annex add" when there are few new files will need a *lot* of forks! The only reason buffering the whole file content to get the sha is not a memory leak is that git-annex only ever uses this on symlinks. This needs to be reverted as soon as a fix is available in git!
* updateGravatar Joey Hess2013-08-01
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2013-08-01
|\
* | Escape ':' in file/directory names to avoid it being treated as a pathspec ↵Gravatar Joey Hess2013-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by some git commands A git pathspec is a filename, except when it starts with ':', it's taken to refer to a branch, etc. Rather than special case ':', any filename starting with anything unusual is prefixed with "./" This could have been a real mess to deal with, but luckily SafeCommand is already extensively used and so we know at the type level the difference between parameters that are files, and parameters that are command options. Testing did show that Git.Queue was not using SafeCommand on filenames fed to xargs. (Filenames starting with '-' worked before only because -- was used to separate filenames from options when calling eg git add.) The test suite now passes with filenames starting with ':'. However, I did not keep that change to it, because such filenames are probably not legal on windows, and I have enough ugly windows ifdefs in there as it is. This commit was sponsored by Otavio Salvador. Thanks!
| * Added a commentGravatar http://joeyh.name/2013-08-01
| |
| * Added a comment: ThanksGravatar https://www.google.com/accounts/o8/id?id=AItOawln4uCaqZRd5_nRQ-iLcJyGctIdw8ebUiM2013-08-01
| |
| * Added a commentGravatar http://joeyh.name/2013-08-01
| |
| * Added a comment: Just put multiple source filesGravatar https://www.google.com/accounts/o8/id?id=AItOawln4uCaqZRd5_nRQ-iLcJyGctIdw8ebUiM2013-08-01
| |
| * Added a commentGravatar http://joeyh.name/2013-08-01
| |
| * Added a commentGravatar http://joeyh.name/2013-08-01
|/
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2013-08-01
|\
* | improve importfeed --force; try to match existing files to avoid unncessary ↵Gravatar Joey Hess2013-08-01
| | | | | | | | duplication
| * Added a comment: --force reload all URLsGravatar ckeen2013-08-01
| |
| * Added a comment: Thank you so much!Gravatar https://launchpad.net/~mikapflueger2013-08-01
| |
| * TypoGravatar Richard Hartmann2013-08-01
| |
| * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawln3ckqKx0x_xDZMYwa9Q1bn4I06oWjkog2013-07-31
| |
| * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawln4uCaqZRd5_nRQ-iLcJyGctIdw8ebUiM2013-07-31
|/
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2013-07-31
|\
* | closeGravatar Joey Hess2013-07-31
| |
* | blog for the dayGravatar Joey Hess2013-07-31
| |
| * Added a commentGravatar http://joeyh.name/2013-07-31
|/
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2013-07-31
|\
* | webapp: Improve handling of remotes whose setup has stalled.Gravatar Joey Hess2013-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes recovery from the ssh-agent problem that led to many reporting http://git-annex.branchable.com/bugs/Internal_Server_Error:_Unknown_UUID/ (Including fixing up .ssh/config to set IdentitiesOnly.) Remotes that have no known uuid are now displayed in the webapp as "unfinished". There's a link to check their status, and if the remote has been set annex-ignore, a retry button can be used to unset that and try again to set up the remote. As this bug has shown, the process of adding a ssh remote has some failure modes that are not really ideal. It would certianly be better if, when setting up a ssh remote it would detect if it's failed to get the UUID, and handle that in the remote setup process, rather than waiting until later and handling it this way. However, that's hard to do, particularly for local pairing, since the PairListener runs as a background thread. The best it could do is pop up an alert if there's a problem. This solution is not much different. Also, this solution handles cases where the user has gotten their repo into a mess manually and let's the assistant help with cleaning it up. This commit was sponsored by Chia Shee Liang. Thanks!
| * Added a commentGravatar http://joeyh.name/2013-07-31
| |
| * Added a comment: Horns?Gravatar https://www.google.com/accounts/o8/id?id=AItOawmNu4V5fvpLlBhaCUfXXOB0MI5NXwh8SkU2013-07-31
| |
| * removedGravatar https://www.google.com/accounts/o8/id?id=AItOawmNu4V5fvpLlBhaCUfXXOB0MI5NXwh8SkU2013-07-31
| |
| * Added a comment: Horns?Gravatar https://www.google.com/accounts/o8/id?id=AItOawmNu4V5fvpLlBhaCUfXXOB0MI5NXwh8SkU2013-07-31
| |
| * Added a commentGravatar http://joeyh.name/2013-07-31
| |