diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-10 12:20:33 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-10 12:20:33 -0400 |
commit | 4b9f753049b28c5452c2ae1483612a367293302a (patch) | |
tree | eec824332f756be4c473771b18895ca571a90e8a /doc/design | |
parent | e2dd3ae351cbe7b2b1a027ef257808dde02d899f (diff) | |
parent | 35b05c4cfc9a3c86a7f3b0550d93f52f3ec6e28b (diff) |
Merge branch 'master' into desymlink
Diffstat (limited to 'doc/design')
-rw-r--r-- | doc/design/assistant/blog/day_148__direct_mode.mdwn | 42 | ||||
-rw-r--r-- | doc/design/assistant/desymlink.mdwn | 6 |
2 files changed, 48 insertions, 0 deletions
diff --git a/doc/design/assistant/blog/day_148__direct_mode.mdwn b/doc/design/assistant/blog/day_148__direct_mode.mdwn new file mode 100644 index 000000000..14f1f889f --- /dev/null +++ b/doc/design/assistant/blog/day_148__direct_mode.mdwn @@ -0,0 +1,42 @@ +Got object sending working in direct mode. However, I don't yet have a +reliable way to deal with files being modified while they're being +transferred. I have code that detects it on the sending side, but the +receiver is still free to move the wrong content into its annex, and record +that it has the content. So that's not acceptable, and I'll need to work +on it some more. However, at this point I can use a direct mode repository +as a remote and transfer files from and to it. + +---- + +Automated updating of the cached mtime, etc data. Next I need to automate +generation of the key to filename mapping files. I'm thinking that I'll make +`git annex sync` do it. Then, once I get committing and +merging working in direct mode repositories (which is likely to be a +good week's worth of work), the workflow for using these repositories +will be something like this: + + git config annex.direct true + git annex sync # pulls any changes, merges, updates maps and caches + git annex get + # modify files + git annex sync # commits and pushes changes + +And once I get direct mode repositories working to this degree at the +command line, I can get on with adding support to the assistant. + +---- + +Also did some more work today on the OSX app. Am in the middle of getting +it to modify the binaries in the app to change the paths to the libraries they +depend on. This will avoid the hacky environment variable it is currently +using, and make runshell a much more usable environment. It's the right way +to do it. (I can't believe I just said RPATH was the right way to do +anything.) + +In the middle of this, I discovered +<http://hackage.haskell.org/package/cabal-macosx>, which does the same +type of thing. + +Anyway, I have to do some crazy hacks to work around short library name +fields in executables that I don't want to have to be specially rebuilt in +order to build the webapp. Like git. diff --git a/doc/design/assistant/desymlink.mdwn b/doc/design/assistant/desymlink.mdwn index 13a51890d..d113847e6 100644 --- a/doc/design/assistant/desymlink.mdwn +++ b/doc/design/assistant/desymlink.mdwn @@ -80,3 +80,9 @@ is converted to a real file when it becomes present. the user uses directly. Would need some git-annex commands to merge changes into the repo, update caches, and commit changes. This could all be done by "git annex sync". + +## TODO + +* Deal with files changing as they're being transferred from a direct mode + repository to another git repository. The remote repo currently will + accept the bad data and update the location log to say it has the key. |