•  
     
    story #12322 have git-lfs batch and basic transfer API
Summary
Empty
have git-lfs batch and basic transfer API
Empty

Overview

At this step, it's not meant to be used in production yet. Feature is hidden behind a feature flag.

This is the first story to have basic git lfs support that means

  • Only HTTPS support (ssh will come after)
  • Basic auth for transfers
  • No locks

The implementation is done outside restler, using front router.

Technical overview

POST https://tuleap.example.com/plugins/git/projectname/foo/bar.git/info/lfs/objects/batch

Check API reference. Implement the upload, download and verify actions. Permission for actions regarding to 'ref' are used. API rely on basic auth.

The batch upload "reserve" the object place temporarly (stored in DB) to ensure consistency between batch and PUT.

[PUT|GET] https://tuleap.example.com/plugins/gitlfs

Check API reference. Implement the data transfer (download & upload)

Note: the implementation need to check and ensure

  • What authorizations are needed between batch and transfert API
  • Storage: use flysystem to abstract storage means

The files are purged on project deletion.

There is not global reference counting at this time.

 

Empty
Empty
Status
Done
Development
Empty
Empty
Details
#12322
Manuel Vacelet (vaceletm)
2018-12-05 08:38
2018-09-25 15:09
3635

References

List of items referenced by or referencing this item.

Follow-ups

  • User avatar
    gerrit #13293 integrated into Tuleap 10.7.99.170

    • Status changed from On going to Done
  • User avatar
    gerrit #13290 integrated into Tuleap 10.7.99.166
  • User avatar
    gerrit #13287 integrated into Tuleap 10.7.99.165
  • User avatar
    gerrit #13285 integrated into Tuleap 10.7.99.161
  • User avatar
    gerrit #13281 integrated into Tuleap 10.7.99.159
  • User avatar
    gerrit #13278 integrated into Tuleap 10.7.99.156
  • User avatar
    gerrit #13269 integrated into Tuleap 10.7.99.151
  • User avatar
    gerrit #13272 integrated into Tuleap 10.7.99.149
  • User avatar
    gerrit #13253 integrated into Tuleap 10.7.99.137
  • User avatar
    gerrit #13236 integrated into Tuleap 10.7.99.132
  • User avatar

    gerrit #13211 integrated into Tuealp 10.7.99.115

  • User avatar
    gerrit #13220 integrated into Tuleap 10.7.99.106
  • User avatar
    gerrit #13214 integrated into Tuleap 10.7.99.96
  • User avatar
    gerrit #13213 integrated into Tuleap 10.7.99.95
  • User avatar
    gerrit #13207 integrated into Tuleap 10.7.99.92
  • User avatar
    gerrit #13208 integrated into Tuleap 10.7.99.89
  • User avatar
    gerrit #13201 integrated into Tuleap 10.7.99.86
  • User avatar
    gerrit #13186 integrated into Tuleap 10.7.99.79
  • User avatar
    gerrit #13176 integrated into Tuleap 10.7.99.74
  • User avatar
    gerrit #13170 integrated into Tuleap 10.7.99.62
  • User avatar
    gerrit #13164 integrated into Tuleap 10.7.99.56
  • User avatar
    gerrit #13157 integrated into Tuleap 10.7.99.52
  • User avatar
    Storage of Git LFS objects is going to be done at the instance level to allow for de-duplication of objects between repositories of the whole instance.

    • Acceptance criteria
  • User avatar
    gerrit #13148 integrated into Tuleap 10.7.99.44
  • User avatar
    gerrit #13116 integrated into Tuleap 10.7.99.27

    • Status changed from To be done to On going
  • User avatar
    • Acceptance criteria
  • User avatar
    • Acceptance criteria
  • User avatar
    • Acceptance criteria
  • User avatar