With git-annex 7.20190912 released this fine Friday the 13th, I've finally made v7 the default!
See upgrades for details about this major transitition if you have not been keeping up with v7 stuff.
Based on some feedback that it would be good to have a way to avoid
accidental upgrades of a repository in some circumstances, there's a new
config option git config annex.autoupgraderepository false
to prevent
upgrades. Since the new git-annex doesn't support working in v5 repos,
setting that will make every command except git annex upgrade
fail.
Users of rpm based linux distros can now install a git-annex-standalone.rpm package that will work on a broad range of systems. It's based on the standalone tarball, just packaged as a rpm similar to the git-annex-standalone.deb provided by NeuroDebian.
I've been trying to have something resembling direct mode using the recommended "adjusted branch" feature (with annex.thin), and the results aren't really satisfactory:
If I use
annex adjust --unlock --hide-missing
, the non-present files are of course missing entirely. No convenient way toannex get
them on demand.If I use just
annex adjust --unlock
, or even if I permanentlyannex unlock
everything, the non-present files still appear as regular files (containing /annex/objects inside), which makes it much harder to distinguish whether the file is present or absent. (In v5 direct mode, absent files appeared as broken symlinks.) Additionally, the adjust command is very slow, unlocking maybe 2–3 files per second (they're video files, approx. ~300MB each).I don't mind regular (indirect) mode in general, but unfortunately some apps just... don't like symlinks, so I want to have plain unlocked files at least on this particular clone of this particular repo. So it would be great if there was an adjusted branch mode kinda like
--hide-missing
but which kept missing files as broken symlinks just like the regular mode does.But if that's not possible, I think I'll be able to use
bindfs --resolve-symlinks
to achieve a similar result...The adjust command won't be slow if you set annex.thin as it won't need to copy the file content.
There are a couple of ways that it might be possible to get symlinks for not-present unlocked files. I've opened ?symlinks for not-present unlocked files discussing it.
Improving behavior with --hide-missing is also possible better way to get missing files, and I think much more likely to happen.