Merge branch 'master' into exportreeplus

This commit is contained in:
Joey Hess 2024-08-02 18:45:44 -04:00
commit 9da2860812
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 13 additions and 9 deletions

View file

@ -1,6 +1,8 @@
git-annex (10.20240732) UNRELEASED; urgency=medium
* Avoid loading cluster log at startup.
* Remove debug output (to stderr) accidentially included in
last version.
* Remotes configured with exporttree=yes annexobjects=yes
can store objects in .git/annex/objects, as well as an exported tree.
* git-remote-annex: Store objects in exportree=yes special remotes

View file

@ -29,8 +29,6 @@ module Types.GitConfig (
mkRemoteConfigKey,
) where
import Debug.Trace
import Common
import qualified Git
import qualified Git.Config
@ -495,12 +493,11 @@ extractRemoteGitConfig r remotename = do
, remoteAnnexClusterGateway = fromMaybe [] $
(mapMaybe (mkClusterUUID . toUUID) . words)
<$> getmaybe ClusterGatewayField
, remoteUrl = traceShow (mkRemoteConfigKey remotename (remoteGitConfigKey UrlField)) $
case Git.Config.getMaybe (mkRemoteConfigKey remotename (remoteGitConfigKey UrlField)) r of
Just (ConfigValue b)
| B.null b -> Nothing
| otherwise -> Just (decodeBS b)
_ -> Nothing
, remoteUrl = case Git.Config.getMaybe (mkRemoteConfigKey remotename (remoteGitConfigKey UrlField)) r of
Just (ConfigValue b)
| B.null b -> Nothing
| otherwise -> Just (decodeBS b)
_ -> Nothing
, remoteAnnexP2PHttpUrl =
case Git.Config.getMaybe (mkRemoteConfigKey remotename (remoteGitConfigKey AnnexUrlField)) r of
Just (ConfigValue b) ->

View file

@ -77,3 +77,7 @@ exporttree=yes special remote R.
So, when calling removeExport, have to also check if the key is present in
the objects location. If so, either don't record the key as missing, or
also remove from the objects location.
---
Implementing in the "exportreeplus" branch --[[Joey]]

View file

@ -30,7 +30,8 @@ Planned schedule of work:
## work notes
* release time
* Working on `exportreeplus` branch which is groundwork for proxying to
exporttree=yes special remotes.
## items deferred until later for p2p protocol over http