Skip to content

Test under encfs #216

@yarikoptic

Description

@yarikoptic

I was about to file

following bug report against git annex 10.20241031

Please describe the problem.

encfs I think in general is supported but there are some minor glitches (submitting one about ssh separately) which seems complicate use of git-annex under it.

What steps will reproduce the problem?

Running git annex test causes a few tests to FAIL. After git-annex gets to operate "nominally" under encfs, we better add testing under encfs to datalad/git-annex daily tests .

Sample fail:

Tests
  Repo Tests v10 locked 
    Init Tests 
      init:                                               OK (0.97s)
      add:                                                OK (2.44s)
    addurl:                                               OK (2.65s)
    conflict resolution (mixed locked and unlocked file): OK (9.30s)
    version:                                              OK (0.99s)
    fix:                                                  FAIL (0.11s)
      ./Test/Framework.hs:86:
      git clone failed with unexpected exit code (transcript follows)
      fatal: hardlink different from source at 'tmprepo4/.git/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904'
      
      Use -p '/fix/' to rerun this test only. 

and overall it is seems v10 locked specific tests

❯ ~/proj/CON/utils/bin/show-paths -f full-lines -e FAIL < .duct/logs/2025.01.04T19.33.23-680497_stdout
1350  Tests
1351    Repo Tests v10 locked
1358:     fix:                                                  FAIL (0.11s)
1403  Tests
1404    Repo Tests v10 locked
1411:     partial commit:                           FAIL (0.06s)
1417:     reinject:                                 FAIL (0.06s)
1449  Tests
1450    Repo Tests v10 locked
1457:     edit (no pre-commit):               FAIL (0.02s)
1463:     magic:                              FAIL (0.03s)

What version of git-annex are you using? On what operating system?

❯ git annex version
git-annex version: 10.20241031
build flags: Assistant Webapp Pairing Inotify DBus DesktopNotify TorrentParser MagicMime Servant Benchmark Feeds Testsuite S3 WebDAV
dependency versions: aws-0.24.1 bloomfilter-2.0.1.2 crypton-0.34 DAV-1.3.4 feed-1.3.2.1 ghc-9.6.6 http-client-0.7.17 persistent-sqlite-2.13.3.0 torrent-10000.1.3 uuid-1.3.15 yesod-1.6.2.1
key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 BLAKE2B256E BLAKE2B256 BLAKE2B512E BLAKE2B512 BLAKE2B160E BLAKE2B160 BLAKE2B224E BLAKE2B224 BLAKE2B384E BLAKE2B384 BLAKE2BP512E BLAKE2BP512 BLAKE2S256E BLAKE2S256 BLAKE2S160E BLAKE2S160 BLAKE2S224E BLAKE2S224 BLAKE2SP256E BLAKE2SP256 BLAKE2SP224E BLAKE2SP224 SHA1E SHA1 MD5E MD5 WORM URL GITBUNDLE GITMANIFEST VURL X*
remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav adb tahoe glacier ddar git-lfs httpalso borg rclone hook external
operating system: linux x86_64
supported repository versions: 8 9 10
upgrade supported from repository versions: 0 1 2 3 4 5 6 7 8 9 10

but then tested against 10.20250102+git5-ge8e36a90c1-1~ndall+1 fresh build from here and tests passed ... so must be all good and we should be able to test under encfs .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions