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 b6ba0bd556 sync --content: New option that makes the content of annexed files be transferred.
Similar to the assistant, this honors any configured preferred content
expressions.

I am not entirely happpy with the implementation. It would be nicer if
the seek function returned a list of actions which included the individual
file gets and copies and drops, rather than the current list of calls to
syncContent. This would allow getting rid of the somewhat reundant display
of "sync file [ok|failed]" after the get/put display.

But, do that, withFilesInGit would need to somehow be able to construct
such a mixed action list. And it would be less efficient than the current
implementation, which is able to reuse several values between eg get and
drop.

Note that currently this does not try to satisfy numcopies when
getting/putting files (numcopies are of course checked when dropping
files!) This makes it like the assistant, and unlike get --auto
and copy --auto, which do duplicate files when numcopies is not yet
satisfied. I don't know if this is the right decision; it only seemed to
make sense to have this parallel the assistant as far as possible to start
with, since I know the assistant works.

This commit was sponsored by Øyvind Andersen Holm.
2014-01-19 17:49:54 -04:00
Annex sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -04:00
Assistant sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -04:00
Backend import: Add --skip-duplicates option. 2013-12-04 13:13:30 -04:00
Build fix install_name_tool library name replacement 2014-01-15 13:05:07 -04:00
Command sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -04:00
Common Use lower case hash directories for storing files on crippled filesystems, same as is already done for bare repositories. 2013-04-04 15:46:33 -04:00
Config move programPath out of Config.Files to Annex.Path 2013-11-24 16:03:03 -04:00
debian sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -04:00
doc sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -04:00
Git repair: Fix bug in packed refs file exploding code that caused a .gitrefs directory to be created instead of .git/refs 2014-01-15 16:34:18 -04:00
GitAnnex Remove --json option from commands not supporting it. 2014-01-18 11:54:43 -04:00
Limit improve matcher data type to allow matching Keys, instead of just files (no behavior changes) 2014-01-18 14:51:55 -04:00
Logs copyright year 2014-01-08 16:29:15 -04:00
Messages hlint 2013-04-03 03:52:41 -04:00
Remote sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -04:00
standalone work around windows apparent random dislike of removing files 2013-12-30 14:11:40 -04:00
static Tweak magic number to fix bad behavior in Firefox, which was caused by an earlier fix to bad behavior in Chromium. 2013-12-09 17:44:45 -04:00
templates don't shown non-working file browser opening UI on android 2013-12-03 13:41:23 -04:00
Types improve matcher data type to allow matching Keys, instead of just files (no behavior changes) 2014-01-18 14:51:55 -04:00
Upgrade forgot to add this file 2013-12-29 16:56:20 -04:00
Utility avoid needing a build-dep on hxt for Data.AssocList 2014-01-14 16:42:10 -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 update for LinuxMkLibs 2013-12-24 13:25:40 -04:00
.mailmap seed .mailmap file for more sensible git shortlog 2014-01-18 15:50:57 -04:00
Annex.hs improve matcher data type to allow matching Keys, instead of just files (no behavior changes) 2014-01-18 14:51:55 -04:00
Assistant.hs add support for fully automatic upgrades 2013-11-24 13:20:58 -04:00
Backend.hs Added SKEIN256 and SKEIN512 backends 2013-10-01 20:34:36 -04:00
build.bat windows build foo 2013-12-05 20:40:28 -04:00
BuildFlags.hs Allow optionally configuring git-annex with -fEKG to enable awesome remote monitoring interfaceat http://localhost:4242/ 2013-11-06 16:33:45 -04:00
CHANGELOG symlinks 2010-10-27 15:14:59 -04:00
Checks.hs direct, indirect: Refuse to do anything when the assistant or git-annex watch daemon is running. 2013-04-22 16:41:46 -04:00
CmdLine.hs make "git annex help options" work outside a git repo 2013-11-30 15:18:40 -04:00
Command.hs make "git annex help options" work outside a git repo 2013-11-30 15:18:40 -04:00
Common.hs clean up some ugly code 2013-09-27 19:52:36 -04:00
Config.hs add GETAVAILABILITY to external special remote protocol 2014-01-13 14:41:10 -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 add credential storage support for external special remotes & update example 2013-12-27 16:01:43 -04:00
Crypto.hs remove *>=> and >=*> ; use <$$> instead 2013-09-27 19:58: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 Really fix FTBFS on mipsel and sparc due to test suite not being available on those architectures. 2014-01-17 14:48:56 -04:00
git-annex.hs try building test suite on windows 2013-05-17 16:45:44 -04:00
git-union-merge.hs factor out nukeFile 2012-06-06 13:13:13 -04:00
Git.hs squash compiler warnings on Windows 2013-08-04 13:18:05 -04:00
GitAnnex.hs Really fix FTBFS on mipsel and sparc due to test suite not being available on those architectures. 2014-01-17 14:48:56 -04:00
GitAnnexShell.hs git-annex-shell gcryptsetup command 2013-10-01 17:20:51 -04:00
Init.hs Auto-upgrade v3 indirect repos to v5 with no changes. This also fixes a problem when a direct mode repo was somehow set to v3 rather than v4, and so the automatic direct mode upgrade to v5 was not done. 2013-12-29 13:06:23 -04:00
INSTALL symlinks 2010-10-27 15:14:59 -04:00
Limit.hs improve matcher data type to allow matching Keys, instead of just files (no behavior changes) 2014-01-18 14:51:55 -04:00
Locations.hs add git fsck to cronner, and UI for repository repair (not yet wired up) 2013-10-22 16:02:52 -04:00
Logs.hs add remote state logs 2014-01-03 16:35:57 -04:00
Makefile git pull in distributionupdate 2014-01-03 17:11:19 -04:00
Messages.hs annex.debug can now be set to enable debug logging by default. The webapp's debugging check box does this. 2013-06-17 20:41:27 -04:00
NEWS update NEWS 2012-01-19 15:27:39 -04:00
Option.hs Remove --json option from commands not supporting it. 2014-01-18 11:54:43 -04:00
README add README 2011-05-13 19:20:54 -04:00
Remote.hs sync --content: New option that makes the content of annexed files be transferred. 2014-01-19 17:49:54 -04:00
Seek.hs Allow --all to be mixed with matching options like --copies and --in (but not --include and --exclude). 2014-01-18 14:58:56 -04:00
Setup.hs split out library 2013-04-17 12:02:44 -04:00
Test.hs Fix typo in test suite. 2013-12-24 14:02:02 -04:00
Types.hs moved AssociatedFile definition 2013-07-04 02:36:02 -04:00
Upgrade.hs Auto-upgrade v3 indirect repos to v5 with no changes. This also fixes a problem when a direct mode repo was somehow set to v3 rather than v4, and so the automatic direct mode upgrade to v5 was not done. 2013-12-29 13:06:23 -04:00
Usage.hs content: New command line way to view and configure a repository's preferred content settings. 2013-05-25 12:44:58 -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/>