CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
Find a file
Joey Hess 9aab70de66 always check with ls-files before adding new files
Makes it safe to use git annex unlock with the watcher/assistant.
And also to mix use of the watcher/assistant with regular files stored in git.

Long ago, I had avoided doing this check, except during the startup scan,
because it would be slow to run ls-files repeatedly.

But then I added the lsof check, and to make that fast, got it to detect
batch file adds. So let's move the ls-files check to also occur when it'll
have a batch, and can check them all with one call.

This does slow down adding a single file by just a bit, but really only
a little bit. (The lsof check is probably more expensive.) It also
speeds up the startup scan, especially when there are lots of new files
found by the scan.

Also, fixed the sleep for annex.delayadd to not run while the threadstate
lock is held, so it doesn't unnecessarily freeze everything else.

Also, --force no longer makes it skip the lsof check, which was not
documented, and seems never a good idea.
2012-10-02 17:41:23 -04:00
Annex Test that uuid -m works, falling back to plain uuid if not. 2012-09-25 10:48:20 -04:00
Assistant always check with ls-files before adding new files 2012-10-02 17:41:23 -04:00
Backend Avoid crashing on encoding errors in filenames when writing transfer info files and reading from checksum commands. 2012-09-16 01:53:06 -04:00
Build move 2012-10-01 13:38:19 -04:00
Command status: display repository groups 2012-10-02 13:45:30 -04:00
Common lint 2011-11-11 01:52:58 -04:00
debian always check with ls-files before adding new files 2012-10-02 17:41:23 -04:00
doc always check with ls-files before adding new files 2012-10-02 17:41:23 -04:00
Git avoid webapp crash on startup when there's no ~/.gitconfig 2012-09-23 12:43:14 -04:00
Locations flip catchDefaultIO 2012-09-17 00:18:07 -04:00
Logs status: display repository groups 2012-10-02 13:45:30 -04:00
Messages find --json 2011-12-23 01:08:19 -04:00
Remote change s3 creds caching 2012-09-26 14:42:51 -04:00
standalone move 2012-10-01 13:38:19 -04:00
static add icons 2012-07-31 03:10:16 -04:00
templates add a alert at the top of the main part of the webapp, above the transfers display 2012-09-28 13:30:29 -04:00
Types status: display repository groups 2012-10-02 13:45:30 -04:00
Upgrade flip catchDefaultIO 2012-09-17 00:18:07 -04:00
Utility bring back default SIGINT handler 2012-10-01 23:01:29 -04:00
.ghci autoload Common too in ghci 2012-03-24 17:25:47 -04:00
.gitattributes decruft 2011-06-22 18:56:08 -04:00
.gitignore cleanup 2012-09-25 11:49:36 -04:00
Annex.hs group, ungroup: New commands to indicate groups of repositories. 2012-10-01 15:12:04 -04:00
Assistant.hs build fix for non-webapp enabled build 2012-09-23 11:48:09 -04:00
Backend.hs maintain set of files pendingAdd 2012-06-20 16:31:46 -04:00
CHANGELOG symlinks 2010-10-27 15:14:59 -04:00
Checks.hs layout 2012-01-06 21:53:47 -04:00
CmdLine.hs bring back default SIGINT handler 2012-10-01 23:01:29 -04:00
Command.hs more descriptive name for oneshot 2012-09-15 20:46:38 -04:00
Common.hs switch from System.Cmd.Utils to System.Process 2012-07-18 18:00:24 -04:00
Config.hs better readProcess 2012-07-19 00:57:40 -04:00
configure.hs Rewrote free disk space checking code 2012-03-22 17:32:47 -04:00
CONTRIBUTING Remove .dir-locals.el and add doc/contributing.mdwn. 2012-06-12 00:43:42 -07:00
COPYRIGHT Add link COPYRIGHT -> debian/copyright; add COPYRIGHT to sdist. 2012-06-11 23:27:00 -07:00
Crypto.hs add routes to pause/start/cancel transfers 2012-08-08 16:20:24 -04:00
Fields.hs keep logs of failed transfers, and requeue them when doing a non-full scan 2012-08-23 15:24:15 -04:00
git-annex.cabal releasing version 3.20121001 2012-10-01 14:12:31 -04:00
git-annex.hs shave some 12 mb from the installed size 2012-03-15 12:00:19 -04:00
git-union-merge.hs factor out nukeFile 2012-06-06 13:13:13 -04:00
Git.hs Avoid ugly failure mode when moving content from a local repository that is not available. 2012-06-26 17:22:44 -04:00
GitAnnex.hs group, ungroup: New commands to indicate groups of repositories. 2012-10-01 15:12:04 -04:00
GitAnnexShell.hs git-annex-shell transferinfo command 2012-09-21 16:23:25 -04:00
Init.hs adding removable drive repos now basically works 2012-08-05 14:49:47 -04:00
INSTALL symlinks 2010-10-27 15:14:59 -04:00
Limit.hs A way to match files in repositories in a group 2012-10-01 18:25:11 -04:00
Locations.hs store S3 creds in a 600 mode file inside the local git repo 2012-09-26 14:42:32 -04:00
Makefile move 2012-10-01 13:38:19 -04:00
Messages.hs upload progress tracking for the directory special remote 2012-09-21 14:54:24 -04:00
NEWS update NEWS 2012-01-19 15:27:39 -04:00
Option.hs debugging improvements 2012-07-20 19:29:59 -04:00
README add README 2011-05-13 19:20:54 -04:00
Remote.hs refactor 2012-08-26 14:45:47 -04:00
Seek.hs add routes to pause/start/cancel transfers 2012-08-08 16:20:24 -04:00
Setup.hs make the standalone OSX app automatically install itself when run 2012-09-26 16:50:04 -04:00
test.hs fix breakage caught by test suite 2012-09-21 00:49:48 -04:00
Types.hs tweak 2012-01-06 10:57:57 -04:00
Upgrade.hs tweaks 2012-01-11 00:06:54 -04:00
Usage.hs group, ungroup: New commands to indicate groups of repositories. 2012-10-01 15:12:04 -04:00

git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
to limitations in memory, checksumming time, or disk space.

For documentation, see doc/ or <http://git-annex.branchable.com/>