Recent comments posted to this site:

comment 17 360caa8972c2daa94044cc95188306e9
[[!comment Error: unsupported page format sh]]
Mon Jan 29 18:12:12 2024
comment 23 70dcb7e7ffdd14351adaf4c40ee7fdd0
[[!comment Error: unsupported page format hs]]
Mon Jan 29 18:12:12 2024
comment 3 e6ce9bb92c973350852c9498b7ffb50f
[[!comment Error: unsupported page format sh]]
Mon Jan 29 18:12:12 2024

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.

Comment by joey Thu Jan 18 16:14:11 2024

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.

Comment by TTTTAAAx Mon Jan 15 01:43:28 2024
Sounds like you might want to use datalad, which is built around git annex and where submodules are a first-class citizen.
Comment by nobodyinperson Fri Jan 12 09:23:16 2024

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.

Comment by TTTTAAAx Thu Jan 11 14:15:58 2024

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?

Comment by TTTTAAAx Thu Jan 11 13:58:27 2024

@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.

Comment by joey Mon Dec 18 17:52:30 2023
Fixed that, thanks.
Comment by joey Mon Dec 18 17:40:04 2023