git-annex/Command
Joey Hess 7c1a9cdeb9 partially complete gcrypt remote (local send done; rest not)
This is a git-remote-gcrypt encrypted special remote. Only sending files
in to the remote works, and only for local repositories.

Most of the work so far has involved making initremote work. A particular
problem is that remote setup in this case needs to generate its own uuid,
derivied from the gcrypt-id. That required some larger changes in the code
to support.

For ssh remotes, this will probably just reuse Remote.Rsync's code, so
should be easy enough. And for downloading from a web remote, I will need
to factor out the part of Remote.Git that does that.

One particular thing that will need work is supporting hot-swapping a local
gcrypt remote. I think it needs to store the gcrypt-id in the git config of the
local remote, so that it can check it every time, and compare with the
cached annex-uuid for the remote. If there is a mismatch, it can change
both the cached annex-uuid and the gcrypt-id. That should work, and I laid
some groundwork for it by already reading the remote's config when it's
local. (Also needed for other reasons.)

This commit was sponsored by Daniel Callahan.
2013-09-07 18:38:00 -04:00
..
Add.hs Fix a few bugs involving filenames that are at or near the filesystem's maximum filename length limit. 2013-07-30 19:18:29 -04:00
AddUnused.hs --unused: New switch that makes git-annex operate on all data found by the last run of git annex unused. Supported by fsck, get, move, copy. 2013-07-03 15:26:59 -04:00
AddUrl.hs better cases 2013-08-22 23:44:13 -04:00
Assistant.hs check in configure if ionice -c3 works 2013-06-21 13:43:04 -04:00
Commit.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
ConfigList.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Content.hs content: New command line way to view and configure a repository's preferred content settings. 2013-05-25 12:44:58 -04:00
Copy.hs mirror: New command, makes two repositories contain the same set of files. 2013-08-20 15:46:35 -04:00
Dead.hs make dead output consistent with other trust setting commands 2013-06-18 15:41:19 -04:00
Describe.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Direct.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
Drop.hs drop --auto: Fix bug that prevented dropping files from untrusted repositories. 2013-04-01 15:20:42 -04:00
DropKey.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
DropUnused.hs dropunused behavior change: Now refuses to drop the last copy of a file, unless you use the --force. 2013-07-25 19:50:44 -04:00
EnableRemote.hs partially complete gcrypt remote (local send done; rest not) 2013-09-07 18:38:00 -04:00
Find.hs find: Avoid polluting stdout with progress messages. Closes: #718186 2013-07-30 20:24:27 -04:00
Fix.hs fix: Preserve the original mtime of fixed symlinks. 2013-07-11 11:39:42 -04:00
Forget.hs avoid double commit during transition 2013-09-03 16:33:15 -04:00
FromKey.hs fix permission damage (thanks, Windows) 2013-05-11 23:54:25 -04:00
Fsck.hs mirror: New command, makes two repositories contain the same set of files. 2013-08-20 15:46:35 -04:00
FuzzTest.hs reduce the amount of subdirectories created by the fuzz tester to saner limit 2013-05-26 16:15:25 -04:00
Get.hs mirror: New command, makes two repositories contain the same set of files. 2013-08-20 15:46:35 -04:00
Group.hs content: New command line way to view and configure a repository's preferred content settings. 2013-05-25 12:44:58 -04:00
Help.hs change section 2013-04-20 20:24:57 -04:00
Import.hs implement import --deduplicate and import --clean-duplicates 2013-08-20 11:00:52 -04:00
ImportFeed.hs fix error propigating when unable to download feed item 2013-09-03 14:39:07 -04:00
InAnnex.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Indirect.hs importfeed: git-annex becomes a podcatcher in 150 LOC 2013-07-28 16:55:42 -04:00
Init.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
InitRemote.hs partially complete gcrypt remote (local send done; rest not) 2013-09-07 18:38:00 -04:00
Lock.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Log.hs refactor git-annex branch log filename code into central location 2013-08-29 19:13:00 -04:00
Map.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Merge.hs merge: Now also merges synced/master or similar branches, which makes it useful to put in a post-receive hook to make a repository automatically update its working copy when git annex sync or the assistant sync with it. 2013-07-03 15:42:56 -04:00
Migrate.hs migrate: Detect if a file gets corrupted while it's being migrated. 2013-05-13 14:27:39 -04:00
Mirror.hs mirror: New command, makes two repositories contain the same set of files. 2013-08-20 15:46:35 -04:00
Move.hs mirror: New command, makes two repositories contain the same set of files. 2013-08-20 15:46:35 -04:00
PreCommit.hs Speed up the 'unused' command. 2013-08-25 21:02:13 -04:00
RecvKey.hs fix permission damage (thanks, Windows) 2013-05-11 23:54:25 -04:00
Reinject.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
ReKey.hs Supports indirect mode on encfs in paranoia mode, and other filesystems that do not support hard links, but do support symlinks and other POSIX filesystem features. 2013-06-10 13:11:33 -04:00
RmUrl.hs rmurl: New command, removes one of the recorded urls for a file. 2013-04-22 17:18:53 -04:00
Semitrust.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
SendKey.hs minor refactoring 2013-03-30 19:05:51 -04:00
Status.hs status: No longer shows dead repositories. 2013-06-17 12:35:33 -04:00
Sync.hs sync, assistant: Force push of the git-annex branch. 2013-08-29 14:27:53 -04:00
Test.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
TransferInfo.hs webapp: Progess bar fixes for many types of special remotes. 2013-03-28 17:04:37 -04:00
TransferKey.hs mirror: New command, makes two repositories contain the same set of files. 2013-08-20 15:46:35 -04:00
TransferKeys.hs moved AssociatedFile definition 2013-07-04 02:36:02 -04:00
Trust.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Unannex.hs get rid of __WINDOWS__, use mingw32_HOST_OS 2013-08-02 12:27:32 -04:00
Ungroup.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Uninit.hs Support unannex and uninit in direct mode. 2013-07-22 17:28:53 -04:00
Unlock.hs 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
Untrust.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Unused.hs Unused: bugfix 2013-08-26 13:50:09 -04:00
Upgrade.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Version.hs include build flags in version info when not in a repo 2013-05-01 23:11:13 -04:00
Vicfg.hs content: New command line way to view and configure a repository's preferred content settings. 2013-05-25 12:44:58 -04:00
Watch.hs webapp: New --listen= option allows running the webapp on one computer and connecting to it from another. 2013-04-08 15:04:35 -04:00
WebApp.hs Android: Make the "Open webapp" menu item open the just created repository when a new repo is made. 2013-06-10 23:55:53 -04:00
Whereis.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
XMPPGit.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00