1. Marcin Kuzminski
  2. RhodeCode
  3. Issues


Issue #495 wontfix

Git repositories much bigger when hosted using RhodeCode

created an issue
  1. Clone glib from the official repository.

{{{ git --bare clone git://git.gnome.org/glib glib.git Cloning into 'glib.git'... remote: Counting objects: 109042, done. remote: Compressing objects: 100% (19413/19413), done. remote: Total 109042 (delta 91877), reused 106319 (delta 89452) Receiving objects: 100% (109042/109042), 38.96 MiB | 310 KiB/s, done. Resolving deltas: 100% (91877/91877), done. }}}

  1. Host the above repository behind Rhodecode.

  2. Clone glib from step 2:

{{{ env GIT_SSL_NO_VERIFY=true git clone --bare https://secret.com/glib.git glib2 Cloning into bare repository 'glib2'... Username for 'https://secret.com': Password for 'https://secret.com': remote: counting objects: 105548, done. remote: thank you for using rhodecode Receiving objects: 100% (105548/105548), 564.03 MiB | 3.40 MiB/s, done. }}}

Why is the first repository 38.96MB but the second one 564.03MB? They should be the same.

Comments (6)

  1. Marcin Kuzminski repo owner

    Looks like dulwich is not compressing objects, that's why the size is so high data is sent uncompressed.

    In beta version that problem is fixed since we no longer use dulwich(that have several bigger issues than this one), you can test yourself at demo.rhodecode.org

  2. Gili reporter


    How can I test this against demo.rhodecode.org? I tried "git push http://cowwoc@demo.rhodecode.org/glib master" and got:

    error: RPC failed; result=22, HTTP code = 411
    fatal: The remote end hung up unexpectedly
    fatal: The remote end hung up unexpectedly
    Everything up-to-date

    I'd love to test this locally but I can't use beta builds because of the lack of database migrations. Do you plan on putting out an official release anytime soon?

  3. Log in to comment