Skip to content

need to "shrink" or annex .dandi/assets.json #244

@yarikoptic

Description

@yarikoptic

as initially reported in #230 (comment), git push fails for 000026 with

(base) dandi@drogon:/mnt/backup/dandi/dandisets/000026$ git push github draft
Enumerating objects: 34616, done.
Counting objects: 100% (34616/34616), done.
Delta compression using up to 4 threads
Compressing objects: 100% (21288/21288), done.
Writing objects: 100% (34613/34613), 7.80 MiB | 1.11 MiB/s, done.
Total 34613 (delta 14508), reused 33351 (delta 13291), pack-reused 0
remote: Resolving deltas: 100% (14508/14508), completed with 1 local object.
remote: warning: File .dandi/assets.json is 66.19 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: error: Trace: 56fd59e743acd49c2770b9086f66648be36813b2bbf7b48913ebc4ab5f9ce6cf
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File .dandi/assets.json is 131.89 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
To github.com:dandisets/000026.git
 ! [remote rejected]       draft -> draft (pre-receive hook declined)
error: failed to push some refs to 'github.com:dandisets/000026.git'

so -- github/microsoft is pushing to use of their LFS. I think we should just make use of annex unlocked (so we do not need to mess with all the lock/unlock etc) file functionality and keep it under git-annex for this and all the rest of dandisets (for the uniformity). Or do you see some other way @jwodder ?

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