8000 `git-annex`: ensure exported archives include git-annex data · Issue #42 · neuropoly/gitea · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to conte 8000 nt
git-annex: ensure exported archives include git-annex data #42
Open
@kousu

Description

@kousu

The "Releases" page lets you download an archive (from git-archive?). It would be handy if this worked with git-annex datasets too, since then we could share people a link like https://data.neuropoly.org/neuropoly/some-project/archive/1.0.0.zip and they could get a versioned the data without having to install or learn git-annex (with gitea, GET /neuropoly/some-project/archive/1.0.0.zip downloads as some-project-1.0.0.zip, preserving the version number, so long as the receiver uses a standard browser or curl -LJO).

It's good if people do want to learn and use git-annex, but some applications -- imagine, deploying training sets to clusters, simple exploratory work, etc -- don't need the extra headache.

I'll note that we currently can't do this with e.g. https://github.com/spine-generic/data-multi-subject/releases/tag/r20230223; there, the download links give a small <1MB .zip containing mostly annex pointers.

Plan

  1. Look into how GitHub handles git-lfs files when archiving
  2. Look into how Gitea handles git-lfs files when archiving
  3. Patch gitea to replace annex pointers with their content, if available, when exporting

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

      0