Potential issue with pdf files and git repos

Thomas De Schampheleire patrickdepinguin at gmail.com
Fri Jun 15 19:27:04 UTC 2018


Hi Mat,

2018-06-14 18:32 GMT+02:00 Matey Chopov <matey.chopov at ca.abb.com>:
> Ok, finally got it.
>
>
>
> I built Kallithea from the source repo. I changed waitress for uwsgi and I
> also changed the sqlite db for a postgres one.
>
>
>
> Had to readjust my git client http post buffer:
>
>
>
> git config http.postBuffer 524288000
>
>
>
> After that, got a 11Mb pdf file into the git repo with no problems.
>

I was able to reproduce the issue on the stable branch, using a large
file indeed.

I just created an empty git repo via the web UI, cloned it via a
terminal, added a big file (1.4M in my case), then 'git push'.

The interesting thing is that, on the default branch, the problem is
not present.

In both cases, I'm using the same procedure, and the same type of
database (sqlite) and web server (waitress).
I'm not 100% sure what _is_ the difference that fixes the problem, but
at least it's clear that the problem is solved on the default branch
and does not necessarily require another database or web server.

With this knowledge, I'm going to close the mentioned bugs, assuming
that they too will be fixed on default.

Best regards,
Thomas


More information about the kallithea-general mailing list