git-annex/Types
Joey Hess dd052dcba1
annexInsteadOf config
Added config `url.<base>.annexInsteadOf` corresponding to git's
`url.<base>.pushInsteadOf`, to configure the urls to use for accessing the
git-annex repositories on a server without needing to configure
remote.name.annexUrl in each repository.

While one use case for this would be rewriting urls to use annex+http,
I decided not to add any kind of special case for that. So while
git-annex p2phttp, when serving multiple repositories, needs an url
of eg "annex+http://example.com/git-annex/ for each of them, rewriting an
url like "https://example.com/git/foo/bar" with this config set to
"https://example.com/git/" will result in eg
"annex+http://example.com/git-annex/foo/bar", which p2phttp does not
support.

That seems better dealt with in either git-annex p2phttp or a http
middleware, rather than complicating the config with a special case for
annex+http.

Anyway, there are other use cases for this that don't involve annex+http.
2024-12-03 14:39:07 -04:00
..
ActionItem.hs
AdjustedBranch.hs better name for LinkPresentAdjustment 2024-10-21 15:42:01 -04:00
Availability.hs
Backend.hs implement URL to VURL migration 2024-03-01 16:42:02 -04:00
Benchmark.hs
BranchState.hs clean up git-remote-annex git-annex branch handling 2024-05-15 17:33:38 -04:00
CatFileHandles.hs
CleanupActions.hs
Cluster.hs remove dead nodes when loading the cluster log 2024-06-16 14:39:44 -04:00
Command.hs git-annex-shell: accept uuid of remote that proxying is enabled for 2024-06-10 12:44:35 -04:00
Concurrency.hs
Creds.hs
Crypto.hs support annex.shared-sop-command for encryption=shared 2024-01-12 13:31:18 -04:00
DeferredParse.hs
DesktopNotify.hs
Difference.hs implemented cloneSimRepo 2024-09-06 14:23:29 -04:00
Direction.hs
Distribution.hs
Export.hs proxy stores received keys to known export locations 2024-08-07 09:47:34 -04:00
FileMatcher.hs treat "not present" in preferred content as invalid 2024-09-03 13:50:06 -04:00
GitConfig.hs annexInsteadOf config 2024-12-03 14:39:07 -04:00
GitRemoteAnnex.hs avoid duplicates building up in outManifest 2024-05-24 15:10:56 -04:00
Group.hs git-annex sim command is working 2024-09-12 16:10:52 -04:00
Import.hs
IndexFiles.hs
Key.hs add GITMANIFEST to parseKeyVariety 2024-10-19 17:12:23 -04:00
KeySource.hs
Link.hs
LockCache.hs
Messages.hs
MetaData.hs sim: Add metadata command 2024-09-26 12:20:37 -04:00
Mime.hs
NumCopies.hs git-annex sim command is working 2024-09-12 16:10:52 -04:00
ProposedAccepted.hs
RefSpec.hs
Remote.hs added retrieveKeyFileInOrder and ORDERED to external special remote protocol 2024-10-15 15:40:14 -04:00
RemoteConfig.hs git-remote-annex: Display full url when using remote with the shorthand url 2024-05-24 17:15:31 -04:00
RemoteState.hs
RepoSize.hs sim: Fix size tracking for balanced preferred content 2024-09-23 12:42:32 -04:00
RepoVersion.hs
ScheduledActivity.hs
StallDetection.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
StandardGroups.hs
StoreRetrieve.hs stream through proxy when using fileRetriever 2024-10-15 14:29:06 -04:00
Test.hs
Transfer.hs P2P protocol version 2, adding SUCCESS-PLUS and ALREADY-HAVE-PLUS 2024-06-18 16:21:40 -04:00
Transferrer.hs
TransferrerPool.hs
Transitions.hs
TrustLevel.hs git-annex sim command is working 2024-09-12 16:10:52 -04:00
Upgrade.hs
UrlContents.hs
UUID.hs dummy HasClient ClientM WebSocket 2024-07-07 21:21:45 -04:00
VectorClock.hs
View.hs
WorkerPool.hs