Feature Request : Get repo size without cloning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would like to request the following features to git :
1. A command or feature to get the size of the repo without cloning it
to the system
2. An option to know the size of objects that will be downloaded forehand.

Context :
I am a student and I was building a SAAS tool that analyses code.I
need to prevent people from cloning repos more than 1 GB.
I could use the APIs from github and gitlab but there is no common
method amongst them.
Currently I am doing a shallow clone and after cloning check if the
repo size exceeds 1GB, if it exceeds I will delete it. I have to clone
the repos to know the repo size.
Thanks in advance.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux