Page MenuHomePhabricator

Download MITK-Data from git repository instead of tarball
Closed, WontfixPublic

Description

Using a git repository in the externalproject command is more convenient and space efficient.

Event Timeline

kislinsk triaged this task as Wishlist priority.
goch added a subscriber: goch.

This leads to errors during superbuild. It seems the DKFZ proxy does not like the size of our repository. Can be reproduced by:

git clone https://phabricator.mitk.org/diffusion/MD/mitk-data.git
Cloning into 'mitk-data'...
error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error
fatal: The remote end hung up unexpectedly

Will convert back to tarball.

I cannot reproduce this error on windows or linux.
have you tried to increase the postbuffer size in git?
git config --global http.postBuffer 524288000

as described here:
http://stackoverflow.com/questions/24322896/git-push-http-code-502-error

We could also just clean the mitk-data repository by removing the pre-2014 history. This would not be a problem for legacy users since the old tarballs are still there.

@kolbch It fails on my Windows machine at work, too, but it hasn't a few days ago. It's a DKFZ proxy issue. You tried from home I guess, as it works from home for me as well?

edit: Oops, didn't work from home either, early EOF.

@kolbch I don't think cleaning the history would do. We also tried a shallow copy with depth 1 and that did not work either.

kislinsk added a project: Auto-closed.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs