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 1d388d5579 fixed the race breaking moving files from archive in direct mode
assistant: Fix bug in direct mode that could occur when a symlink is moved
out of an archive directory, and resulted in the file not being set to
direct mode when it was transferred.

The bug was that the direct mode mapping was not up-to-date when the
transferrer finished. So, finding no direct mode place to store the object,
it was put into .git/annex in indirect mode.

To fix this, just make the watcher update the direct mode mapping to
include the new file before it starts the transfer. (Seems we don't need to
update it to remove the old file if the link was moved, because the direct
mode code will notice it's not present and the mapping gets updated for its
removal later.)

The reason this was a race, and was probably not seen often is because
the committer came along and updated the direct mode mapping as part of
adding the moved symlink. But when the file was sufficiently small or
the remote sufficiently fast, this could happen after the transfer
finished.
2013-03-04 14:25:22 -04:00
Annex git subcommand cleanup 2013-03-03 13:39:07 -04:00
Assistant fixed the race breaking moving files from archive in direct mode 2013-03-04 14:25:22 -04:00
Backend SHA*E backends: Exclude non-alphanumeric characters from extensions. 2012-12-20 17:16:55 -04:00
Build Build/mdwn2man: don't rely on perl being installed in /usr/bin; instead find it in $PATH 2013-02-28 16:04:46 -04:00
Command webapp: New preferences page allows enabling/disabling debug logging at runtime, as well as configuring numcopies and diskreserve. 2013-03-03 17:07:27 -04:00
Common lint 2011-11-11 01:52:58 -04:00
debian fixed the race breaking moving files from archive in direct mode 2013-03-04 14:25:22 -04:00
doc Merge branch 'master' of ssh://git-annex.branchable.com 2013-03-03 20:55:56 -04:00
Git git subcommand cleanup 2013-03-03 13:39:07 -04:00
Locations webapp: New preferences page allows enabling/disabling debug logging at runtime, as well as configuring numcopies and diskreserve. 2013-03-03 17:07:27 -04:00
Logs show an error message if garbage is provided to dropunused 2013-03-03 20:04:24 -04:00
Messages where indenting 2012-11-11 00:51:07 -04:00
Remote git subcommand cleanup 2013-03-03 13:39:07 -04:00
standalone expanded some TH 2013-03-01 01:15:53 -04:00
static webapp: Added help buttons and links next to fields that require explanations. 2012-12-02 22:33:30 -04:00
templates webapp: New preferences page allows enabling/disabling debug logging at runtime, as well as configuring numcopies and diskreserve. 2013-03-03 17:07:27 -04:00
Types improve imports 2013-02-27 21:48:46 -04:00
Upgrade git subcommand cleanup 2013-03-03 13:39:07 -04:00
Utility check that gpg generated as much data as we asked for 2013-03-03 20:39:01 -04:00
.ghci workaround for ghci fragility in reusing objects compiled with ghc 2012-10-20 16:20:42 -04:00
.gitattributes decruft 2011-06-22 18:56:08 -04:00
.gitignore Makefile now builds using cabal, taking advantage of cabal's automatic detection of appropriate build flags. 2013-02-27 02:39:22 -04:00
Annex.hs Direct mode: Support filesystems like FAT which can change their inodes each time they are mounted. 2013-02-19 17:31:03 -04:00
Assistant.hs assistant: Logs are rotated to avoid them using too much disk space. 2013-03-01 13:30:48 -04:00
Backend.hs fully support core.symlinks=false in all relevant symlink handling code 2013-02-17 16:43:14 -04:00
CHANGELOG symlinks 2010-10-27 15:14:59 -04:00
Checks.hs convert notBareRepo to a CommandCheck 2012-12-29 14:45:19 -04:00
CmdLine.hs where indenting 2012-11-11 00:51:07 -04:00
Command.hs convert notBareRepo to a CommandCheck 2012-12-29 14:45:19 -04:00
Common.hs Common.hs: System.Path is exported by "MissingH" and "pathtype" package 2013-02-23 17:05:44 +01:00
Config.hs git subcommand cleanup 2013-03-03 13:39:07 -04:00
configure.hs Rewrote free disk space checking code 2012-03-22 17:32:47 -04:00
COPYRIGHT Add link COPYRIGHT -> debian/copyright; add COPYRIGHT to sdist. 2012-06-11 23:27:00 -07:00
Creds.hs webapp: Defaults to sharing box.com account info with friends, allowing one-click enabling of the repository. 2012-11-28 13:31:49 -04:00
Crypto.hs improve comments and variable names WRT base64 encoded encryption keys 2013-03-03 19:44:48 -04:00
Fields.hs safe recv-key in direct mode 2013-01-11 16:03:45 -04:00
ghci brought back fast ghci 2013-02-27 21:38:01 -04:00
git-annex.cabal fix android app upgrade hang 2013-02-28 19:18:56 -04:00
git-annex.hs typo 2013-02-27 16:33:20 -04:00
git-union-merge.hs factor out nukeFile 2012-06-06 13:13:13 -04:00
Git.hs where indenting 2012-11-11 00:51:07 -04:00
GitAnnex.hs typo 2013-02-27 16:33:20 -04:00
GitAnnexShell.hs safe recv-key in direct mode 2013-01-11 16:03:45 -04:00
Init.hs annex.version is now set to 4 for direct mode repositories 2013-02-26 15:13:10 -04:00
INSTALL symlinks 2010-10-27 15:14:59 -04:00
Limit.hs fix * glob matching files in subdirectories 2013-02-26 14:35:39 -04:00
Locations.hs Additional GIT_DIR support bugfixes. May actually work now. 2013-02-23 12:41:22 -04:00
Makefile send hothasktags stderr to null 2013-03-03 23:33:22 -04:00
Messages.hs log alerts in notice mode, which is enabled by default 2013-01-15 14:34:39 -04:00
Meters.hs S3: Added progress display for uploading and downloading. 2012-11-18 22:49:07 -04:00
NEWS update NEWS 2012-01-19 15:27:39 -04:00
Option.hs log alerts in notice mode, which is enabled by default 2013-01-15 14:34:39 -04:00
README add README 2011-05-13 19:20:54 -04:00
Remote.hs drop: Suggest using git annex move when numcopies prevents dropping a file. 2013-01-09 18:53:59 -04:00
Seek.hs make adding modified files work on crippled filesystems 2013-02-20 14:12:55 -04:00
Setup.hs where indenting 2012-11-11 00:51:07 -04:00
Test.hs more test output improvements 2013-02-28 01:21:22 -04:00
Types.hs type based git config handling for remotes 2013-01-01 13:58:14 -04:00
Upgrade.hs where indenting 2012-11-11 00:51:07 -04:00
Usage.hs more indentation. must stop. 2012-10-28 22:09:09 -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/>