Recent comments posted to this site:
Datalad relies on git-annex's handling of submodules to work afaik so I don't see why using it would avoid this problem.
If I understand correctly, the .git symlink in the submodule that git-annex
sets up gets broken when the submodule is relocated. But I would have
expected that moving from a/b/
to x/y/
would keep the symlink working,
since it's at the same path depth.
I'd need more information to fix this problem, so I recommend filing a bugs report with details.
Sounds like you might want to use datalad, which is built around git annex and where submodules are a first-class citizen.
Thank you for information. I'll try datalad. I considered it for audio and transcription dataset management few years ago. But I didn't use it because datalad using git-annex in it and I already used git-annex for data management. It was seemd to be redundant to me.
I think submodule path detecting can be implemented still and be useful in git-annex-assist
also.
Can I make armv7 version for alpine Linux? Or WASM?
git-annex
can't run on iOS without jailbreak.
The only way is to build it on iSH or A-shell.
git-annex(aarch64) is already provided on alpine repo. But iSH supports only armv7. So I can't install git-annex. I tried to build ghc for armv7. But the Haskell foundation has dropped supporting the armv7 since ghc-9.
A-shell needs WASI binary. I tried ghc-wasm-meta to compile git-annex to WASI binary, But I couldn't handle package version conflicts inside git-annex.
Since git 1.8.5, git mv projects/2023/prj_1 archives/2023/prj_1
can update local path of submodule.
Currently, git-annex
doesn't detect submodule path changed and Just moving parent directories breaks git-modules thoroughly.
The only way I found is to move all submodule to another tree structure one by one using git mv ...
.
If the parent directory name(e.g: projects->01_Projects) or its depth was changed by chance, all submodules inside the directory are broken.
So I cannot use submodules to handle source code in my git-annex repo. Is there an easy (cool) way for this?
@imlew git add
runs git-annex as a filter, so it cannot output progress
displays or other messages on stdout at that point. It would have to output
to stderr, but outputting non-errors to stderr is not great either.